Skip to content

Commit d2c5833

Browse files
jfy133rpetit3mencian
authored
Update sam2lca with missing dependency (#62686)
* Integrate merged but unreleased fix via patch as per bonsai-team/Porechop_ABI#17 * Correct file name * Try differentlly generated patch file * try regenerating patch * Add missing dependency when running with more recent versions of python * Try limiting version of pythion basedon: morrislab/jple#2 * Place setuptools in the right place * Restrict Python version to <3.12 in meta.yaml * Copy setuptools pinning fix following https://github.com/bioconda/bioconda-recipes/pull/62725/changes * Apply suggestions from code review * Update Python and setuptools version requirements * Update meta.yaml --------- Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com> Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com>
1 parent f67a2d1 commit d2c5833

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

recipes/sam2lca/meta.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,49 @@
22
{% set version = "1.1.4" %}
33

44
package:
5-
name: {{ name|lower }}
5+
name: {{ name }}
66
version: {{ version }}
77

88
source:
9-
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/sam2lca-{{ version }}.tar.gz
9+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/sam2lca-{{ version }}.tar.gz
1010
sha256: c1d26f67458c2ad3ff8541b4ecf672c97c81fd65c91092beefab10cdea6f945b
1111

1212
build:
1313
entry_points:
1414
- sam2lca = sam2lca.cli:cli
1515
noarch: python
16-
script: {{ PYTHON }} -m pip install . -vv
17-
number: 0
16+
script: {{ PYTHON }} -m pip install . --no-build-isolation --no-cache-dir --no-deps -vvv
17+
number: 1
1818
run_exports:
19-
- {{ pin_subpackage(name, max_pin="x.x") }}
19+
- {{ pin_subpackage(name, max_pin="x") }}
2020

2121
requirements:
2222
host:
2323
- pip
24-
- python >=3.7
24+
- python >=3.6
25+
- setuptools <81 # uses pkg_resources
2526
run:
27+
- python >=3.6
2628
- click
2729
- numpy
2830
- pandas
2931
- pysam
30-
- python >=3.7
3132
- python-rocksdb
3233
- scipy
3334
- taxopy >=0.10.2
3435
- tqdm
3536
- xopen
37+
- setuptools <81 # uses pkg_resources
3638

3739
test:
3840
imports:
3941
- sam2lca
4042
commands:
41-
- pip check
4243
- sam2lca --help
43-
requires:
44-
- pip
4544

4645
about:
4746
home: https://github.com/maxibor/sam2lca
48-
summary: Lowest Common Ancestor on SAM/BAM/CRAM alignment files
47+
summary: "Lowest Common Ancestor on SAM/BAM/CRAM alignment files."
4948
license: GPL-3.0
5049
license_file: LICENSE
5150

0 commit comments

Comments
 (0)