# HG changeset patch # User Aleksej Bobylev # Date 1403391235 -10800 # Node ID 313b384e2a06bd4fbf9c91ab9bae82af293b861f # Parent f90c581724ba17f76f2dfa73f37a6267e5591e70 Add: httpie, python-requests; up: python-pygments (1.6), setuptools (4.0.1). diff -r f90c581724ba -r 313b384e2a06 httpie/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/httpie/receipt Sun Jun 22 01:53:55 2014 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="httpie" +VERSION="0.8.0" +CATEGORY="network" +SHORT_DESC="HTTPie is a command line HTTP client, a user-friendly cURL replacement" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="http://httpie.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/jakubroztocil/$PACKAGE/archive/$VERSION.tar.gz" + +DEPENDS="python-requests python-pygments setuptools" +BUILD_DEPENDS="setuptools wget" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --no-compile --root=$install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r f90c581724ba -r 313b384e2a06 python-pygments/receipt --- a/python-pygments/receipt Sun Jun 22 00:58:43 2014 +0200 +++ b/python-pygments/receipt Sun Jun 22 01:53:55 2014 +0300 @@ -1,35 +1,26 @@ # SliTaz package receipt. PACKAGE="python-pygments" -SOURCE="Pygments" -VERSION="1.4" +VERSION="1.6" CATEGORY="development" -SHORT_DESC="Generic syntax highlighter." +SHORT_DESC="Generic syntax highlighter" MAINTAINER="claudinei@slitaz.org" LICENSE="BSD" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://pygments.org" -WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://pygments.org/" +WGET_URL="https://bitbucket.org/birkenfeld/pygments-main/get/$VERSION.tar.bz2" -DEPENDS="python" -BUILD_DEPENDS="setuptools" +DEPENDS="python setuptools" +BUILD_DEPENDS="setuptools wget" # Rules to configure and make the package. compile_rules() { - cd $src - python setup.py install --root=$DESTDIR + python setup.py install --no-compile --root=$install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr $fs + cp -a $install/* $fs } - -# Remove old package. -post_install() -{ - rm -rf $1/var/lib/tazpkg/installed/pygments -} diff -r f90c581724ba -r 313b384e2a06 python-requests/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-requests/receipt Sun Jun 22 01:53:55 2014 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="python-requests" +VERSION="2.3.0" +CATEGORY="network" +SHORT_DESC="Python HTTP Requests for Humans" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="Apache2" +WEB_SITE="http://python-requests.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz" + +DEPENDS="python" +BUILD_DEPENDS="python wget" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --no-compile --root=$install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r f90c581724ba -r 313b384e2a06 setuptools/receipt --- a/setuptools/receipt Sun Jun 22 00:58:43 2014 +0200 +++ b/setuptools/receipt Sun Jun 22 01:53:55 2014 +0300 @@ -1,29 +1,27 @@ # SliTaz package receipt. PACKAGE="setuptools" -VERSION="0.6c11" +VERSION="4.0.1" CATEGORY="misc" SHORT_DESC="Python package installation tool." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PSL" -TARBALL="$PACKAGE-$VERSION.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://pypi.python.org/pypi/setuptools" -WGET_URL="http://pypi.python.org/packages/source/s/setuptools/$TARBALL" +WGET_URL="https://bitbucket.org/pypa/setuptools/get/$VERSION.tar.bz2" HOST_ARCH="i486 arm" -DEPENDS="python python-dev" -BUILD_DEPENDS="python python-dev" +DEPENDS="python" +BUILD_DEPENDS="python wget" # Rules to configure and make the package. compile_rules() { - python setup.py build && - python setup.py install --root=$DESTDIR + python setup.py install --no-compile --root=$install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs + cp -a $install/* $fs } -