[arch-commits] Commit in python-pytools/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu May 25 07:10:34 UTC 2017
Date: Thursday, May 25, 2017 @ 07:10:34
Author: felixonmars
Revision: 230019
archrelease: copy trunk to community-any
Added:
python-pytools/repos/community-any/PKGBUILD
(from rev 230018, python-pytools/trunk/PKGBUILD)
Deleted:
python-pytools/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-25 07:09:52 UTC (rev 230018)
+++ PKGBUILD 2017-05-25 07:10:34 UTC (rev 230019)
@@ -1,52 +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.6
-pkgrel=2
-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=('87faf5221982815ffecf8bbe4a81eb211111aa8f893132cb5ed0d23e3464b651dcd5070589972c5dc7fac7c4dce768dfe4e064d8346e637af4bfff36aea17833')
-
-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
-}
Copied: python-pytools/repos/community-any/PKGBUILD (from rev 230018, python-pytools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-05-25 07:10:34 UTC (rev 230019)
@@ -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=2017.1.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-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz")
+sha512sums=('253b377770e5105083e325ff422286c5d334f92b6621e863edb398b8da59b0cf8572cc645f099fd9e81d187d1cbbbccb02255ed1bf44c283f5df80ed16866c89')
+
+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