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

Felix Yan fyan at archlinux.org
Wed Dec 31 03:34:48 UTC 2014


    Date: Wednesday, December 31, 2014 @ 04:34:48
  Author: fyan
Revision: 228210

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-31 03:34:29 UTC (rev 228209)
+++ PKGBUILD	2014-12-31 03:34:48 UTC (rev 228210)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-setuptools
-pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=9.1
-pkgrel=1
-epoch=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' 'subversion')
-source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
-sha512sums=('19fbf0ea842cc2a15d3f9f817719219748a10dca7909fe2f5dcd05c00a93a7ea115d75df416148cb9457ffaaa13582302d47af0df7cd1a8deb1f4e27d5031c27')
-
-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
-}
-
-check() {
-  # Workaround UTF-8 tests by setting LC_CTYPE
-
-  # Check python3 module
-  cd "${srcdir}"/setuptools-${pkgver}
-  LC_CTYPE=en_US.utf8 python3 setup.py test
-
-  # Check python2 module
-  cd "${srcdir}"/setuptools-${pkgver}-python2
-  LC_CTYPE=en_US.utf8 python2 setup.py test
-}
- 
-package_python-setuptools() {
-  depends=('python')
-  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')
-  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 228209, python-setuptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-12-31 03:34:48 UTC (rev 228210)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-setuptools
+pkgname=('python-setuptools' 'python2-setuptools')
+pkgver=10.0.1
+pkgrel=1
+epoch=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-mock' 'python2-mock' 'python-pytest' 'python2-pytest' 'git')
+source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
+sha512sums=('209f1e7a415f0aaf963d0dd4e40bb0aa50173087affb76c68f747d1429ead314207c8d3b9521ea7abec25ed375a019bd0a0a1b6c97274e404a6cc81a4f629267')
+
+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
+}
+
+check() {
+  # Workaround UTF-8 tests by setting LC_CTYPE
+
+  # Check python3 module
+  cd "${srcdir}"/setuptools-${pkgver}
+  LC_CTYPE=en_US.utf8 python3 setup.py ptr
+
+  # Check python2 module
+  cd "${srcdir}"/setuptools-${pkgver}-python2
+  LC_CTYPE=en_US.utf8 python2 setup.py ptr
+}
+ 
+package_python-setuptools() {
+  depends=('python')
+  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')
+  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