[arch-commits] Commit in python-pytest/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Sep 16 03:12:28 UTC 2015
Date: Wednesday, September 16, 2015 @ 05:12:28
Author: fyan
Revision: 140346
archrelease: copy trunk to community-any
Added:
python-pytest/repos/community-any/PKGBUILD
(from rev 140345, python-pytest/trunk/PKGBUILD)
Deleted:
python-pytest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-16 03:12:08 UTC (rev 140345)
+++ PKGBUILD 2015-09-16 03:12:28 UTC (rev 140346)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=2.7.2
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="http://pytest.org/"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py')
-checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-twisted' 'python2-twisted' 'python-mock' 'python2-mock' 'python-yaml' 'python2-yaml' 'python-pexpect' 'python2-pexpect')
-source=("https://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
-sha512sums=('5474a4fe58437a4971fb21b1b37dad3c08e18e5d154931ff23e597f881100a3515bf0cf71d06b143465594ad2a91a96f84f4836d84c39691143c8d88ca7a4360')
-
-prepare() {
- cp -a pytest-${pkgver}{,-py2}
-}
-
-build() {
- cd "$srcdir/pytest-${pkgver}"
- python setup.py build
-
- cd "$srcdir/pytest-${pkgver}-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/pytest-${pkgver}"
- python setup.py test
-
- cd "$srcdir/pytest-${pkgver}-py2"
- python2 setup.py test
-}
-
-package_python-pytest() {
- depends=('python' 'python-py' 'python-setuptools')
-
- cd pytest-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-pytest() {
- depends=('python2' 'python2-py' 'python2-setuptools')
-
- cd pytest-${pkgver}-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- mv "${pkgdir}/usr/bin/py.test" "${pkgdir}/usr/bin/py.test2"
-}
-
Copied: python-pytest/repos/community-any/PKGBUILD (from rev 140345, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-16 03:12:28 UTC (rev 140346)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=2.7.3
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="http://pytest.org/"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py')
+checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-twisted' 'python2-twisted' 'python-mock' 'python2-mock' 'python-yaml' 'python2-yaml' 'python-pexpect' 'python2-pexpect')
+source=("https://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
+sha512sums=('ad9b57f202c60c247dd4753fb8391e3e88b390e34de678ea12384d81d76693dd37e04f11f6da19a6eda2c74a73db23789856ccaa325d32b4beb6bff86d9e4173')
+
+prepare() {
+ cp -a pytest-${pkgver}{,-py2}
+}
+
+build() {
+ cd "$srcdir/pytest-${pkgver}"
+ python setup.py build
+
+ cd "$srcdir/pytest-${pkgver}-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/pytest-${pkgver}"
+ python setup.py test
+
+ cd "$srcdir/pytest-${pkgver}-py2"
+ python2 setup.py test
+}
+
+package_python-pytest() {
+ depends=('python' 'python-py' 'python-setuptools')
+
+ cd pytest-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pytest() {
+ depends=('python2' 'python2-py' 'python2-setuptools')
+
+ cd pytest-${pkgver}-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ mv "${pkgdir}/usr/bin/py.test" "${pkgdir}/usr/bin/py.test2"
+}
+
More information about the arch-commits
mailing list