wok-next diff python-twodict/receipt @ rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents
children c9a7a7b42a86
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-twodict/receipt	Wed Sep 05 00:08:37 2018 +0300
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="python-twodict"
     1.7 +VERSION="latest"
     1.8 +CATEGORY="python"
     1.9 +SHORT_DESC="Simple two way ordered dictionary for Python"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="PublicDomain"
    1.12 +WEB_SITE="https://pypi.org/project/twodict/"
    1.13 +HOST_ARCH="any"
    1.14 +REPOLOGY="python:twodict"
    1.15 +
    1.16 +BUILD_DEPENDS="python"
    1.17 +
    1.18 +compile_rules() {
    1.19 +	pip install --no-compile --root=$DESTDIR twodict
    1.20 +}
    1.21 +
    1.22 +genpkg_rules() {
    1.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*twodict-||p' $LOGS/$PACKAGE.log)
    1.24 +	copy @std
    1.25 +	DEPENDS="python"
    1.26 +}