diff --git a/recipes/dram/fix_setup.patch b/recipes/dram/fix_setup.patch new file mode 100644 index 0000000000000..f8fb0fcc6f255 --- /dev/null +++ b/recipes/dram/fix_setup.patch @@ -0,0 +1,14 @@ +--- scripts/DRAM-setup.py.old 2024-03-24 22:09:07.980198244 -0500 ++++ scripts/DRAM-setup.py 2024-03-24 22:10:39.107097364 -0500 +@@ -121,10 +121,10 @@ + help='vog annotations file') # add loc to vog_annotations to match the rest + + set_db_locs_parser.add_argument('--viral_loc', default=None, ++ help='mmseqs2 database file from ref seq viral gene collection') + set_db_locs_parser.add_argument('--camper_tar_gz_loc', default=None, + help='The source for the CAMPER database files, this is a tar.gz file downloaded' + ' from the release page https://github.com/WrightonLabCSU/CAMPER/releases') +- help='mmseqs2 database file from ref seq viral gene collection') + set_db_locs_parser.add_argument('--peptidase_loc', default=None, + help='mmseqs2 database file from MEROPS database') + set_db_locs_parser.add_argument('--description_db_loc', default=None, diff --git a/recipes/dram/meta.yaml b/recipes/dram/meta.yaml index 6c93600ad8052..71f440a076c1b 100644 --- a/recipes/dram/meta.yaml +++ b/recipes/dram/meta.yaml @@ -1,7 +1,7 @@ {% set name = "DRAM" %} {% set pypi_name = "DRAM-bio" %} -{% set version = "1.4.6" %} -{% set sha256 = "f014c55d7e75433bfc029dc20092df6eb9fb5a565dc60d6e7934d0261f36f945" %} +{% set version = "1.5.0" %} +{% set sha256 = "2d4a503fa806e33b580afb6d21879b2399178e48ba3b05ada882449fee571889" %} package: name: {{ name|lower }} @@ -10,15 +10,20 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ pypi_name }}/{{ pypi_name }}-{{ version }}.tar.gz sha256: {{ sha256 }} + patches: + # https://github.com/WrightonLabCSU/DRAM/issues/339 + - fix_setup.patch build: - number: 2 + number: 0 noarch: python script: "{{ PYTHON }} -m pip install . -vv" + run_exports: + - {{ pin_subpackage(name|lower, max_pin="x") }} requirements: host: - - python >=3.6 + - python >=3.8 - pip run: - python >=3.8