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

Felix Yan fyan at archlinux.org
Sat Nov 28 09:05:28 UTC 2015


    Date: Saturday, November 28, 2015 @ 10:05:28
  Author: fyan
Revision: 147897

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-28 09:05:04 UTC (rev 147896)
+++ PKGBUILD	2015-11-28 09:05:28 UTC (rev 147897)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# 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.30
-pkgrel=2
-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=('dd9d92f8eaf8e5fc61bfb7feb4b07df5ae1745ebf88bcbe9d62589caa9e1f7d8beae5b2d20b407520919e47391cd50cf2d5323556fa5bd90a37e120b1d394d7a')
-
-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 147896, python-py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-11-28 09:05:28 UTC (rev 147897)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# 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.31
+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=('fd0f4f509d81beb8e5cdb5a8d5d7d40d8a74737c017c915b0630ce740868c32fbf1af4a01dec2ae998e5a9516578e8404ad2b8d966606919767ae25f27eb0b0d')
+
+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