[arch-commits] Commit in python-pytools/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Oct 10 02:22:31 UTC 2016


    Date: Monday, October 10, 2016 @ 02:22:29
  Author: felixonmars
Revision: 191772

archrelease: copy trunk to community-any

Added:
  python-pytools/repos/community-any/PKGBUILD
    (from rev 191771, python-pytools/trunk/PKGBUILD)
Deleted:
  python-pytools/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 02:22:07 UTC (rev 191771)
+++ PKGBUILD	2016-10-10 02:22:29 UTC (rev 191772)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-
-pkgbase=python-pytools
-pkgname=('python2-pytools' 'python-pytools')
-pkgver=2016.2.2
-pkgrel=1
-pkgdesc="A collection of tools for Python"
-arch=('any')
-url="http://mathema.tician.de/software/pytools"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-decorator' 'python2-decorator'
-             'python-six' 'python2-six' 'python-appdirs' 'python2-appdirs' 'python-numpy'
-             'python2-numpy')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz")
-sha512sums=('2f5870dc0c35d91fb0863fcf4819bf60c7e51c1c2645a43dd2e6dde3b3ddaa44248b1a2cb342976c50c0005f632a6efc9af0b6b77b7bb324b0c22ac843c3943f')
-
-prepare() {
-   cp -a pytools-$pkgver{,-python2}
-}
-
-build() {
-   cd "$srcdir"/pytools-$pkgver
-   python setup.py build
-
-   cd "$srcdir"/pytools-$pkgver-python2
-   python2 setup.py build
-}
-
-check() {
-   cd "$srcdir"/pytools-$pkgver
-   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test
-
-   cd "$srcdir"/pytools-$pkgver-python2
-   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test2
-}
-
-package_python2-pytools() {
-   depends=('python2-six' 'python2-decorator' 'python2-appdirs' 'python2-numpy')
-   cd pytools-$pkgver-python2
-   python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
-}
-
-package_python-pytools(){
-   depends=('python-six' 'python-decorator' 'python-appdirs' 'python-numpy')
-   cd pytools-$pkgver
-   python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
-}
-

Copied: python-pytools/repos/community-any/PKGBUILD (from rev 191771, python-pytools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-10 02:22:29 UTC (rev 191772)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgbase=python-pytools
+pkgname=('python2-pytools' 'python-pytools')
+pkgver=2016.2.4
+pkgrel=1
+pkgdesc="A collection of tools for Python"
+arch=('any')
+url="http://mathema.tician.de/software/pytools"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-decorator' 'python2-decorator'
+             'python-six' 'python2-six' 'python-appdirs' 'python2-appdirs' 'python-numpy'
+             'python2-numpy')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz")
+sha512sums=('40fc58a6fbc7bb8dfb02b3a648e14221a6d0e47516dc9f87dc3642491315fca11aad6f8171922c53dba290653f22a01ec4b6293d92949309fe6d7a579e47b2ac')
+
+prepare() {
+  cp -a pytools-$pkgver{,-python2}
+}
+
+build() {
+  cd "$srcdir"/pytools-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytools-$pkgver-python2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pytools-$pkgver
+  python setup.py ptr
+
+  cd "$srcdir"/pytools-$pkgver-python2
+  python2 setup.py ptr
+}
+
+package_python-pytools(){
+  depends=('python-six' 'python-decorator' 'python-appdirs' 'python-numpy')
+
+  cd pytools-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+}
+
+package_python2-pytools() {
+  depends=('python2-six' 'python2-decorator' 'python2-appdirs' 'python2-numpy')
+
+  cd pytools-$pkgver-python2
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+}



More information about the arch-commits mailing list