wok-next rev 16776
Add: httpie, python-requests; up: python-pygments (1.6), setuptools (4.0.1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 22 01:53:55 2014 +0300 (2014-06-22) |
parents | f90c581724ba |
children | 8fcfcd2e1445 bc9334796734 |
files | httpie/receipt python-pygments/receipt python-requests/receipt setuptools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/httpie/receipt Sun Jun 22 01:53:55 2014 +0300 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="httpie" 1.7 +VERSION="0.8.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="HTTPie is a command line HTTP client, a user-friendly cURL replacement" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://httpie.org/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/jakubroztocil/$PACKAGE/archive/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="python-requests python-pygments setuptools" 1.17 +BUILD_DEPENDS="setuptools wget" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python setup.py install --no-compile --root=$install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + cp -a $install/* $fs 1.29 +}
2.1 --- a/python-pygments/receipt Sun Jun 22 00:58:43 2014 +0200 2.2 +++ b/python-pygments/receipt Sun Jun 22 01:53:55 2014 +0300 2.3 @@ -1,35 +1,26 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-pygments" 2.7 -SOURCE="Pygments" 2.8 -VERSION="1.4" 2.9 +VERSION="1.6" 2.10 CATEGORY="development" 2.11 -SHORT_DESC="Generic syntax highlighter." 2.12 +SHORT_DESC="Generic syntax highlighter" 2.13 MAINTAINER="claudinei@slitaz.org" 2.14 LICENSE="BSD" 2.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.16 -WEB_SITE="http://pygments.org" 2.17 -WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL" 2.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.19 +WEB_SITE="http://pygments.org/" 2.20 +WGET_URL="https://bitbucket.org/birkenfeld/pygments-main/get/$VERSION.tar.bz2" 2.21 2.22 -DEPENDS="python" 2.23 -BUILD_DEPENDS="setuptools" 2.24 +DEPENDS="python setuptools" 2.25 +BUILD_DEPENDS="setuptools wget" 2.26 2.27 # Rules to configure and make the package. 2.28 compile_rules() 2.29 { 2.30 - cd $src 2.31 - python setup.py install --root=$DESTDIR 2.32 + python setup.py install --no-compile --root=$install 2.33 } 2.34 2.35 # Rules to gen a SliTaz package suitable for Tazpkg. 2.36 genpkg_rules() 2.37 { 2.38 - mkdir -p $fs/usr 2.39 - cp -a $install/usr $fs 2.40 + cp -a $install/* $fs 2.41 } 2.42 - 2.43 -# Remove old package. 2.44 -post_install() 2.45 -{ 2.46 - rm -rf $1/var/lib/tazpkg/installed/pygments 2.47 -}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/python-requests/receipt Sun Jun 22 01:53:55 2014 +0300 3.3 @@ -0,0 +1,26 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="python-requests" 3.7 +VERSION="2.3.0" 3.8 +CATEGORY="network" 3.9 +SHORT_DESC="Python HTTP Requests for Humans" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +LICENSE="Apache2" 3.12 +WEB_SITE="http://python-requests.org/" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.14 +WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz" 3.15 + 3.16 +DEPENDS="python" 3.17 +BUILD_DEPENDS="python wget" 3.18 + 3.19 +# Rules to configure and make the package. 3.20 +compile_rules() 3.21 +{ 3.22 + python setup.py install --no-compile --root=$install 3.23 +} 3.24 + 3.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.26 +genpkg_rules() 3.27 +{ 3.28 + cp -a $install/* $fs 3.29 +}
4.1 --- a/setuptools/receipt Sun Jun 22 00:58:43 2014 +0200 4.2 +++ b/setuptools/receipt Sun Jun 22 01:53:55 2014 +0300 4.3 @@ -1,29 +1,27 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="setuptools" 4.7 -VERSION="0.6c11" 4.8 +VERSION="4.0.1" 4.9 CATEGORY="misc" 4.10 SHORT_DESC="Python package installation tool." 4.11 MAINTAINER="pascal.bellard@slitaz.org" 4.12 LICENSE="PSL" 4.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 4.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.15 WEB_SITE="http://pypi.python.org/pypi/setuptools" 4.16 -WGET_URL="http://pypi.python.org/packages/source/s/setuptools/$TARBALL" 4.17 +WGET_URL="https://bitbucket.org/pypa/setuptools/get/$VERSION.tar.bz2" 4.18 HOST_ARCH="i486 arm" 4.19 4.20 -DEPENDS="python python-dev" 4.21 -BUILD_DEPENDS="python python-dev" 4.22 +DEPENDS="python" 4.23 +BUILD_DEPENDS="python wget" 4.24 4.25 # Rules to configure and make the package. 4.26 compile_rules() 4.27 { 4.28 - python setup.py build && 4.29 - python setup.py install --root=$DESTDIR 4.30 + python setup.py install --no-compile --root=$install 4.31 } 4.32 4.33 # Rules to gen a SliTaz package suitable for Tazpkg. 4.34 genpkg_rules() 4.35 { 4.36 - cp -a $install/usr $fs 4.37 + cp -a $install/* $fs 4.38 } 4.39 -