wok-current rev 23570
added recipe for python-twodict
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 09:38:04 2020 +0100 (2020-04-07) |
parents | 87f1b9716eb6 |
children | a0fac07e41cd |
files | python-twodict/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-twodict/receipt Tue Apr 07 09:38:04 2020 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-twodict" 1.7 +VERSION="1.2" 1.8 +CATEGORY="development" 1.9 +TAGS="python" 1.10 +SHORT_DESC="Simple two way ordered dictionary for Python." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="Public Domain" 1.13 +WEB_SITE="https://pypi.org/project/twodict" 1.14 + 1.15 +SOURCE="twodict" 1.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 +WGET_URL="https://files.pythonhosted.org/packages/source/t/$SOURCE/$TARBALL" 1.18 + 1.19 +DEPENDS="python" 1.20 +BUILD_DEPENDS="python" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + python setup.py install --root=$DESTDIR 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + cp -a $install/usr $fs 1.32 +}