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

Felix Yan felixonmars at archlinux.org
Thu Jun 1 07:26:29 UTC 2017


    Date: Thursday, June 1, 2017 @ 07:26:28
  Author: felixonmars
Revision: 231742

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-01 07:26:09 UTC (rev 231741)
+++ PKGBUILD	2017-06-01 07:26:28 UTC (rev 231742)
@@ -1,63 +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=3.1.0
-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' 'git'
-             'python-pluggy' 'python2-pluggy')
-checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
-              'python2-tox' 'python-yaml' 'python2-yaml' # 'python-pexpect' 'python2-pexpect'
-              'python-pytest-xdist' 'python2-pytest-xdist' 'python-twisted' 'python2-twisted'
-              'python-requests' 'python2-requests' 'python-hypothesis' 'python2-hypothesis')
-source=("git+https://github.com/pytest-dev/pytest.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  # Remove bundled pluggy - disabled for now as it will break tests
-  # rm -r pytest/_pytest/vendored_packages
-  # sed -i "s/'_pytest.vendored_packages'//" pytest/setup.py
-
-  cp -a pytest{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest
-  python setup.py build
-
-  cd "$srcdir"/pytest-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pytest
-  python setup.py test
-
-  cd "$srcdir"/pytest-py2
-  python2 setup.py test
-}
-
-package_python-pytest() {
-  depends=('python-py' 'python-setuptools') # 'python-pluggy')
-
-  cd pytest
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest() {
-  depends=('python2-py' 'python2-setuptools') # 'python2-pluggy')
-
-  cd pytest-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{,2}
-  mv "$pkgdir"/usr/bin/pytest{,2}
-}

Copied: python-pytest/repos/community-any/PKGBUILD (from rev 231741, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-06-01 07:26:28 UTC (rev 231742)
@@ -0,0 +1,63 @@
+# $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=3.1.1
+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' 'git'
+             'python-pluggy' 'python2-pluggy')
+checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
+              'python2-tox' 'python-yaml' 'python2-yaml' # 'python-pexpect' 'python2-pexpect'
+              'python-pytest-xdist' 'python2-pytest-xdist' 'python-twisted' 'python2-twisted'
+              'python-requests' 'python2-requests' 'python-hypothesis' 'python2-hypothesis')
+source=("git+https://github.com/pytest-dev/pytest.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  # Remove bundled pluggy - disabled for now as it will break tests
+  # rm -r pytest/_pytest/vendored_packages
+  # sed -i "s/'_pytest.vendored_packages'//" pytest/setup.py
+
+  cp -a pytest{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pytest
+  python setup.py build
+
+  cd "$srcdir"/pytest-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pytest
+  python setup.py test
+
+  cd "$srcdir"/pytest-py2
+  python2 setup.py test
+}
+
+package_python-pytest() {
+  depends=('python-py' 'python-setuptools') # 'python-pluggy')
+
+  cd pytest
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest() {
+  depends=('python2-py' 'python2-setuptools') # 'python2-pluggy')
+
+  cd pytest-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{,2}
+  mv "$pkgdir"/usr/bin/pytest{,2}
+}



More information about the arch-commits mailing list