wok-6.x annotate python-incremental/receipt @ rev 22749
Up libcomerr (1.44.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 24 12:15:02 2020 +0100 (2020-01-24) |
parents | 95b99a667872 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@22099 | 1 # SliTaz package receipt. |
pascal@22099 | 2 |
pascal@22099 | 3 PACKAGE="python-incremental" |
pascal@22099 | 4 SOURCE="incremental" |
pascal@22099 | 5 VERSION="17.5.0" |
pascal@22099 | 6 CATEGORY="development" |
pascal@22099 | 7 SHORT_DESC="A library for versioning your Python projects" |
pascal@22099 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22099 | 9 LICENSE="BSD" |
pascal@22099 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@22099 | 11 WEB_SITE="https://github.com/twisted/incremental" |
pascal@22099 | 12 WGET_URL="$WEB_SITE/archive/$TARBALL" |
pascal@22099 | 13 |
pascal@22099 | 14 DEPENDS="python" |
pascal@22102 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@22099 | 16 |
pascal@22099 | 17 # Rules to configure and make the package. |
pascal@22099 | 18 compile_rules() |
pascal@22099 | 19 { |
pascal@22099 | 20 python setup.py build && |
pascal@22099 | 21 python setup.py install --root=$DESTDIR |
pascal@22099 | 22 } |
pascal@22099 | 23 |
pascal@22099 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22099 | 25 genpkg_rules() |
pascal@22099 | 26 { |
pascal@22099 | 27 mkdir -p $fs |
pascal@22099 | 28 cp -a $install/usr $fs |
pascal@22099 | 29 } |