Skip to content

Commit

Permalink
bump to 2.1 and add missing requirement (bioconda#51648)
Browse files Browse the repository at this point in the history
* bump to 2.1 and add missing requirement

* loosen dependencies

* 2.1.0 release has no 'v' preceding version in source URL

* edit tests

* try without patch

* clean up meta.yaml

* Remove quotes for entry point

* edit tests

---------

Co-authored-by: Joshua Zhuang <[email protected]>
Co-authored-by: mencian <[email protected]>
  • Loading branch information
3 people authored Oct 25, 2024
1 parent ab02492 commit 7952dbb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 252 deletions.
52 changes: 29 additions & 23 deletions recipes/phabox/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,61 @@
{% set name = "PhaBOX" %}
{% set version = "2.0.0" %}
{% set version = "2.1.0" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://github.com/KennthShang/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
sha256: 3e120da4b6c37d1ae9f7291382365012a4efa0c4e704068c1ecd897e5fd8178a
patches:
- setup.patch
url: https://github.com/KennthShang/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
sha256: 0ffe4da03ccc2aac77c17866033ce513f72a5ecdf9df108abbcdbfced438b04c

build:
number: 0
noarch: python
script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vvv"
script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir -vvv"
entry_points:
- phabox2 = phabox2.phabox2:main
run_exports:
- {{ pin_subpackage('phabox', max_pin="x.x") }}

requirements:
host:
- pip
- python
- python >=3.8
- setuptools
run:
- python
- python >=3.8
- biopython >=1.84
- datasets >=3
- kcounter >=0.1.1
- fasttree >=2.1.11
- mafft >=7.525
- networkx >=3.4
- numpy >=2
- numpy >=1.26
- pandas >=2
- pprodigal >=1
- scipy >=1.14
- prodigal-gv >=2.11.0
- pyarrow >=16
- pytorch >=2.4
- transformers >=4.40
- datasets >=3
- pyarrow >=17
- scipy >=1.14
- seaborn-base >=0.13.2
- transformers >=4

test:
commands:
- phabox --help
- Cherry_single --help
- PhaGCN_single --help
- PhaMer_single --help
- PhaTYP_single --help
- phabox2 --help

about:
home: https://github.com/KennthShang/PhaBOX
license: AFL
license_file: LICENSE.md
summary: Phage BOX is a Python library for phage-related tasks
home: "https://phage.ee.cityu.edu.hk"
license: "AFL-3.0"
license_family: OTHER
license_file: "LICENSE.md"
summary: "Phage BOX is a Python library for phage-related tasks."
dev_url: "https://github.com/KennthShang/PhaBOX"
doc_url: "https://github.com/KennthShang/PhaBOX/wiki"

extra:
recipe-maintainers:
- bernt-matthias
identifiers:
- doi:10.1093/bioadv/vbad101
- biotools:phabox
229 changes: 0 additions & 229 deletions recipes/phabox/setup.patch

This file was deleted.

0 comments on commit 7952dbb

Please sign in to comment.