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

Felix Yan felixonmars at archlinux.org
Tue Feb 19 08:10:01 UTC 2019


    Date: Tuesday, February 19, 2019 @ 08:10:00
  Author: felixonmars
Revision: 434343

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-19 08:09:42 UTC (rev 434342)
+++ PKGBUILD	2019-02-19 08:10:00 UTC (rev 434343)
@@ -1,66 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=4.2.1
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="http://pytest.org/"
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-pluggy'
-             'python2-pluggy' 'python-attrs' 'python2-attrs' 'python-more-itertools'
-             'python2-more-itertools' 'python-atomicwrites' 'python2-atomicwrites'
-             'python2-funcsigs' 'python2-pathlib2')
-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=('402e7aa19e8508e5b008e21c7465939bdaafb8ebc023b95295dcd5a6c6b55c2a12675ce10a1f2a4fadd67a73d42a03f8af0cad4b6969f05100cc80d29ecc15d7')
-
-prepare() {
-  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() {
-  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
-
-  cd "$srcdir"/pytest-$pkgver
-  PYTHONPATH="$PWD"/build/lib python src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
-
-  cd "$srcdir"/pytest-$pkgver-py2
-  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
-}
-
-package_python-pytest() {
-  depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools'
-           'python-atomicwrites')
-
-  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' 'python2-attrs'
-           'python2-more-itertools' 'python2-atomicwrites' 'python2-funcsigs' 'python2-pathlib2')
-
-  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 434342, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-19 08:10:00 UTC (rev 434343)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="http://pytest.org/"
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-pluggy'
+             'python2-pluggy' 'python-attrs' 'python2-attrs' 'python-more-itertools'
+             'python2-more-itertools' 'python-atomicwrites' 'python2-atomicwrites'
+             'python2-funcsigs' 'python2-pathlib2')
+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=('916d87693982d1adfdeace420ea94798f7feabd9be74f3b427b485e4a27065e1e44c8adc915792e1ecc8e6d7bbe8f3ae365d9234015387fbd34356b8b7b7b6a3')
+
+prepare() {
+  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() {
+  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
+
+  cd "$srcdir"/pytest-$pkgver
+  PYTHONPATH="$PWD"/build/lib python src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
+
+  cd "$srcdir"/pytest-$pkgver-py2
+  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
+}
+
+package_python-pytest() {
+  depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools'
+           'python-atomicwrites')
+
+  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' 'python2-attrs'
+           'python2-more-itertools' 'python2-atomicwrites' 'python2-funcsigs' 'python2-pathlib2')
+
+  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