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

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 09:28:55
  Author: felixonmars
Revision: 777219

archrelease: copy trunk to community-testing-any

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

--+
 PKGBUILD |   94 ++---
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-17 09:28:40 UTC (rev 777218)
+++ PKGBUILD2020-12-17 09:28:55 UTC (rev 777219)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgname=python-pytest
-pkgver=6.2.0
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="https://pytest.org/";
-depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 
'python-packaging' 'python-pluggy'
- 'python-py' 'python-toml')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 
'python-nose' 'python-requests'
-  'python-xmlschema'
-  # Unlisted, but actually used. Check again after a while:
-  'python-decorator' 'python-docutils' 'python-jinja' 
'python-numpy' 'python-pexpect'
-  'python-pygments' 'python-twisted' 'python-pytest-xdist')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz";)
-sha512sums=('8dcf68e9ff6f18ea727c5c3d500fd84545fe0ad3913a6ea7d8d525a3d930ccdc4778cd7e2c0b1ecfe99d054a0feaeb522e456018e4b17baf0b75d8489c630409')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  sed -i '/_pytest.warning_types.PytestUnknownMarkWarning/a \
"ignore:Creating a LegacyVersion has been deprecated and will be removed in the 
next major release:DeprecationWarning"' pytest-$pkgver/pyproject.toml
-}
-
-build() {
-  cd pytest-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pytest-$pkgver
-  python setup.py egg_info
-  # pdb tests: https://github.com/pytest-dev/pytest/issues/8161
-  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py --deselect 
testing/test_debugging.py::TestPDB::test_pdb_interaction_doctest \
---deselect 
testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug \
---deselect 
testing/test_debugging.py::TestPDB::test_pdb_continue_with_recursive_debug \
---deselect 
testing/test_debugging.py::test_pdb_suspends_fixture_capturing
-}
-
-package() {
-  cd pytest-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 777218, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-17 09:28:55 UTC (rev 777219)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgname=python-pytest
+pkgver=6.2.1
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="https://pytest.org/";
+depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 
'python-packaging' 'python-pluggy'
+ 'python-py' 'python-toml')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 
'python-nose' 'python-requests'
+  'python-xmlschema'
+  # Unlisted, but actually used. Check again after a while:
+  'python-decorator' 'python-docutils' 'python-jinja' 
'python-numpy' 'python-pexpect'
+  'python-pygments' 'python-twisted' 'python-pytest-xdist')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz";)
+sha512sums=('c6816d9007e19276741ccf20d5c303b7dc1a66a0332fed81cda5ab1f1c68db5cdbe85c8dfeacbdf02482fe7ee4e0f72839912194b1f60c8c17a0b69b4faa1942')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  sed -i '/_pytest.warning_types.PytestUnknownMarkWarning/a \
"ignore:Creating a LegacyVersion has been deprecated and will be removed in the 
next major release:DeprecationWarning"' pytest-$pkgver/pyproject.toml
+}
+
+build() {
+  cd pytest-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pytest-$pkgver
+  python setup.py egg_info
+  # pdb tests: https://github.com/pytest-dev/pytest/issues/8161
+  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py --deselect 
testing/test_debugging.py::TestPDB::test_pdb_interaction_doctest \
+--deselect 
testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug \
+  

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

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 18:49:21
  Author: felixonmars
Revision: 666302

archrelease: copy trunk to community-testing-any

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

--+
 PKGBUILD |   78 ++---
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-31 18:49:06 UTC (rev 666301)
+++ PKGBUILD2020-07-31 18:49:21 UTC (rev 666302)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgname=python-pytest
-pkgver=6.0.0
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="https://pytest.org/";
-depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 
'python-packaging' 'python-pluggy'
- 'python-py' 'python-toml')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 
'python-nose' 'python-requests'
-  'python-xmlschema'
-  # Unlisted, but actually used. Check again after a while:
-  'python-decorator' 'python-docutils' 'python-jinja' 
'python-numpy' 'python-pexpect'
-  'python-twisted' 'python-pytest-xdist')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz";)
-sha512sums=('2c42c54a16a02b5d033527c3632e4e49d6fb82deee8a05ae1665fcd5f3978098c87599e8fb1bcd14a098d977c7d8588dc93b3b84398b5dc965d1b0c2740b446e')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd pytest-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pytest-$pkgver
-  python setup.py egg_info
-  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py
-}
-
-package() {
-  cd pytest-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 666301, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-31 18:49:21 UTC (rev 666302)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgname=python-pytest
+pkgver=6.0.1
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="https://pytest.org/";
+depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 
'python-packaging' 'python-pluggy'
+ 'python-py' 'python-toml')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 
'python-nose' 'python-requests'
+  'python-xmlschema'
+  # Unlisted, but actually used. Check again after a while:
+  'python-decorator' 'python-docutils' 'python-jinja' 
'python-numpy' 'python-pexpect'
+  'python-pygments' 'python-twisted' 'python-pytest-xdist')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz";)
+sha512sums=('3bf476f5e27254c3e0f5553c9bcde71599bb857ae182f65c579fb6709794913427c65f3235d2c6cb990bca0f39920b836f05cfe52817b47f688f5cf1f4c5e047')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pytest-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pytest-$pkgver
+  python setup.py egg_info
+  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py
+}
+
+package() {
+  cd pytest-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2019-08-20 Thread Felix Yan via arch-commits
Date: Wednesday, August 21, 2019 @ 03:09:07
  Author: felixonmars
Revision: 500377

archrelease: copy trunk to community-testing-any

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

--+
 PKGBUILD |   82 ++---
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-08-21 03:08:55 UTC (rev 500376)
+++ PKGBUILD2019-08-21 03:09:07 UTC (rev 500377)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgname=python-pytest
-pkgver=5.1.0
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="http://pytest.org/";
-depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 
'python-more-itertools'
- 'python-atomicwrites' 'python-wcwidth' 'python-importlib-metadata')
-makedepends=('python-setuptools-scm')
-checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 
'python-hypothesis'
-  'python-argcomplete' 'python-xmlschema'
-  # Unlisted, but actually used. Check again after a while:
-  'python-numpy' 'python-twisted' 'python-pytest-xdist' 
'python-decorator'
-  'python-jinja' 'python-pexpect')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz";)
-sha512sums=('d6d112fe390d890ca58ba685024890f624456d5069f32637fc054db1f817609b48c01a42d3a97b362d6906b4705a37ebd73a270a4a86256f2ffa7b2a1b153aa6')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd pytest-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
-
-  cd pytest-$pkgver
-  python setup.py egg_info
-  PYTHONPATH="$PWD"/build/lib python src/pytest.py -k 'not 
test_collect_pyargs_with_testpaths'
-}
-
-package() {
-  cd pytest-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 500376, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-08-21 03:09:07 UTC (rev 500377)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgname=python-pytest
+pkgver=5.1.1
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="http://pytest.org/";
+depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 
'python-more-itertools'
+ 'python-atomicwrites' 'python-wcwidth' 'python-importlib-metadata')
+makedepends=('python-setuptools-scm')
+checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 
'python-hypothesis'
+  'python-argcomplete' 'python-xmlschema'
+  # Unlisted, but actually used. Check again after a while:
+  'python-numpy' 'python-twisted' 'python-pytest-xdist' 
'python-decorator'
+  'python-jinja' 'python-pexpect')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz";)
+sha512sums=('97fa8b8eae177128e8ab5063d06375fd23c16079767040dce6cf16efb8910e2fd18a48af90dd1307673bf35265204c8a2d69cfb36959ccab84ad59745de882f9')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pytest-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
+
+  cd pytest-$pkgver
+  python setup.py egg_info
+  PYTHONPATH="$PWD"/build/lib python src/pytest.py -k 'not 
test_collect_pyargs_with_testpaths'
+}
+
+package() {
+  cd pytest-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


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

2018-08-18 Thread Felix Yan via arch-commits
Date: Saturday, August 18, 2018 @ 15:47:53
  Author: felixonmars
Revision: 372663

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-08-18 15:47:27 UTC (rev 372662)
+++ PKGBUILD2018-08-18 15:47:53 UTC (rev 372663)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.7.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=('2980d0d8d60536e6438d0375ec05808e048ea1a88ca73e0cbd9f93ca7dfb0341a172f006e75fa1cc178a1fea56db2b7177fa1dbcd205e52577be0d20d70cb793')
-
-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
-  PYTHONPATH="$PWD"/build/lib python src/pytest.py
-
-  cd "$srcdir"/pytest-$pkgver-py2
-  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
-}
-
-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-testing-any/PKGBUILD (from rev 372662, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-08-18 15:47:53 UTC (rev 372663)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=3.7.2
+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=('7fe8fa7b26a57b79555a44a0c8c30324a73110b977a80a1b4250b3c207f5ec422ca11a44baa5a5767eb94304430f59d584aefc839cf02f8fce3a45cfdf6e02b0')
+
+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
+  PYTHONPATH="$PWD"/build/lib python src/pytest.py
+
+  cd "$srcdir"/pytest-$pkgver-py2
+  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
+}
+
+package_python-pytest() {
+  depends=('python-py' 'python-setuptools' 

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

2018-06-05 Thread Felix Yan via arch-commits
Date: Tuesday, June 5, 2018 @ 14:18:15
  Author: felixonmars
Revision: 340520

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-06-05 14:18:01 UTC (rev 340519)
+++ PKGBUILD2018-06-05 14:18:15 UTC (rev 340520)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.6.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' 'python-atomicwrites' 
'python2-atomicwrites'
- '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=('39e3e48bb5f4d28e4e2e8b7ce75ef85270548e9ab6f0851b7cd42fd96b454ca56d3250b48cb803f777635077bff3aecabed277969e41c4f179f4b4be19276b8d')
-
-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'
-   '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')
-
-  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-testing-any/PKGBUILD (from rev 340519, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-06-05 14:18:15 UTC (rev 340520)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=3.6.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' 'python-atomicwrites' 
'python2-atomicwrites'
+ '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=('37d725135ef1e0976f308dde541c593b7ad8347f988f0683dc89c113049a6560888f4e0605851898fc308781263f624506ff5f3a8bd44625aa142a0601e6b55e')
+
+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
+  PYTHONPATH="$PWD"/build/lib python src/pytest.py
+
+  cd "$srcdir"/pytest-$pkgver-py2
+  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
+}
+
+package_python-pytest() {
+  depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 
'python-more-itertools'
+   'python-atomicwrites')
+
+  cd pytest-$pkgver
+  python setup.py i

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

2016-08-23 Thread Felix Yan
Date: Wednesday, August 24, 2016 @ 03:55:34
  Author: felixonmars
Revision: 187438

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2016-08-24 03:55:10 UTC (rev 187437)
+++ PKGBUILD2016-08-24 03:55:34 UTC (rev 187438)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.0.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-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
-}
-
-# Tests hang as of 3.0.0
-check_disabled() {
-  cd "$srcdir"/pytest
-  # 1 xdist-related failure
-  python setup.py test || warning "Tests failed"
-
-  cd "$srcdir"/pytest-py2
-  # 1 xdist-related failure
-  python2 setup.py test || warning "Tests failed"
-}
-
-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
-
-  rm "$pkgdir"/usr/bin/pytest
-}
-
-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}
-  rm "$pkgdir"/usr/bin/pytest
-}

Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 187437, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-08-24 03:55:34 UTC (rev 187438)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=3.0.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-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
+}
+
+# Tests hang as of 3.0.0
+check_disabled() {
+  cd "$srcdir"/pytest
+  # 1 xdist-related failure
+  python setup.py test || warning "Tests failed"
+
+  cd "$srcdir"/pytest-py2
+  # 1 xdist-related failure
+  python2 setup.py test || warning "Tests failed"
+}
+
+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
+
+  rm "$pkgdir"/usr/bin/pytest
+}
+
+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}
+  rm "$p

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

2015-09-29 Thread Felix Yan
Date: Wednesday, September 30, 2015 @ 04:42:22
  Author: fyan
Revision: 142233

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2015-09-30 02:42:02 UTC (rev 142232)
+++ PKGBUILD2015-09-30 02:42:22 UTC (rev 142233)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Felix Kaiser 
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=2.8.0
-pkgrel=2
-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' 
'python2-enum34'
-  'python-pexpect' 'python2-pexpect' 'python-pytest-xdist' 
'python2-pytest-xdist')
-source=("https://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.zip";)
-sha512sums=('98f7131c3396848ef7dbcf67e21e0329f8a3b771b3f8b832c1894758b34a2f852209f809001da856cfe8ea3773b257405ae2d5f8a04152242b8692e1511289ed')
-
-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-testing-any/PKGBUILD (from rev 142232, 
python-pytest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2015-09-30 02:42:22 UTC (rev 142233)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Felix Kaiser 
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=2.8.1.20150930
+_commit=e9240f7eeeca501bcc87a052f3dc763d31eba119
+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-yaml' 'python2-yaml' 
'python2-enum34'
+  'python-pexpect' 'python2-pexpect' 'python-pytest-xdist' 
'python2-pytest-xdist'
+  'python-zope-interface' 'python2-zope-interface')
+  # 'python-twisted' 'python2-twisted' disabled as they don't 
support python 3.5 for now
+source=("git+https://github.com/pytest-dev/pytest.git#commit=$_commit";)
+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 || warning "Tests failed"
+  # https://github.com/pytest-dev/pytest/issues/927
+}
+
+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" "${pkgdir}/usr/bin/py.test2"
+}
+