[arch-commits] Commit in python-setuptools/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Tue Apr 8 02:29:08 UTC 2014


    Date: Tuesday, April 8, 2014 @ 04:29:08
  Author: fyan
Revision: 209888

archrelease: copy trunk to extra-any

Added:
  python-setuptools/repos/extra-any/PKGBUILD
    (from rev 209887, python-setuptools/trunk/PKGBUILD)
Deleted:
  python-setuptools/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-08 02:28:22 UTC (rev 209887)
+++ PKGBUILD	2014-04-08 02:29:08 UTC (rev 209888)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-
-pkgbase=python-setuptools
-pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=3.4.2
-pkgrel=1
-pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
-arch=('any')
-license=('PSF')
-url="http://pypi.python.org/pypi/setuptools"
-makedepends=('python' 'python2')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
-md5sums=('3994bf55239eac30f569abb7a44ad706')
-
-check() {
-  # Disabled python 3.x tests for setuptools 3.4.1:
-  # https://bitbucket.org/pypa/setuptools/issue/180/34-release-fails-tests
-
-  # Check python3 module
-  cd "${srcdir}"/setuptools-${pkgver}
-  #python3 setup.py test
-
-  # Check python2 module
-  cd "${srcdir}"/setuptools-${pkgver}-python2
-  python2 setup.py test
-}
- 
-prepare() {
-  cp -a setuptools-${pkgver}{,-python2}
-
-  cd "${srcdir}"/setuptools-${pkgver}
-  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 "${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
-}
-
-build() {
-  # Build python 3 module
-  cd "${srcdir}"/setuptools-${pkgver}
-  python3 setup.py build
-
-  # Build python 2 module
-  cd "${srcdir}"/setuptools-${pkgver}-python2
-  python2 setup.py build
-}
- 
-package_python-setuptools() {
-  depends=('python>=3.4')
-  provides=('python-distribute')
-  replaces=('python-distribute')
-
-  cd "${srcdir}/setuptools-${pkgver}"
-  python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-}
- 
-package_python2-setuptools() {
-  depends=('python2>=2.7')
-  provides=('python2-distribute' 'setuptools')
-  replaces=('python2-distribute' 'setuptools')
-
-  cd "${srcdir}/setuptools-${pkgver}-python2"
-  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-  rm "${pkgdir}/usr/bin/easy_install"
-}

Copied: python-setuptools/repos/extra-any/PKGBUILD (from rev 209887, python-setuptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-04-08 02:29:08 UTC (rev 209888)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=python-setuptools
+pkgname=('python-setuptools' 'python2-setuptools')
+pkgver=3.4.3
+pkgrel=1
+pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
+arch=('any')
+license=('PSF')
+url="http://pypi.python.org/pypi/setuptools"
+makedepends=('python' 'python2')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
+md5sums=('284bf84819c0f6735c853619d1a54955')
+
+check() {
+  # Disabled python 3.x tests for setuptools 3.4.1:
+  # https://bitbucket.org/pypa/setuptools/issue/180/34-release-fails-tests
+
+  # Check python3 module
+  cd "${srcdir}"/setuptools-${pkgver}
+  #python3 setup.py test
+
+  # Check python2 module
+  cd "${srcdir}"/setuptools-${pkgver}-python2
+  python2 setup.py test
+}
+ 
+prepare() {
+  cp -a setuptools-${pkgver}{,-python2}
+
+  cd "${srcdir}"/setuptools-${pkgver}
+  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 "${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
+}
+
+build() {
+  # Build python 3 module
+  cd "${srcdir}"/setuptools-${pkgver}
+  python3 setup.py build
+
+  # Build python 2 module
+  cd "${srcdir}"/setuptools-${pkgver}-python2
+  python2 setup.py build
+}
+ 
+package_python-setuptools() {
+  depends=('python>=3.4')
+  provides=('python-distribute')
+  replaces=('python-distribute')
+
+  cd "${srcdir}/setuptools-${pkgver}"
+  python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+}
+ 
+package_python2-setuptools() {
+  depends=('python2>=2.7')
+  provides=('python2-distribute' 'setuptools')
+  replaces=('python2-distribute' 'setuptools')
+
+  cd "${srcdir}/setuptools-${pkgver}-python2"
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  rm "${pkgdir}/usr/bin/easy_install"
+}




More information about the arch-commits mailing list