[arch-commits] Commit in python-pytest/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Sat Oct 25 12:19:57 UTC 2014
Date: Saturday, October 25, 2014 @ 14:19:57
Author: fyan
Revision: 121392
archrelease: copy trunk to community-any
Added:
python-pytest/repos/community-any/PKGBUILD
(from rev 121391, python-pytest/trunk/PKGBUILD)
Deleted:
python-pytest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-25 12:19:42 UTC (rev 121391)
+++ PKGBUILD 2014-10-25 12:19:57 UTC (rev 121392)
@@ -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.6.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=("http://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
-sha512sums=('44fe4c7af804530160a1827b837d35be9492eebb6a382391c820568f492ce7ca50837a47e92873b014ee1655d83a8cb270e0c4149e683efedc25135791733c7a')
-
-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 121391, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-10-25 12:19:57 UTC (rev 121392)
@@ -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.6.4
+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=("http://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
+sha512sums=('b17f79b0f3c0f6051bedb0d7acadc5d569b3b90b2fce2eddda06a21b654f6077f934aaa9617152d6b2f8babb95c37494f18e050841af601f7f37de25c15b32fd')
+
+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