wok-next annotate python-shapely/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 | 1cfc9d2d0016 |
children | 92698cd69f34 |
rev | line source |
---|---|
pascal@16723 | 1 # SliTaz package receipt. |
pascal@16723 | 2 |
pascal@16723 | 3 PACKAGE="python-shapely" |
pascal@16723 | 4 VERSION="1.3.2" |
pascal@16723 | 5 CATEGORY="development" |
pascal@16723 | 6 SHORT_DESC="Manipulation and analysis of geometric objects in the Cartesian plane." |
pascal@16723 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16723 | 8 LICENSE="BSD" |
pascal@16723 | 9 SOURCE="Shapely" |
pascal@16723 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@16723 | 11 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION" |
pascal@16723 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@16723 | 13 |
pascal@16723 | 14 DEPENDS="python geos" |
pascal@16726 | 15 BUILD_DEPENDS="python-dev wget geos-dev" |
pascal@16723 | 16 |
pascal@16723 | 17 # Rules to configure and make the package. |
pascal@16723 | 18 compile_rules() |
pascal@16723 | 19 { |
pascal@16723 | 20 python setup.py install --root=$DESTDIR |
pascal@16723 | 21 } |
pascal@16723 | 22 |
pascal@16723 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16723 | 24 genpkg_rules() |
pascal@16723 | 25 { |
pascal@16723 | 26 cp -a $install/usr $fs |
pascal@16723 | 27 } |
al@18086 | 28 |