wok-current annotate python-pygraphviz/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (4 months ago) |
parents | f4d0ccc2e940 |
children |
rev | line source |
---|---|
pascal@3790 | 1 # SliTaz package receipt. |
pascal@3790 | 2 |
pascal@3790 | 3 PACKAGE="python-pygraphviz" |
Hans-G?nter@23540 | 4 VERSION="1.5" |
pascal@3790 | 5 CATEGORY="development" |
pascal@3790 | 6 SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure." |
pascal@3790 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23540 | 9 WEB_SITE="https://pypi.python.org/pypi/pygraphviz" |
Hans-G?nter@23540 | 10 |
pascal@3790 | 11 SOURCE="pygraphviz" |
Hans-G?nter@23540 | 12 TARBALL="$SOURCE-$VERSION.zip" |
Hans-G?nter@23540 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@15378 | 14 |
pascal@5005 | 15 DEPENDS="graphviz python" |
Hans-G?nter@23540 | 16 BUILD_DEPENDS="graphviz-dev python-dev python-setuptools" |
pascal@3790 | 17 |
pascal@24391 | 18 # What is the latest version available today? |
pascal@24391 | 19 current_version() |
pascal@24391 | 20 { |
pascal@24391 | 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
pascal@3790 | 25 # Rules to configure and make the package. |
pascal@3790 | 26 compile_rules() |
pascal@3790 | 27 { |
Hans-G?nter@23540 | 28 python setup.py build && |
pascal@15378 | 29 python setup.py install --root=$DESTDIR |
pascal@3790 | 30 } |
pascal@3790 | 31 |
pascal@3790 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3790 | 33 genpkg_rules() |
pascal@3790 | 34 { |
pascal@3790 | 35 mkdir -p $fs/usr |
Hans-G?nter@23540 | 36 cp -a $install/usr/lib $fs/usr |
pascal@3790 | 37 } |