wok annotate python-jcconv/receipt @ rev 25291
updated rtorrent (0.9.7 -> 0.9.8)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 10:09:31 2022 +0100 (2022-07-19) |
parents | cbaca39c624c |
children |
rev | line source |
---|---|
pascal@15905 | 1 # SliTaz package receipt. |
pascal@15905 | 2 |
pascal@15905 | 3 PACKAGE="python-jcconv" |
Hans-G?nter@23499 | 4 VERSION="0.2.3" |
pascal@15905 | 5 CATEGORY="development" |
pascal@15905 | 6 SHORT_DESC="Python Japanese Characters CONVerter." |
pascal@15905 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15906 | 8 LICENSE="MIT" |
Hans-G?nter@23499 | 9 WEB_SITE="https://pypi.python.org/pypi/jcconv" |
Hans-G?nter@23499 | 10 |
pascal@15905 | 11 SOURCE="jcconv" |
pascal@15905 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23499 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15906 | 14 |
pascal@15905 | 15 DEPENDS="python" |
Hans-G?nter@23499 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@15905 | 17 |
pascal@24391 | 18 # What is the latest version available today? |
pascal@24391 | 19 current_version() |
pascal@24391 | 20 { |
pascal@24391 | 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
pascal@15905 | 25 # Rules to configure and make the package. |
pascal@15905 | 26 compile_rules() |
pascal@15905 | 27 { |
pascal@15905 | 28 python setup.py install --root=$DESTDIR |
pascal@15905 | 29 } |
pascal@15905 | 30 |
pascal@15905 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15905 | 32 genpkg_rules() |
pascal@15905 | 33 { |
Hans-G?nter@23499 | 34 cp -a $install/usr $fs |
pascal@15905 | 35 } |