Date: Monday, March 16, 2015 @ 16:04:20
  Author: fyan
Revision: 233941

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  136 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2015-03-16 15:04:05 UTC (rev 233940)
+++ PKGBUILD    2015-03-16 15:04:20 UTC (rev 233941)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <an...@archlinux.org>
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=python-setuptools
-pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=14.1.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=('b24b270c595eb5fd8abb7d5bca6240ffb9571dd49dda53c9aeae85f69db8e9a13113d3fdeff404b6f6cf902b4e66b1028fd97b42e77d9c55256bd34dacb101ac')
-
-prepare() {
-  cp -a setuptools-${pkgver}{,-python2}
-
-  cd "${srcdir}"/setuptools-${pkgver}
-  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/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"
-}

Copied: python-setuptools/repos/extra-any/PKGBUILD (from rev 233940, 
python-setuptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2015-03-16 15:04:20 UTC (rev 233941)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Angel Velasquez <an...@archlinux.org>
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgbase=python-setuptools
+pkgname=('python-setuptools' 'python2-setuptools')
+pkgver=14.2
+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=('c0f0acd988a474b5be8f036ccaf8e844686674a6470d2d929396826e7205da3a1e4e431eccdf27ae988c621241e5cf5922ade73cb7f4a29f71641436ed1b9331')
+
+prepare() {
+  cp -a setuptools-${pkgver}{,-python2}
+
+  cd "${srcdir}"/setuptools-${pkgver}
+  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/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"
+}

Reply via email to