# HG changeset patch # User Aleksej Bobylev # Date 1527602501 -10800 # Node ID 542df2bfb7b574910ea9bf2b576e069377ea0018 # Parent a3200eb95e1d1f17f2b2267dc1ce828389a2d26e Some python-* packaged using pip: actualize $VERSION in genpkg_rules() diff -r a3200eb95e1d -r 542df2bfb7b5 python-alabaster/receipt --- a/python-alabaster/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-alabaster/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-alabaster" -VERSION="0.7.10" +VERSION="latest" CATEGORY="python" SHORT_DESC="A configurable sidebar-enabled Sphinx theme" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*alabaster-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-asterisk/receipt --- a/python-asterisk/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-asterisk/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-asterisk" -VERSION="0.5.14" +VERSION="latest" CATEGORY="development" SHORT_DESC="Python bindings for the Asterisk Manager API" MAINTAINER="pascal.bellard@slitaz.org" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR py-Asterisk } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*py-Asterisk-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-babel/receipt --- a/python-babel/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-babel/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-babel" -VERSION="2.5.3" +VERSION="latest" CATEGORY="python" SHORT_DESC="A collection of tools for internationalizing Python applications" MAINTAINER="pascal.bellard@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*Babel-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python-pytz" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-barcode/receipt --- a/python-barcode/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-barcode/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-barcode" -VERSION="0.7" +VERSION="latest" CATEGORY="development" SHORT_DESC="Create standard barcodes" MAINTAINER="pascal.bellard@slitaz.org" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR pyBarcode } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*pyBarcode-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-beaker/receipt --- a/python-beaker/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-beaker/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-beaker" -VERSION="1.8.1" +VERSION="latest" CATEGORY="development" SHORT_DESC="Cache and Session Library" MAINTAINER="taziden@slitaz.org" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python-funcsigs" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR Beaker } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*Beaker-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python-funcsigs" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-blessings/receipt --- a/python-blessings/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-blessings/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-blessings" -VERSION="1.6" +VERSION="latest" CATEGORY="development" SHORT_DESC="A thin, practical wrapper around terminal coloring, styling, and positioning" MAINTAINER="al.bobylev@gmail.com" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR blessings } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*blessings-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-bpython/receipt --- a/python-bpython/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-bpython/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,8 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-bpython" -SOURCE="bpython" -VERSION="0.16" +VERSION="latest" CATEGORY="development" SHORT_DESC="A fancy interface to the Python interpreter" MAINTAINER="claudinei@slitaz.org" @@ -13,15 +12,12 @@ python-curtsies python-six python-urllib3 python-idna python-certifi \ python-chardet python-wcwidth python-blessings" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR bpython } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*bpython-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="${BUILD_DEPENDS/python-dev/}" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-certifi/receipt --- a/python-certifi/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-certifi/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-certifi" -VERSION="2018.1.18" +VERSION="latest" CATEGORY="network" SHORT_DESC="Python package for providing Mozilla's CA Bundle" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*certifi-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-chardet/receipt --- a/python-chardet/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-chardet/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="python-chardet" -VERSION="3.0.4" +VERSION="latest" CATEGORY="development" SHORT_DESC="Python module for character encoding auto-detection" MAINTAINER="devel@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*chardet-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-curtsies/receipt --- a/python-curtsies/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-curtsies/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,24 +1,21 @@ # SliTaz package receipt v2. PACKAGE="python-curtsies" -VERSION="0.2.11" +VERSION="latest" CATEGORY="development" SHORT_DESC="Curses-like terminal wrapper, with colored strings" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" WEB_SITE="https://pypi.python.org/pypi/curtsies" -BUILD_DEPENDS="python-wcwidth python-blessings" +BUILD_DEPENDS="python-wcwidth python-blessings python-typing" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR curtsies } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*curtsies-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="$BUILD_DEPENDS" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-docutils/receipt --- a/python-docutils/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-docutils/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-docutils" -VERSION="0.14" +VERSION="latest" CATEGORY="python" SHORT_DESC="Text processing system" MAINTAINER="claudinei@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*docutils-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" SUGGESTED="python-pil" diff -r a3200eb95e1d -r 542df2bfb7b5 python-funcsigs/receipt --- a/python-funcsigs/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-funcsigs/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-funcsigs" -VERSION="1.0.2" +VERSION="latest" CATEGORY="development" SHORT_DESC="Python function signatures" MAINTAINER="al.bobylev@gmail.com" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR funcsigs } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*funcsigs-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-greenlet/receipt --- a/python-greenlet/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-greenlet/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-greenlet" -VERSION="0.4.12" +VERSION="latest" CATEGORY="development" SHORT_DESC="Lightweight in-process concurrent programming" MAINTAINER="al.bobylev@gmail.com" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR greenlet } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*greenlet-||p' $LOGS/$PACKAGE.log) copy @std @dev DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-idna/receipt --- a/python-idna/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-idna/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-idna" -VERSION="2.6" +VERSION="latest" CATEGORY="network" SHORT_DESC="Internationalized Domain Names in Applications" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*idna-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-imagesize/receipt --- a/python-imagesize/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-imagesize/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-imagesize" -VERSION="0.7.1" +VERSION="latest" CATEGORY="python" SHORT_DESC="Getting image size from png/jpeg/jpeg2000/gif file" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*imagesize-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-jinja2/receipt --- a/python-jinja2/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-jinja2/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-jinja2" -VERSION="2.10" +VERSION="latest" CATEGORY="python" SHORT_DESC="Stand-alone template engine" MAINTAINER="claudinei@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*Jinja2-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python-markupsafe" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-markupsafe/receipt --- a/python-markupsafe/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-markupsafe/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-markupsafe" -VERSION="1.0" +VERSION="latest" CATEGORY="python" SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python" MAINTAINER="pascal.bellard@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*MarkupSafe-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-numpy/receipt --- a/python-numpy/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-numpy/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-numpy" -VERSION="1.14.1" +VERSION="latest" CATEGORY="development" SHORT_DESC="NumPy: array processing for numbers, strings, records, and objects" MAINTAINER="pascal.bellard@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*numpy-||p' $LOGS/$PACKAGE.log) copy @std @dev DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-packaging/receipt --- a/python-packaging/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-packaging/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-packaging" -VERSION="16.8" +VERSION="latest" CATEGORY="python" SHORT_DESC="Core utilities for Python packages" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*packaging-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-pygments/receipt --- a/python-pygments/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-pygments/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-pygments" -VERSION="2.2.0" +VERSION="latest" CATEGORY="development" SHORT_DESC="Generic syntax highlighter" MAINTAINER="claudinei@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*Pygments-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-pyparsing/receipt --- a/python-pyparsing/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-pyparsing/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-pyparsing" -VERSION="2.2.0" +VERSION="latest" CATEGORY="development" SHORT_DESC="Python parsing module" MAINTAINER="pascal.bellard@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*pyparsing-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-pytz/receipt --- a/python-pytz/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-pytz/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="python-pytz" -VERSION="2018.3" +VERSION="latest" CATEGORY="development" SHORT_DESC="World Timezone Definitions for Python" MAINTAINER="pascal.bellard@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*pytz-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-requests/receipt --- a/python-requests/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-requests/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-requests" -VERSION="2.18.4" +VERSION="latest" CATEGORY="network" SHORT_DESC="Python HTTP Requests for Humans" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*requests-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="$BUILD_DEPENDS" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-six/receipt --- a/python-six/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-six/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-six" -VERSION="1.11.0" +VERSION="latest" CATEGORY="python" SHORT_DESC="Six is a Python 2 and 3 compatibility library" MAINTAINER="claudinei@slitaz.org" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*six-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-snowballstemmer/receipt --- a/python-snowballstemmer/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-snowballstemmer/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-snowballstemmer" -VERSION="1.2.1" +VERSION="latest" CATEGORY="python" SHORT_DESC="16 stemmer algorithms generated from Snowball algorithms" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*snowballstemmer-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-sphinx/receipt --- a/python-sphinx/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-sphinx/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-sphinx" -VERSION="1.7.1" +VERSION="latest" CATEGORY="python" SHORT_DESC="Documentation Tool" MAINTAINER="claudinei@slitaz.org" @@ -20,6 +20,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*Sphinx-||p' $LOGS/$PACKAGE.log) copy @std @dev DEPENDS="$BUILD_DEPENDS" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-sphinxcontrib-websupport/receipt --- a/python-sphinxcontrib-websupport/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-sphinxcontrib-websupport/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-sphinxcontrib-websupport" -VERSION="1.0.1" +VERSION="latest" CATEGORY="python" SHORT_DESC="Sphinx API for Web Apps" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*sphinxcontrib-websupport-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-typing/receipt --- a/python-typing/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-typing/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-typing" -VERSION="3.6.4" +VERSION="latest" CATEGORY="python" SHORT_DESC="Type Hints for Python" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*typing-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-urllib3/receipt --- a/python-urllib3/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-urllib3/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="python-urllib3" -VERSION="1.22" +VERSION="latest" CATEGORY="network" SHORT_DESC="HTTP library with thread-safe connection pooling, file post, and more" MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,7 @@ } genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*urllib3-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r a3200eb95e1d -r 542df2bfb7b5 python-wcwidth/receipt --- a/python-wcwidth/receipt Tue May 29 15:37:17 2018 +0300 +++ b/python-wcwidth/receipt Tue May 29 17:01:41 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="python-wcwidth" -VERSION="0.1.7" +VERSION="latest" CATEGORY="development" SHORT_DESC="Measures number of Terminal column cells of wide-character codes" MAINTAINER="paul@slitaz.org" @@ -10,15 +10,12 @@ BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { pip install --no-compile --root=$DESTDIR wcwidth } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*wcwidth-||p' $LOGS/$PACKAGE.log) copy @std DEPENDS="python" }