[arch-commits] Commit in python-distribute/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Mon Feb 21 12:01:20 UTC 2011


    Date: Monday, February 21, 2011 @ 07:01:20
  Author: stephane
Revision: 110665

upgpkg: python-distribute 0.6.14-6
python 3.2 rebuild

Modified:
  python-distribute/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-21 12:00:30 UTC (rev 110664)
+++ PKGBUILD	2011-02-21 12:01:20 UTC (rev 110665)
@@ -2,8 +2,8 @@
 # Contributor: Sebastien Binet <binet at farnsworth>
 pkgname=python-distribute
 pkgver=0.6.14
-pkgrel=5
-pkgdesc="A collection of extensions to the Python distutils"
+pkgrel=6
+pkgdesc="Easily build and distribute Python packages"
 arch=('any')
 license=('PSF')
 url="http://packages.python.org/distribute"
@@ -13,9 +13,13 @@
 sha1sums=('6bea50b97f36bf751548bb486a534204a690aa4d'
           'de635febfb11dc6878e5bdbac4a0e1d539c19d79')
 
-package() {
-   cd ${srcdir}/distribute-${pkgver}
+build() {
+   cd "${srcdir}/distribute-${pkgver}"
    patch -Np1 -i ../distribute-${pkgver}_python2_and_3.patch
-   python setup.py install --prefix=/usr --root=${pkgdir}
+   python setup.py build
 }
-# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent
+
+package() {
+   cd "${srcdir}/distribute-${pkgver}"
+   python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+}




More information about the arch-commits mailing list