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

Felix Yan felixonmars at archlinux.org
Thu Nov 16 05:13:18 UTC 2017


    Date: Thursday, November 16, 2017 @ 05:13:17
  Author: felixonmars
Revision: 266908

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  136 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-16 05:12:53 UTC (rev 266907)
+++ PKGBUILD	2017-11-16 05:13:17 UTC (rev 266908)
@@ -1,68 +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.2.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' 'python-pluggy'
-             'python2-pluggy')
-checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
-              'python2-tox' 'python-yaml' 'python2-yaml' 'python-pytest-xdist'
-              'python2-pytest-xdist' 'python-twisted' 'python2-twisted' 'python-requests'
-              'python2-requests' 'python-hypothesis' 'python2-hypothesis')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
-sha512sums=('a1be7e06eb90d29a3dab1d734491fe42c021e1317a2a34799cf92139cae26343b1b852f27f7ddbb7133e3d6ea285d8266e26867737ee144ce24ba2c82f571996')
-
-prepare() {
-  rm -r pytest-$pkgver/_pytest/vendored_packages
-  sed -i "s/'_pytest.vendored_packages'//" pytest-$pkgver/setup.py
-  sed -i 's/assert numentries == 0/assert numentries == 26/' pytest-$pkgver/testing/python/collect.py
-
-  sed -i '/DeprecationWarning/a \    ignore:.*Support for __multicall__.*:DeprecationWarning' pytest-$pkgver/tox.ini
-  sed -i '/DeprecationWarning/a \    ignore:.*get_result.*which forces correct exception handling.*:DeprecationWarning' pytest-$pkgver/tox.ini
-
-  cp -a pytest-$pkgver{,-py2}
-
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-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-py' 'python-setuptools' 'python-pluggy')
-
-  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-py' 'python2-setuptools' 'python2-pluggy')
-
-  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{,2}
-  mv "$pkgdir"/usr/bin/pytest{,2}
-}

Copied: python-pytest/repos/community-any/PKGBUILD (from rev 266907, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-16 05:13:17 UTC (rev 266908)
@@ -0,0 +1,68 @@
+# $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.2.5
+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' 'python-pluggy'
+             'python2-pluggy')
+checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
+              'python2-tox' 'python-yaml' 'python2-yaml' 'python-pytest-xdist'
+              'python2-pytest-xdist' 'python-twisted' 'python2-twisted' 'python-requests'
+              'python2-requests' 'python-hypothesis' 'python2-hypothesis')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
+sha512sums=('312043d7e14eeaf5dcd86890f43b8a198482246c5fa4034b116db17e494e82c9a2f29662b7e290a4c0db2128aeb69953c5c77b07969f9e76700a4d788dffa1b2')
+
+prepare() {
+  rm -r pytest-$pkgver/_pytest/vendored_packages
+  sed -i "s/'_pytest.vendored_packages'//" pytest-$pkgver/setup.py
+  sed -i 's/assert numentries == 0/assert numentries == 26/' pytest-$pkgver/testing/python/collect.py
+
+  sed -i '/DeprecationWarning/a \    ignore:.*Support for __multicall__.*:DeprecationWarning' pytest-$pkgver/tox.ini
+  sed -i '/DeprecationWarning/a \    ignore:.*get_result.*which forces correct exception handling.*:DeprecationWarning' pytest-$pkgver/tox.ini
+
+  cp -a pytest-$pkgver{,-py2}
+
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+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-py' 'python-setuptools' 'python-pluggy')
+
+  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-py' 'python2-setuptools' 'python2-pluggy')
+
+  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{,2}
+  mv "$pkgdir"/usr/bin/pytest{,2}
+}



More information about the arch-commits mailing list