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

Felix Yan felixonmars at archlinux.org
Mon Oct 3 03:09:35 UTC 2016


    Date: Monday, October 3, 2016 @ 03:09:34
  Author: felixonmars
Revision: 191240

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-03 03:09:11 UTC (rev 191239)
+++ PKGBUILD	2016-10-03 03:09:34 UTC (rev 191240)
@@ -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.1
-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=('c0ae6aa241b508876249a4a29ada6fedba671717dab5ecbade8a2af894abab78928908f5812c9bc154034d6d734edcd4a1f78a8c80a657d0ef3ccbc9d484e412')
-
-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 191239, python-pytools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-03 03:09:34 UTC (rev 191240)
@@ -0,0 +1,51 @@
+# $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
+}
+



More information about the arch-commits mailing list