From 7b8ba75b5dc41e02d940de12f861dedf009ee705 Mon Sep 17 00:00:00 2001 From: Bioconda Bot <47040946+BiocondaBot@users.noreply.github.com> Date: Mon, 4 Nov 2024 21:15:15 -0500 Subject: [PATCH] Update tinscan to 0.2.1 (#51920) * Update tinscan to 0.2.1 * add run_exports --------- Co-authored-by: mencian --- recipes/tinscan/build.sh | 3 --- recipes/tinscan/meta.yaml | 33 +++++++++++++++++++++------------ 2 files changed, 21 insertions(+), 15 deletions(-) delete mode 100644 recipes/tinscan/build.sh diff --git a/recipes/tinscan/build.sh b/recipes/tinscan/build.sh deleted file mode 100644 index 04547dc83fe20..0000000000000 --- a/recipes/tinscan/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -$PYTHON setup.py install --single-version-externally-managed --record=record.txt \ No newline at end of file diff --git a/recipes/tinscan/meta.yaml b/recipes/tinscan/meta.yaml index 09101a5711553..2cccea9a9820f 100644 --- a/recipes/tinscan/meta.yaml +++ b/recipes/tinscan/meta.yaml @@ -1,31 +1,38 @@ +{% set name = "tinscan" %} +{% set version = "0.2.1" %} + package: - name: tinscan - version: "0.2.0" + name: {{ name }} + version: {{ version }} source: - url: https://pypi.python.org/packages/c9/99/d6e16cb82532feb854e9e4fd403567d6c3fa462ff3a506685cfa4d545ba3/tinscan-0.2.0.tar.gz - md5: 3e420a6dd9ac68563324cc8dad0d2612 + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/tinscan-{{ version }}.tar.gz + sha256: e3ca443aeff3bc0f94050e5d46c0f79db65f20e7f13ab440b5963a8a4ed06c48 build: noarch: python - number: 2 + number: 0 + script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir entry_points: - - tinscan-prep=tinscan.run_prep:main - - tinscan-align=tinscan.run_align:main - - tinscan-find=tinscan.run_scan:main + - tinscan-prep = tinscan.run_prep:main + - tinscan-align = tinscan.run_align:main + - tinscan-find = tinscan.run_scan:main + run_exports: + - {{ pin_subpackage('tinscan', max_pin="x.x") }} requirements: host: - - python >=3 + - python >=3.8 - pip + - hatchling + - hatch-vcs run: - - python >=3 + - python >=3.8 - biopython >=1.70 test: imports: - tinscan - commands: - tinscan-prep --help - tinscan-align --help @@ -33,6 +40,8 @@ test: about: home: https://github.com/Adamtaranto/TE-insertion-scanner - license: MIT License + license: MIT summary: 'Find alignment signatures characteristic of transposon insertion sites.' license_family: MIT + dev_url: https://github.com/Adamtaranto/TE-insertion-scanner + doc_url: https://github.com/Adamtaranto/TE-insertion-scanner/blob/{{ version }}/README.md