wok annotate python-oauth2/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | fd4f1e692109 |
children | 814362194a8d |
rev | line source |
---|---|
paul@13222 | 1 # SliTaz package receipt. |
paul@13222 | 2 |
paul@13222 | 3 PACKAGE="python-oauth2" |
paul@13222 | 4 VERSION="1.5.211" |
paul@13222 | 5 CATEGORY="development" |
paul@13222 | 6 SHORT_DESC="Library for OAuth version 1.0." |
paul@13222 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
paul@13222 | 9 SOURCE="oauth2" |
paul@13222 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@13222 | 11 WEB_SITE="https://github.com/simplegeo/python-oauth2" |
paul@13222 | 12 WGET_URL="http://pypi.python.org/packages/source/o/$SOURCE/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
paul@13222 | 15 DEPENDS="python" |
paul@13222 | 16 BUILD_DEPENDS="python python-dev setuptools" |
paul@13222 | 17 |
paul@13222 | 18 # Rules to configure and make the package. |
paul@13222 | 19 compile_rules() |
paul@13222 | 20 { |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
paul@13222 | 22 } |
paul@13222 | 23 |
paul@13222 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@13222 | 25 genpkg_rules() |
paul@13222 | 26 { |
pascal@15378 | 27 cp -a $install/usr $fs |
paul@13222 | 28 } |