[arch-commits] Commit in python-py/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Aug 5 07:29:20 UTC 2014
Date: Tuesday, August 5, 2014 @ 09:29:20
Author: fyan
Revision: 116882
archrelease: copy trunk to community-any
Added:
python-py/repos/community-any/PKGBUILD
(from rev 116881, python-py/trunk/PKGBUILD)
Deleted:
python-py/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-05 07:28:56 UTC (rev 116881)
+++ PKGBUILD 2014-08-05 07:29:20 UTC (rev 116882)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
-# Contributor: Igor Ramos Tiburcio <irtigor at yahoo.com.br>
-# Contributor: Wieland Hoffmann <themineo+aur at gmail.com>
-# Contributor: Hervé Cauwelier <herve ¤ oursours.net>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-py
-pkgname=('python-py' 'python2-py')
-pkgver=1.4.22
-pkgrel=1
-pkgdesc="library with cross-python path, ini-parsing, io, code, log facilities"
-arch=('any')
-license=('MIT')
-url="http://pylib.readthedocs.org/en/latest/"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("http://pypi.python.org/packages/source/p/py/py-$pkgver.tar.gz")
-sha512sums=('3cbc75257a7de345f0f23b6374a542608392d05f6600ba8ab743eea4fc46cc88ccaa829c1e2370eabb9892fbef8a16df9f5eb7956571d6f2b465a75817f70d7a')
-
-prepare() {
- cp -a py-${pkgver}{,-py2}
-}
-
-build() {
- cd "$srcdir/py-${pkgver}"
- python setup.py build
-
- cd "$srcdir/py-${pkgver}-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/py-${pkgver}"
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" LANG=en_US.utf8 py.test
-
- cd "$srcdir/py-${pkgver}-py2"
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" LANG=en_US.utf8 py.test2
-}
-
-package_python-py() {
- depends=('python')
-
- cd py-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-py() {
- depends=('python2')
-
- cd py-${pkgver}-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
Copied: python-py/repos/community-any/PKGBUILD (from rev 116881, python-py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-08-05 07:29:20 UTC (rev 116882)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+# Contributor: Igor Ramos Tiburcio <irtigor at yahoo.com.br>
+# Contributor: Wieland Hoffmann <themineo+aur at gmail.com>
+# Contributor: Hervé Cauwelier <herve ¤ oursours.net>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-py
+pkgname=('python-py' 'python2-py')
+pkgver=1.4.23
+pkgrel=1
+pkgdesc="library with cross-python path, ini-parsing, io, code, log facilities"
+arch=('any')
+license=('MIT')
+url="http://pylib.readthedocs.org/en/latest/"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("http://pypi.python.org/packages/source/p/py/py-$pkgver.tar.gz")
+sha512sums=('1a38edb1855094a76362eff2afd370eca9ac796ee75a101bd4c3d566a8c75064a790f2032b4ea958f16836e22bea83a53ee9adbb7ca200b0ecb64677fec08515')
+
+prepare() {
+ cp -a py-${pkgver}{,-py2}
+}
+
+build() {
+ cd "$srcdir/py-${pkgver}"
+ python setup.py build
+
+ cd "$srcdir/py-${pkgver}-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/py-${pkgver}"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" LANG=en_US.utf8 py.test
+
+ cd "$srcdir/py-${pkgver}-py2"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" LANG=en_US.utf8 py.test2
+}
+
+package_python-py() {
+ depends=('python')
+
+ cd py-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-py() {
+ depends=('python2')
+
+ cd py-${pkgver}-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
More information about the arch-commits
mailing list