[arch-commits] Commit in python-setuptools/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Jan 29 04:00:54 UTC 2016
Date: Friday, January 29, 2016 @ 05:00:54
Author: fyan
Revision: 258685
archrelease: copy trunk to extra-any
Added:
python-setuptools/repos/extra-any/PKGBUILD
(from rev 258684, python-setuptools/trunk/PKGBUILD)
Deleted:
python-setuptools/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-29 04:00:34 UTC (rev 258684)
+++ PKGBUILD 2016-01-29 04:00:54 UTC (rev 258685)
@@ -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=19.6
-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' 'python-six' 'python2-six')
-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=('79b9a0f595bda16f18997d9937c6bc2e21bb2bb23fcca4be29df2fb71649c5ba973428472e3c795f2a5d6fbcccf1d5f29096a0fb593a4c52fa87b1d003e474da')
-
-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' 'python-six')
- 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' 'python2-six')
- 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 258684, python-setuptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-01-29 04:00:54 UTC (rev 258685)
@@ -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=19.6.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' 'python-six' 'python2-six')
+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=('542c41aafdeca3e7658650dfb1c2f5209eb89ae17586cddf1a57316b987507c1263648c93d4177d8d1f775c0ce60c0849b9f4639e395b364ddfe4d92f019be0c')
+
+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' 'python-six')
+ 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' 'python2-six')
+ 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