From 6413d1922590f4b9b27a93904ae2282d9cff5688 Mon Sep 17 00:00:00 2001 From: Lance Parsons Date: Wed, 5 Dec 2018 10:07:25 -0500 Subject: [PATCH 1/3] Pin compatible numpy for older HTSEQ versions This is required to keep older versions of HTSEQ functional --- recipes/htseq/0.6.1.post1/meta.yaml | 4 +-- recipes/htseq/0.7.2/meta.yaml | 4 +-- recipes/htseq/0.9.1/build.sh | 3 ++ recipes/htseq/0.9.1/meta.yaml | 44 +++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 recipes/htseq/0.9.1/build.sh create mode 100644 recipes/htseq/0.9.1/meta.yaml diff --git a/recipes/htseq/0.6.1.post1/meta.yaml b/recipes/htseq/0.6.1.post1/meta.yaml index b659d51bf51d7..6e9d1987c9b7e 100644 --- a/recipes/htseq/0.6.1.post1/meta.yaml +++ b/recipes/htseq/0.6.1.post1/meta.yaml @@ -8,7 +8,7 @@ source: build: preserve_egg_dir: True - number: 2 + number: 3 skip: True # [not py27] requirements: @@ -19,7 +19,7 @@ requirements: run: - python - - numpy + - {{ pin_compatible('numpy') }} - matplotlib - pysam diff --git a/recipes/htseq/0.7.2/meta.yaml b/recipes/htseq/0.7.2/meta.yaml index c55069d6520e5..da04216a55e03 100644 --- a/recipes/htseq/0.7.2/meta.yaml +++ b/recipes/htseq/0.7.2/meta.yaml @@ -7,7 +7,7 @@ source: sha256: b9da6d6a9004e8e05a40ecf08f74f765ec0e0be0e835e82205a117aba2ce375b build: - number: 1 + number: 2 requirements: host: @@ -19,7 +19,7 @@ requirements: run: - python - - numpy + - {{ pin_compatible('numpy') }} - matplotlib - pysam >=0.9.0 diff --git a/recipes/htseq/0.9.1/build.sh b/recipes/htseq/0.9.1/build.sh new file mode 100644 index 0000000000000..bf07930878d76 --- /dev/null +++ b/recipes/htseq/0.9.1/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +$PYTHON setup.py build install diff --git a/recipes/htseq/0.9.1/meta.yaml b/recipes/htseq/0.9.1/meta.yaml new file mode 100644 index 0000000000000..01e228880d045 --- /dev/null +++ b/recipes/htseq/0.9.1/meta.yaml @@ -0,0 +1,44 @@ +package: + name: htseq + version: "0.9.1" + +source: + fn: HTSeq-0.9.1.tar.gz + url: https://pypi.python.org/packages/fd/94/b7c8c1dcb7a3c3dcbde66b8d29583df4fa0059d88cc3592f62d15ef539a2/HTSeq-0.9.1.tar.gz + md5: fc71e021bf284a68f5ac7533a57641ac + +build: + number: 1 + +requirements: + build: + - python + - setuptools + - cython + - numpy + - pysam >=0.9.0 + - swig >=3.0.8 + + run: + - python + - {{ pin_compatible('numpy') }} + - matplotlib >=1.4 + - pysam >=0.9.0 + +test: + # Python imports + imports: + - HTSeq._HTSeq_internal + - HTSeq.StepVector + - HTSeq._version + - HTSeq.scripts.count + - HTSeq.scripts.qa + + commands: + - htseq-count -h + - htseq-qa -h + +about: + home: https://github.com/simon-anders/htseq + license: GPL-3.0 + summary: 'HTSeq is a Python library to facilitate processing and analysis of data from high-throughput sequencing (HTS) experiments.' From dcd9812faf5dba5ede5a8bd9ad0a2acbddcbf3b5 Mon Sep 17 00:00:00 2001 From: Lance Parsons Date: Wed, 5 Dec 2018 11:24:21 -0500 Subject: [PATCH 2/3] HTSeq - update old versions to build properly with new build system --- recipes/htseq/0.6.1.post1/meta.yaml | 3 +++ recipes/htseq/0.6.1/meta.yaml | 2 ++ recipes/htseq/0.7.2/meta.yaml | 3 +++ recipes/htseq/0.9.1/meta.yaml | 6 ++++-- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/recipes/htseq/0.6.1.post1/meta.yaml b/recipes/htseq/0.6.1.post1/meta.yaml index 6e9d1987c9b7e..2e8b94eb9be63 100644 --- a/recipes/htseq/0.6.1.post1/meta.yaml +++ b/recipes/htseq/0.6.1.post1/meta.yaml @@ -12,6 +12,9 @@ build: skip: True # [not py27] requirements: + build: + - {{ compiler('c') }} + host: - python - setuptools diff --git a/recipes/htseq/0.6.1/meta.yaml b/recipes/htseq/0.6.1/meta.yaml index 92214d99ba9af..68332143aa1fb 100644 --- a/recipes/htseq/0.6.1/meta.yaml +++ b/recipes/htseq/0.6.1/meta.yaml @@ -12,6 +12,8 @@ package: version: 0.6.1 requirements: + build: + - {{ compiler('c') }} host: - python - cython diff --git a/recipes/htseq/0.7.2/meta.yaml b/recipes/htseq/0.7.2/meta.yaml index da04216a55e03..5bf70b398fc3e 100644 --- a/recipes/htseq/0.7.2/meta.yaml +++ b/recipes/htseq/0.7.2/meta.yaml @@ -10,6 +10,9 @@ build: number: 2 requirements: + build: + - {{ compiler('c') }} + host: - python - setuptools diff --git a/recipes/htseq/0.9.1/meta.yaml b/recipes/htseq/0.9.1/meta.yaml index 01e228880d045..401d1590b63be 100644 --- a/recipes/htseq/0.9.1/meta.yaml +++ b/recipes/htseq/0.9.1/meta.yaml @@ -3,15 +3,17 @@ package: version: "0.9.1" source: - fn: HTSeq-0.9.1.tar.gz url: https://pypi.python.org/packages/fd/94/b7c8c1dcb7a3c3dcbde66b8d29583df4fa0059d88cc3592f62d15ef539a2/HTSeq-0.9.1.tar.gz md5: fc71e021bf284a68f5ac7533a57641ac build: - number: 1 + number: 2 requirements: build: + - {{ compiler('c') }} + + host: - python - setuptools - cython From 7f9699e58eebbe1ad02466157802777a82097b37 Mon Sep 17 00:00:00 2001 From: Lance Parsons Date: Wed, 5 Dec 2018 12:40:04 -0500 Subject: [PATCH 3/3] HTSeq 0.6.1 - Increment build number --- recipes/htseq/0.6.1/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/htseq/0.6.1/meta.yaml b/recipes/htseq/0.6.1/meta.yaml index 68332143aa1fb..d23079d56530e 100644 --- a/recipes/htseq/0.6.1/meta.yaml +++ b/recipes/htseq/0.6.1/meta.yaml @@ -4,7 +4,7 @@ about: summary: 'A framework to process and analyze data from high-throughput sequencing (HTS) assays' build: - number: 1 + number: 2 skip: True # [py3k or osx] package: