wok-current view py3k-setuptools_scm/receipt @ rev 25225
updated python-pyflakes (2.1.1 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:33:48 2022 +0100 (2022-07-13) |
parents | 7d333aaabc41 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-setuptools_scm"
4 VERSION="3.3.3"
5 CATEGORY="development"
6 SHORT_DESC="The blessed package to manage your versions by scm tags"
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/pypa/setuptools_scm/"
11 SOURCE="setuptools_scm"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/83/44/53cad68ce686585d12222e6769682c4bdb9686808d2739671f9175e2938b/$TARBALL"
15 DEPENDS="py3k"
16 BUILD_DEPENDS="py3k-dev py3k"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python3 setup.py build &&
29 python3 setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/usr $fs
37 }