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

Felix Yan fyan at nymeria.archlinux.org
Sat Mar 15 03:55:31 UTC 2014


    Date: Saturday, March 15, 2014 @ 04:55:31
  Author: fyan
Revision: 207772

upgpkg: python-setuptools 3.2-1

Modified:
  python-setuptools/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-15 02:53:18 UTC (rev 207771)
+++ PKGBUILD	2014-03-15 03:55:31 UTC (rev 207772)
@@ -4,7 +4,7 @@
 
 pkgbase=python-setuptools
 pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=3.1
+pkgver=3.2
 pkgrel=1
 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
 arch=('any')
@@ -12,7 +12,7 @@
 url="http://pypi.python.org/pypi/setuptools"
 makedepends=('python' 'python2')
 source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
-md5sums=('425c2fa9329fc000e8c5ff947df001c3')
+md5sums=('d354131f1bcf6fcc62b4de3d71b45189')
 
 check() {
    # Check python3 module
@@ -36,7 +36,7 @@
    sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python3|" setuptools/tests/test_resources.py
    sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python3|" setuptools/command/easy_install.py
 
-   cd ../setuptools-${pkgver}-python2
+   cd "${srcdir}"/setuptools-${pkgver}-python2
    sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" setuptools/tests/test_resources.py
    sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
 }
@@ -47,7 +47,7 @@
    python3 setup.py build
  
    # Build python 2 module
-   cd ../setuptools-${pkgver}-python2
+   cd "${srcdir}"/setuptools-${pkgver}-python2
    python2 setup.py build
 }
  




More information about the arch-commits mailing list