wok annotate py3k-setuptools_scm/receipt @ rev 23088
net6: GnuTLS 3.0 update
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 10:35:54 2020 +0100 (2020-03-11) |
parents | |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@21879 | 1 # SliTaz package receipt. |
pascal@21879 | 2 |
pascal@21879 | 3 PACKAGE="py3k-setuptools_scm" |
pascal@21879 | 4 VERSION="3.3.3" |
pascal@21879 | 5 CATEGORY="development" |
pascal@21879 | 6 SHORT_DESC="The blessed package to manage your versions by scm tags" |
pascal@21879 | 7 MAINTAINER="developer@slitaz.org" |
pascal@21879 | 8 LICENSE="MIT" |
pascal@21879 | 9 WEB_SITE="https://github.com/pypa/setuptools_scm/" |
pascal@21879 | 10 |
pascal@21879 | 11 SOURCE="setuptools_scm" |
pascal@21879 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21879 | 13 WGET_URL="https://files.pythonhosted.org/packages/83/44/53cad68ce686585d12222e6769682c4bdb9686808d2739671f9175e2938b/$TARBALL" |
pascal@21879 | 14 |
pascal@21879 | 15 DEPENDS="py3k" |
pascal@21879 | 16 BUILD_DEPENDS="py3k-dev py3k" |
pascal@21879 | 17 |
pascal@21879 | 18 # Rules to configure and make the package. |
pascal@21879 | 19 compile_rules() |
pascal@21879 | 20 { |
pascal@21879 | 21 python3 setup.py build && |
pascal@21879 | 22 python3 setup.py install --root=$DESTDIR |
pascal@21879 | 23 } |
pascal@21879 | 24 |
pascal@21879 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21879 | 26 genpkg_rules() |
pascal@21879 | 27 { |
pascal@21879 | 28 mkdir -p $fs |
pascal@21879 | 29 cp -a $install/usr $fs |
pascal@21879 | 30 } |