pantry/projects/riverbankcomputing.com/pyqt-builder/package.yml
2023-10-14 14:20:31 -04:00

30 lines
717 B
YAML

distributable:
url: https://www.riverbankcomputing.com/hg/PyQt-builder/archive/{{version}}.tar.gz
strip-components: 1
versions:
url: https://www.riverbankcomputing.com/hg/PyQt-builder/tags
match: /rev\/\d+\.\d+\.\d+/
strip:
- /^rev\//
runtime:
env:
PYTHONPATH: '{{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH'
dependencies:
python.org: ~3.11
riverbankcomputing.com/sip: '*'
build:
dependencies:
llvm.org: <17
gnu.org/make: '*'
script:
- python-venv.sh {{prefix}}/bin/pyqt-bundle
env:
linux:
CC: clang
AS: llvm-as
provides:
- bin/pyqt-bundle
test:
script:
- pyqt-bundle -V
- python3 -c "import pyqtbuild"