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

Felix Yan fyan at archlinux.org
Mon Dec 14 02:13:03 UTC 2015


    Date: Monday, December 14, 2015 @ 03:13:03
  Author: fyan
Revision: 256037

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  142 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-14 02:12:39 UTC (rev 256036)
+++ PKGBUILD	2015-12-14 02:13:03 UTC (rev 256037)
@@ -1,71 +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=18.8
-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-packaging' 'python2-packaging')
-checkdepends=('python-mock' 'python2-mock' 'python-pytest-runner' 'python2-pytest-runner' 'git')
-source=("https://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
-sha512sums=('718f8ef19e639450f62e1751715bac65ce2bd218b81614d07c9283a01be3a085ec5422ff9d96a54e74c05135a1a4bb167ece6d4ecece588716d05982c9f25811')
-
-prepare() {
-  # We ship separated python{,2}-packaging packages.
-  rm -r setuptools-${pkgver}/pkg_resources/_vendor
-
-  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-packaging')
-  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-packaging')
-  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 256036, python-setuptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-12-14 02:13:03 UTC (rev 256037)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-setuptools
+pkgname=('python-setuptools' 'python2-setuptools')
+pkgver=18.8.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-packaging' 'python2-packaging')
+checkdepends=('python-mock' 'python2-mock' 'python-pytest-runner' 'python2-pytest-runner' 'git')
+source=("https://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
+sha512sums=('4ebb36cb54a1c581e3b06ce224fdd97211da9b93962eeae0151b064ac107244dab9111dd1441e76997275f9c559dca2cf0c480544f526c8643bf21beda30bf14')
+
+prepare() {
+  # We ship separated python{,2}-packaging packages.
+  rm -r setuptools-${pkgver}/pkg_resources/_vendor
+
+  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-packaging')
+  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-packaging')
+  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