Date: Wednesday, April 25, 2018 @ 04:48:20
  Author: felixonmars
Revision: 317686

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-25 04:47:54 UTC (rev 317685)
+++ PKGBUILD    2018-04-25 04:48:20 UTC (rev 317686)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Felix Kaiser <felix.kai...@fxkr.net>
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.5.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' 
'python-pluggy'
-             'python2-pluggy' 'python-attrs' 'python2-attrs' 
'python-more-itertools'
-             'python2-more-itertools' 'python2-funcsigs')
-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=('3e67f411b45f0cce6921d65926b3c6b7bcf6169a8e96eb8f74465d795a49d690c7027db3cb3147868ce238d5b416a6e87de27728598e4a526bf6bbb7a5506913')
-
-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() {
-  # Expected failure due to xdist, also present on official travis
-
-  cd "$srcdir"/pytest-$pkgver
-  python setup.py test || warning "Tests failed"
-
-  cd "$srcdir"/pytest-$pkgver-py2
-  python2 setup.py test || warning "Tests failed"
-}
-
-package_python-pytest() {
-  depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 
'python-more-itertools')
-
-  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-funcsigs')
-
-  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 317685, 
python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-25 04:48:20 UTC (rev 317686)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Felix Kaiser <felix.kai...@fxkr.net>
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=3.5.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' 
'python-pluggy'
+             'python2-pluggy' 'python-attrs' 'python2-attrs' 
'python-more-itertools'
+             'python2-more-itertools' 'python2-funcsigs')
+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=('8eba7938a55719a4adcc9a8ddd62e28344b121163c32ad3b11d1ff5df4507428c861dc075facc7e58e89216c553ac5a929b604f932f607763c8b1ff5e4294bfe')
+
+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() {
+  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' 'python-attrs' 
'python-more-itertools')
+
+  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-funcsigs')
+
+  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}
+}

Reply via email to