pantry/projects/riverbankcomputing.com/sip/package.yml
Jacob Heider 88d7efdec5
fix(sip) (#3663)
* fix(sip)

closes #3662

* wip

* wip
2023-10-14 14:05:40 -04:00

41 lines
941 B
YAML

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:
python.org: ~3.11
llvm.org: <17 # needs gcc to sip-install
build:
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 .