Skip to content

Commit

Permalink
cairographics.org/pycairo
Browse files Browse the repository at this point in the history
  • Loading branch information
and-ri committed Aug 7, 2023
1 parent 73e4cbf commit d902290
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions projects/cairographics.org/pycairo/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
distributable:
url: https://github.com/pygobject/pycairo/releases/download/v{{version}}/pycairo-{{version}}.tar.gz
strip-components: 1
versions:
github: pygobject/pycairo
dependencies:
cairographics.org: '*'
runtime:
env:
PYTHONPATH: "{{prefix}}/lib/python3.11/site-packages:$PYTHONPATH"
build:
dependencies:
freedesktop.org/pkg-config: '*'
python.org: ^3.11
script:
- python3 setup.py install $ARGS
- mv {{prefix}}/lib/python3.11/site-packages/*/* {{prefix}}/lib/python3.11/site-packages/
env:
ARGS:
- --verbose
- --prefix={{prefix}}
test:
dependencies:
python.org: ^3.11
script:
- python3 -c "import cairo; print(cairo.version)" | grep {{version}}

0 comments on commit d902290

Please sign in to comment.