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

Ionut Biru ibiru at archlinux.org
Mon Mar 28 11:33:07 UTC 2011


    Date: Monday, March 28, 2011 @ 07:33:06
  Author: ibiru
Revision: 117059

upgpkg: python-distribute 0.6.15-2
provides setuptools for python2-distribute. FS#23474

Modified:
  python-distribute/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-28 11:23:54 UTC (rev 117058)
+++ PKGBUILD	2011-03-28 11:33:06 UTC (rev 117059)
@@ -4,7 +4,7 @@
 pkgbase=python-distribute
 pkgname=('python-distribute' 'python2-distribute')
 pkgver=0.6.15
-pkgrel=1
+pkgrel=2
 pkgdesc="Easily build and distribute Python packages"
 arch=('any')
 license=('PSF')
@@ -18,13 +18,13 @@
 build() {
    cd "${srcdir}"
    cp -a distribute-${pkgver}{,-python2}
-   
+
    # Build python 3 module
    cd distribute-${pkgver}
    patch -Np1 -i ../distribute-python2_and_3.patch
    python setup.py build
    python setup.py test
-   
+
    # Build python 2 module
    cd ../distribute-${pkgver}-python2
    patch -Np1 -i ../distribute-python2_and_3.patch
@@ -34,14 +34,15 @@
 
 package_python-distribute() {
    depends=('python>=3.2')
-   
+
    cd "${srcdir}/distribute-${pkgver}"
    python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
 }
 
 package_python2-distribute() {
    depends=('python2>=2.7')
-   
+   provides=('setuptools=0.6c11')
+
    cd "${srcdir}/distribute-${pkgver}-python2"
    python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
 }




More information about the arch-commits mailing list