pantry/projects/riverbankcomputing.com/sip/package.yml

41 lines
941 B
YAML
Raw Normal View History

distributable:
url: https://www.riverbankcomputing.com/hg/sip/archive/{{version}}.tar.gz
strip-components: 1
versions:
url: https://www.riverbankcomputing.com/hg/sip/tags
match: /rev\/\d+\.\d+\.\d+/
strip:
- /^rev\//
dependencies:
2023-10-03 18:23:56 +03:00
python.org: ~3.11
2023-10-14 20:16:52 +03:00
llvm.org: <17 # needs gcc to sip-install
build:
2023-10-14 20:16:52 +03:00
dependencies:
gnu.org/make: '*'
script:
- python-venv.sh {{prefix}}/bin/sip-install
- python-venv.sh {{prefix}}/bin/sip-build
- python-venv.sh {{prefix}}/bin/sip-distinfo
- python-venv.sh {{prefix}}/bin/sip-module
- python-venv.sh {{prefix}}/bin/sip-sdist
- python-venv.sh {{prefix}}/bin/sip-wheel
env:
linux:
CC: clang
AS: llvm-as
provides:
- bin/sip-install
- bin/sip-build
- bin/sip-distinfo
- bin/sip-module
- bin/sip-sdist
- bin/sip-wheel
test:
env:
linux:
CC: clang
CXX: clang++
AS: llvm-as
script:
- sip-install --target-dir .