11{% set REPO_NAME = environ.get('REPO_NAME', 'aligncount') %}
2- {% set VERSION = environ.get('VERSION', '0.2.78 ') %}
3- {% set TAR_URL = environ.get('TAR_URL', 'https://github.com/vr1087/cpp-python-tool-template/archive/refs/tags/v0.2.78 .tar.gz') %}
4- {% set SHA256 = environ.get('SHA256', 'c6d93172e84da45fc1b0f172d56b318f17b682d80edb03d6c0d9900938dee97a ') %}
2+ {% set VERSION = environ.get('VERSION', '0.2.81 ') %}
3+ {% set TAR_URL = environ.get('TAR_URL', 'https://github.com/vr1087/cpp-python-tool-template/archive/refs/tags/v0.2.81 .tar.gz') %}
4+ {% set SHA256 = environ.get('SHA256', 'b1e10ade2ae4b183d45a554ae9753b925d601aa56cfad797a6a143e873303105 ') %}
55{% set REPO_HOME = environ.get('REPO_HOME', 'https://github.com/vr1087/cpp-python-tool-template') %}
66
77package :
@@ -25,6 +25,10 @@ build:
2525 cmake --build build --parallel ${CPU_COUNT:-1}
2626 (cd build/test && ctest --output-on-failure)
2727 cmake --install build/standalone
28+ cd cli
29+ python -m pip install . --no-deps --ignore-installed --prefix=$PREFIX
30+ #cd ..
31+ #pytest tests/python
2832
2933requirements :
3034 build :
@@ -36,58 +40,17 @@ requirements:
3640 - libtool
3741 - m4
3842 - make
43+ - python >=3.9,<3.14
44+ - pip
45+ - setuptools
46+ - conda-verify
47+ - pytest
3948 host :
4049 - {{ compiler('c') }}
4150 - {{ compiler('cxx') }}
4251 - cmake
43-
44- outputs :
45- # ---------------------------------------------------------
46- # Output #1: C++ executable package (aligncount)
47- # ---------------------------------------------------------
48- - name : aligncount
49-
50- requirements :
51- host :
52- - {{ compiler('c') }}
53- - {{ compiler('cxx') }}
54- - cmake
55- run :
56- - libcxx # [osx]
57- - libgcc-ng # [linux]
58-
59- # ---------------------------------------------------------
60- # Output #2: Python wrapper (noarch)
61- # ---------------------------------------------------------
62- - name : aligncount_wrapper
63- build :
64- noarch : python
65- script : |
66- cd cli
67- python -m pip install . --no-deps --ignore-installed --prefix=$PREFIX
68- cd ..
69-
70- requirements :
71- build :
72- - python >=3.9,<3.14
73- - pip
74- - setuptools
75- - conda-verify
76- host :
77- - python >=3.9,<3.14
78- - pip
79- - setuptools
80- run :
81- - python >=3.9,<3.14
82- - {{ pin_subpackage("aligncount", exact=False) }}
83-
84- test :
85- requires :
86- - pytest
87- source_files :
88- - tests/python/*.py
89- commands :
90- - pytest -q
52+ run :
53+ - python >=3.9,<3.14
9154
9255about :
9356 home : {{ REPO_HOME }}
0 commit comments