From b2b9a0ec12e13f14d8b3f874780b82b13e9154b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sj=C3=B6din?= Date: Sun, 3 Nov 2024 11:00:16 +0100 Subject: [PATCH 1/4] Building pblat for more platforms --- recipes/pblat/meta.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/pblat/meta.yaml b/recipes/pblat/meta.yaml index a772a31f7df35..321df540e51dd 100644 --- a/recipes/pblat/meta.yaml +++ b/recipes/pblat/meta.yaml @@ -9,7 +9,7 @@ source: sha256: e85a4d752b8e159502d529f0f9e47579851a6b466b6c2f1f4d49f598642bc615 build: - number: 2 + number: 3 requirements: build: @@ -34,6 +34,9 @@ about: dev_url: https://github.com/icebert/pblat extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 notes: "pblat is modified from blat, the licence is the same as blat. The source code and executables are freely available for academic, nonprofit and personal use. Commercial licensing information is available on the Kent Informatics website. To cite: Wang M & Kong L. pblat: a multithread blat algorithm speeding up aligning sequences to genomes. BMC Bioinformatics 2019, 20(1)." identifiers: - biotools:pblat From 980a1d6151d638b12b19ffa793d0816b05cd89af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sj=C3=B6din?= Date: Sun, 3 Nov 2024 11:16:56 +0100 Subject: [PATCH 2/4] Add run_exports --- recipes/pblat/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/pblat/meta.yaml b/recipes/pblat/meta.yaml index 321df540e51dd..de6bd87fabbe1 100644 --- a/recipes/pblat/meta.yaml +++ b/recipes/pblat/meta.yaml @@ -10,6 +10,8 @@ source: build: number: 3 + run_exports: + - {{ pin_subpackage("malt", max_pin="x.x") }} requirements: build: From 50ccb3e70058b0aca79f3a2e4b960aaec91abcd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sj=C3=B6din?= Date: Sun, 3 Nov 2024 11:58:20 +0100 Subject: [PATCH 3/4] Fix typo in run_export --- recipes/pblat/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/pblat/meta.yaml b/recipes/pblat/meta.yaml index de6bd87fabbe1..5087b46cc06c3 100644 --- a/recipes/pblat/meta.yaml +++ b/recipes/pblat/meta.yaml @@ -11,7 +11,7 @@ source: build: number: 3 run_exports: - - {{ pin_subpackage("malt", max_pin="x.x") }} + - {{ pin_subpackage("pblat", max_pin="x.x") }} requirements: build: From e9dca5d42114214618b1963013e7c6b5f3367d55 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Tue, 19 Nov 2024 16:34:18 +0200 Subject: [PATCH 4/4] pblat: Add a patch to support linux-aarch64 Signed-off-by: Martin Tzvetanov Grigorov --- recipes/pblat/meta.yaml | 2 ++ recipes/pblat/pblat-aarch64.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 recipes/pblat/pblat-aarch64.patch diff --git a/recipes/pblat/meta.yaml b/recipes/pblat/meta.yaml index 5087b46cc06c3..6a444d26da303 100644 --- a/recipes/pblat/meta.yaml +++ b/recipes/pblat/meta.yaml @@ -7,6 +7,8 @@ package: source: url: https://github.com/icebert/pblat/archive/{{ version }}.tar.gz sha256: e85a4d752b8e159502d529f0f9e47579851a6b466b6c2f1f4d49f598642bc615 + patches: + - pblat-aarch64.patch # [aarch64] build: number: 3 diff --git a/recipes/pblat/pblat-aarch64.patch b/recipes/pblat/pblat-aarch64.patch new file mode 100644 index 0000000000000..63777f6c58e72 --- /dev/null +++ b/recipes/pblat/pblat-aarch64.patch @@ -0,0 +1,13 @@ +diff --git i/lib/htmshell.c w/lib/htmshell.c +index 46d1f19..5ea164e 100644 +--- i/lib/htmshell.c ++++ w/lib/htmshell.c +@@ -711,7 +711,7 @@ void htmlVaBadRequestAbort(char *format, va_list args) + puts("Status: 400\r"); + puts("Content-Type: text/plain; charset=UTF-8\r"); + puts("\r"); +-if (format != NULL && args != NULL) ++if (format != NULL) + { + vfprintf(stdout, format, args); + fprintf(stdout, "\n");