From a2e4f2e50f73d1abd4b486b23f018f057e54fe9e Mon Sep 17 00:00:00 2001 From: shiro-kur Date: Wed, 13 Nov 2024 19:04:05 +0900 Subject: [PATCH 1/5] Update pdivas to version 1.2.0 --- recipes/pdivas/meta.yaml | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/recipes/pdivas/meta.yaml b/recipes/pdivas/meta.yaml index b8363e5bee52d..7572ae2dea7fc 100644 --- a/recipes/pdivas/meta.yaml +++ b/recipes/pdivas/meta.yaml @@ -1,45 +1,47 @@ {% set name = "pdivas" %} -{% set version = "1.1.0" %} +{% set version = "1.2.0" %} package: - name: "{{ name|lower }}" - version: "{{ version }}" + name: {{ name|lower }} + version: {{ version }} source: - url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" - sha256: ca33dc31ecfa9c505105a25146ea8efcdddb1a13cc1ac990c29561cc911d74b9 + url: https://files.pythonhosted.org/packages/fc/7e/281e2053ea00eae24162211af598c247d3c5e4fb2c0d043e24c2e19897e6/pdivas-1.2.0.tar.gz + sha256: 4a2234564557622c5bd2213478956c4a4858ba6768251d24ee43a4fc7550f721 build: - number: 0 - noarch: python entry_points: - pdivas=pdivas.__main__:main - script: "{{ PYTHON }} -m pip install . -vv" + noarch: python + script: {{ PYTHON }} -m pip install . -vv + number: 0 requirements: host: - - pip - python + - pip run: - - cyvcf2 - - numpy - - pandas - python - - scikit-learn + - pandas >=1.3 + - numpy >=1.21 + - cyvcf2 >=0.11 + - scikit-learn =1.0.2 test: imports: - pdivas commands: + - pip check - pdivas --help + requires: + - pip about: - home: "https://github.com/shiro-kur/PDIVAS" - license: MIT - license_family: OTHER + home: http://github.com/account/repository + summary: 'PDIVAS: Pathogenicity predictor of Deep-Intronic Variants causing Aberrant Splicing' + license: 'MIT' license_file: - summary: "PDIVAS: Pathogenicity predictor of Deep-Intronic Variants causing Aberrant Splicing" extra: recipe-maintainers: - - shiro-kur + - AddYourGitHubIdHere From 96a085d5c41a17d24144baf40f288bc97747ff0a Mon Sep 17 00:00:00 2001 From: shiro-kur Date: Wed, 13 Nov 2024 19:24:58 +0900 Subject: [PATCH 2/5] Fix lint error by adding run_exports to meta.yaml --- recipes/pdivas/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/pdivas/meta.yaml b/recipes/pdivas/meta.yaml index 7572ae2dea7fc..5b63b172d7c0b 100644 --- a/recipes/pdivas/meta.yaml +++ b/recipes/pdivas/meta.yaml @@ -15,6 +15,8 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 + run_exports: + - {{ pin_subpackage('pdivas', exact=True) }} requirements: host: From c9340e6476844f645c4ca55e240b412d0d490203 Mon Sep 17 00:00:00 2001 From: shiro-kur Date: Wed, 13 Nov 2024 19:28:28 +0900 Subject: [PATCH 3/5] Add run_exports to meta.yaml to fix lint error --- recipes/pdivas/LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/pdivas/LICENSE diff --git a/recipes/pdivas/LICENSE b/recipes/pdivas/LICENSE new file mode 100644 index 0000000000000..ed93ecd98b579 --- /dev/null +++ b/recipes/pdivas/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Ryo Kurosawa + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file From 4ea5677d512217bea373f25df2d505a4e8071ecb Mon Sep 17 00:00:00 2001 From: shiro-kur Date: Mon, 18 Nov 2024 12:28:56 +0900 Subject: [PATCH 4/5] Update meta.yaml with new changes --- recipes/pdivas/meta.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/recipes/pdivas/meta.yaml b/recipes/pdivas/meta.yaml index 5b63b172d7c0b..d3e7cfe078ed0 100644 --- a/recipes/pdivas/meta.yaml +++ b/recipes/pdivas/meta.yaml @@ -6,7 +6,7 @@ package: version: {{ version }} source: - url: https://files.pythonhosted.org/packages/fc/7e/281e2053ea00eae24162211af598c247d3c5e4fb2c0d043e24c2e19897e6/pdivas-1.2.0.tar.gz + url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" sha256: 4a2234564557622c5bd2213478956c4a4858ba6768251d24ee43a4fc7550f721 build: @@ -15,8 +15,6 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 - run_exports: - - {{ pin_subpackage('pdivas', exact=True) }} requirements: host: @@ -39,11 +37,11 @@ test: - pip about: - home: http://github.com/account/repository + home: https://github.com/shiro-kur/PDIVAS summary: 'PDIVAS: Pathogenicity predictor of Deep-Intronic Variants causing Aberrant Splicing' license: 'MIT' - license_file: + license_file: LICENSE extra: recipe-maintainers: - - AddYourGitHubIdHere + - shiro-kur From 98188efa045a2f9d89cc88e682d31e9868a9fad9 Mon Sep 17 00:00:00 2001 From: shiro-kur Date: Mon, 18 Nov 2024 14:04:57 +0900 Subject: [PATCH 5/5] Update meta.yaml with new changes --- recipes/pdivas/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/pdivas/meta.yaml b/recipes/pdivas/meta.yaml index d3e7cfe078ed0..f0c89ccab0d06 100644 --- a/recipes/pdivas/meta.yaml +++ b/recipes/pdivas/meta.yaml @@ -15,6 +15,8 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 + run_exports: + - {{ pin_subpackage('pdivas', exact=True) }} requirements: host: