From 660d803c9e7b5d803f0a3525875c563e31bdf03b Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 20 Jan 2025 17:28:42 +0000 Subject: [PATCH] Updated to not regenerate build recipe each time during CI --- Jenkinsfile | 1 - automlst.engine/meta.yaml | 43 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 automlst.engine/meta.yaml diff --git a/Jenkinsfile b/Jenkinsfile index 6348ba1..8b32ac6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,6 @@ pipeline { } steps { sh "python -m build" - sh "grayskull pypi dist/*.tar.gz" sh "conda-build automlst.engine --output-folder conda-bld" } } diff --git a/automlst.engine/meta.yaml b/automlst.engine/meta.yaml new file mode 100644 index 0000000..3af186c --- /dev/null +++ b/automlst.engine/meta.yaml @@ -0,0 +1,43 @@ +{% set name = "automlst.engine" %} +{% set version = "0.5.2.dev2+gde36956" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: file:///workspaces/automlst.engine/dist/automlst_engine-0.5.2.dev2%2Bgde36956.tar.gz + sha256: 2dee4910744f063b7ec5c923bbf369c23151c82cc59b8b99da19e162414ba61d + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.11 + - setuptools >=64 + - setuptools-scm >=8 + - pip + run: + - python >=3.11 + - biopython + - aiohttp + +test: + imports: + - automlst + commands: + - pip check + requires: + - pip + +about: + summary: A library to rapidly fetch fetch MLST profiles given sequences for various diseases. + license: GPL-3.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - RealYHD