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

Felix Yan fyan at archlinux.org
Fri Apr 15 12:51:12 UTC 2016


    Date: Friday, April 15, 2016 @ 14:51:12
  Author: fyan
Revision: 265006

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  134 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-15 12:50:50 UTC (rev 265005)
+++ PKGBUILD	2016-04-15 12:51:12 UTC (rev 265006)
@@ -1,67 +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=20.8.0
-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=('b5569e15edbcea21ee065c316fb184f9cbaa9daa1053c9eae3293e0e10ef53cf228c17d48ec057dc1c5c9a05c8d64148b8d576e4815fdb1f3aacc10938d8a2a2')
-
-prepare() {
-  # We ship separated python{,2}-{packaging,six} packages.
-  rm -rv setuptools-$pkgver/pkg_resources/_vendor
-
-  cp -a setuptools-${pkgver}{,-py2}
-
-  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-py2
-  sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
-}
-
-build() {
-  cd "$srcdir"/setuptools-$pkgver
-  python3 setup.py build
-
-  cd "$srcdir"/setuptools-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # Workaround UTF-8 tests by setting LC_CTYPE
-
-  cd "$srcdir"/setuptools-$pkgver
-  LC_CTYPE=en_US.utf8 python3 setup.py ptr
-
-  cd "$srcdir"/setuptools-$pkgver-py2
-  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-py2
-  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 265005, python-setuptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-15 12:51:12 UTC (rev 265006)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-setuptools
+pkgname=('python-setuptools' 'python2-setuptools')
+pkgver=20.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=('a3270b1fb1873347ed503d6efcbf4074d8cb25feddaa17ad3dd5541890b6b0e51f00fb5b2bddb3cc0b38168a18ceb95e2405f1000d28def513434833d56fc4eb')
+
+prepare() {
+  # We ship separated python{,2}-{packaging,six} packages.
+  rm -rv setuptools-$pkgver/pkg_resources/_vendor
+
+  cp -a setuptools-${pkgver}{,-py2}
+
+  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-py2
+  sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
+}
+
+build() {
+  cd "$srcdir"/setuptools-$pkgver
+  python3 setup.py build
+
+  cd "$srcdir"/setuptools-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Workaround UTF-8 tests by setting LC_CTYPE
+
+  cd "$srcdir"/setuptools-$pkgver
+  LC_CTYPE=en_US.utf8 python3 setup.py ptr
+
+  cd "$srcdir"/setuptools-$pkgver-py2
+  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-py2
+  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