[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, December 16, 2020 @ 18:53:16 Author: felixonmars Revision: 776892 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 776891, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 776891, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-12-16 18:53:16 UTC (rev 776892) @@ -0,0 +1,47 @@ +# 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/ +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Monday, November 9, 2020 @ 18:28:33 Author: felixonmars Revision: 747998 archrelease: copy trunk to community-staging-any Added: python-pytest/repos/community-staging-any/ python-pytest/repos/community-staging-any/PKGBUILD (from rev 747997, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: python-pytest/repos/community-staging-any/PKGBUILD (from rev 747997, python-pytest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-09 18:28:33 UTC (rev 747998) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgname=python-pytest +pkgver=6.1.2 +pkgrel=2 +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=('3524c99b6e2cd3be456de0fe7130d15a2ada96d52835a0786925082a513c7d42a5422bb0d64a8e7fac22880b2441a18918853fdfde2c819d48d6f0ce0d4e09df') + +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 (2 files)
Date: Wednesday, July 29, 2020 @ 08:39:22 Author: felixonmars Revision: 665749 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 665748, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 665748, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-07-29 08:39:22 UTC (rev 665749) @@ -0,0 +1,39 @@ +# 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 +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, November 20, 2019 @ 05:34:06 Author: felixonmars Revision: 530623 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 530622, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 530622, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-11-20 05:34:06 UTC (rev 530623) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgname=python-pytest +pkgver=5.3.0 +pkgrel=1 +pkgdesc="Simple powerful testing with Python" +arch=('any') +license=('MIT') +url="https://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=('c82962b66c32b3001997ea5c788bef3e3c20756c19bff6953c8c20a4266ff7b39f7a1ae0e15d1359d6a4676ccbcca9a30ce95d4139e173035af83d4f17d1665a') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +prepare() { + # Ignore warnings that break test + sed -e 's|2 passed in|2 passed|' -i pytest-$pkgver/testing/test_pdb.py +} + +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 (2 files)
Date: Saturday, October 26, 2019 @ 05:30:41 Author: foutrelis Revision: 520102 archrelease: copy trunk to community-staging-any Added: python-pytest/repos/community-staging-any/ python-pytest/repos/community-staging-any/PKGBUILD (from rev 520101, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 41 + 1 file changed, 41 insertions(+) Copied: python-pytest/repos/community-staging-any/PKGBUILD (from rev 520101, python-pytest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 05:30:41 UTC (rev 520102) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgname=python-pytest +pkgver=5.2.1 +pkgrel=2 +pkgdesc="Simple powerful testing with Python" +arch=('any') +license=('MIT') +url="https://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=('ed42b28ec51b5e601eb435468a990f78de41f0de73685b8f2936668604a2413a7b621119e8d5ff9bb62b3fe9aeabf006c778c374631c3ccca3284a98a18c4cb1') + +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 (2 files)
Date: Thursday, October 3, 2019 @ 22:05:32 Author: felixonmars Revision: 512585 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 512584, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 41 + 1 file changed, 41 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 512584, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-10-03 22:05:32 UTC (rev 512585) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgname=python-pytest +pkgver=5.2.0 +pkgrel=1 +pkgdesc="Simple powerful testing with Python" +arch=('any') +license=('MIT') +url="https://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=('37cfd18cea0c92bb4202b03b6afde9896a2517b97a3a20c9d7fc47c3b1ae304de188feb695f805ee5480e887408b419c29659523d73f44dd42aab623505237fc') + +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 (2 files)
Date: Monday, August 19, 2019 @ 04:12:46 Author: felixonmars Revision: 500131 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 500130, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 41 + 1 file changed, 41 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 500130, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-08-19 04:12:46 UTC (rev 500131) @@ -0,0 +1,41 @@ +# 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 +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, July 17, 2019 @ 03:04:57 Author: felixonmars Revision: 490118 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 490117, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 490117, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-07-17 03:04:57 UTC (rev 490118) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgname=python-pytest +pkgver=5.0.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') +makedepends=('python-setuptools-scm') +checkdepends=('lsof' 'python-nose' 'python-mock' 'python-tox' 'python-yaml' 'python-pytest-xdist' + 'python-twisted' 'python-requests' 'python-hypothesis') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz;) +sha512sums=('738f8a3b38ad36be6a66ad036999a9b78023c40dd6c9cb9bd01a023841011ae276fec556eb6dabf35638a6c7cf49304c140d90d5174ded710e0f51b51145e5cb') + +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 + 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 (2 files)
Date: Sunday, June 30, 2019 @ 05:39:53 Author: felixonmars Revision: 486110 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 486105, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 486105, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-06-30 05:39:53 UTC (rev 486110) @@ -0,0 +1,67 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=4.6.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' 'python-wcwidth' 'python2-wcwidth') +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=('7439a6f27c349f668c9f6b507109782eb56199c565b7ca386f9a420edcb3183ae9b447be0b507247589c3cc74b6a376de39ea05f8b65be2fbb2c04315e2cafa0') + +prepare() { + sed -i 's/==0/>=0/' pytest-$pkgver/setup.py + 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' 'python-wcwidth') + + 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-wcwidth' + '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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, November 14, 2018 @ 17:40:15 Author: felixonmars Revision: 407481 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 407480, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 407480, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-11-14 17:40:15 UTC (rev 407481) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=4.0.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=('7d2e96a7d117947b7531dfc3500e7317db2a840af599259a38b49ebb2b652d5357c5643a73c054e9aae8851acf889484a329cae071903dbba6292986cfabc877') + +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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Sunday, November 4, 2018 @ 17:58:53 Author: felixonmars Revision: 401486 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 401485, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 401485, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-11-04 17:58:53 UTC (rev 401486) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.10.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=('d095ee775a2c298559c7db5588082016a773b2f2cfb7e695a1d2da9006fc9f86e31df1b5f2278ad7f4dfdf00e30f981b00a101a5d1a0fa8654317c24663a9706') + +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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, October 17, 2018 @ 04:56:49 Author: felixonmars Revision: 394902 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 394901, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 394901, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-10-17 04:56:49 UTC (rev 394902) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.9.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=('22c2d69795df1653f58423b48565bb2083f497828707bdf20e57cfea14941c5480baf3283159cb7fe7b5ded966d5a2fb86a9281e64d1c1815b3abc36094052f8') + +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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Thursday, August 16, 2018 @ 13:42:06 Author: felixonmars Revision: 371974 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 371973, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 371973, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-08-16 13:42:06 UTC (rev 371974) @@ -0,0 +1,65 @@ +# $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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Saturday, June 30, 2018 @ 01:37:17 Author: felixonmars Revision: 347812 archrelease: copy trunk to community-staging-any Added: python-pytest/repos/community-staging-any/ python-pytest/repos/community-staging-any/PKGBUILD (from rev 347811, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-pytest/repos/community-staging-any/PKGBUILD (from rev 347811, python-pytest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 01:37:17 UTC (rev 347812) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.6.2 +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' '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=('1404476623a37668f49d9e9916e0abc29b87b85c58d34fb4d697017d5c64adb85185d58449493859cd1632f89318b80baed667a452efabff744153ce3106') + +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') + + 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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, June 20, 2018 @ 13:10:47 Author: felixonmars Revision: 344203 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 344202, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 344202, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-06-20 13:10:47 UTC (rev 344203) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.6.2 +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=('1404476623a37668f49d9e9916e0abc29b87b85c58d34fb4d697017d5c64adb85185d58449493859cd1632f89318b80baed667a452efabff744153ce3106') + +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') + + 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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Friday, June 1, 2018 @ 11:04:56 Author: felixonmars Revision: 335957 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 335956, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 335956, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-06-01 11:04:56 UTC (rev 335957) @@ -0,0 +1,65 @@ +# $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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Friday, February 2, 2018 @ 14:30:19 Author: felixonmars Revision: 288581 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 288580, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 288580, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-02-02 14:30:19 UTC (rev 288581) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.4.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' '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=('a0c6770915efc19fa1190e49219115af0b42aea0320309ba723fee0ebf020b91d1af809b71ecd0c489f45cfca5fabe97d344c1be52dc567f75e4306a8bd77606') + +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') + + 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-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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Wednesday, August 2, 2017 @ 14:44:18 Author: felixonmars Revision: 247440 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 247439, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 247439, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2017-08-02 14:44:18 UTC (rev 247440) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.2.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') +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=('26df9b2ce5b6ea6190613418af1086d0793eb58d5a65524d4a113ec6c75ad3b94b3e708b6d8dd3996d171aaf3c14b79a3adb4c480154c17bcdc9b2f28c45ef7a') + +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 + + 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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Saturday, December 24, 2016 @ 10:23:09 Author: felixonmars Revision: 201320 archrelease: copy trunk to community-staging-any Added: python-pytest/repos/community-staging-any/ python-pytest/repos/community-staging-any/PKGBUILD (from rev 201319, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-pytest/repos/community-staging-any/PKGBUILD (from rev 201319, python-pytest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-12-24 10:23:09 UTC (rev 201320) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.0.5 +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' '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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Monday, October 17, 2016 @ 03:30:08 Author: felixonmars Revision: 192409 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 192408, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 192408, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2016-10-17 03:30:08 UTC (rev 192409) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Felix Kaiser + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=3.0.3 +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' '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} +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Saturday, August 20, 2016 @ 15:08:31 Author: felixonmars Revision: 187188 archrelease: copy trunk to community-testing-any Added: python-pytest/repos/community-testing-any/ python-pytest/repos/community-testing-any/PKGBUILD (from rev 187187, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 68 + 1 file changed, 68 insertions(+) Copied: python-pytest/repos/community-testing-any/PKGBUILD (from rev 187187, python-pytest/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2016-08-20 15:08:31 UTC (rev 187188) @@ -0,0 +1,68 @@ +# $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 +}
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Saturday, September 19, 2015 @ 11:27:49 Author: fyan Revision: 140709 archrelease: copy trunk to community-staging-any Added: python-pytest/repos/community-staging-any/ python-pytest/repos/community-staging-any/PKGBUILD (from rev 140708, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: python-pytest/repos/community-staging-any/PKGBUILD (from rev 140708, python-pytest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2015-09-19 09:27:49 UTC (rev 140709) @@ -0,0 +1,57 @@ +# $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" +} +
[arch-commits] Commit in python-pytest/repos (2 files)
Date: Monday, March 17, 2014 @ 06:50:59 Author: fyan Revision: 107337 archrelease: copy trunk to community-staging-any Added: python-pytest/repos/community-staging-any/ python-pytest/repos/community-staging-any/PKGBUILD (from rev 107336, python-pytest/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: python-pytest/repos/community-staging-any/PKGBUILD (from rev 107336, python-pytest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2014-03-17 05:50:59 UTC (rev 107337) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan felixonm...@gmail.com +# Contributor: Felix Kaiser felix.kai...@fxkr.net + +pkgbase=python-pytest +pkgname=('python-pytest' 'python2-pytest') +pkgver=2.5.2 +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') +source=(http://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz;) + +prepare() { + cp -r pytest-${pkgver} python2-pytest-${pkgver} +} + +package_python-pytest() { + depends=('python' 'python-py') + + 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') + + cd python2-pytest-${pkgver} + 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 +} + +sha512sums=('d291f229f4c0a2132c437dde6ca04bf87701fe270c2fa314104badad9221ab866251890c66387d23fefd3ab1f928ee3b290dac21e3d62e7660af8903e85a2f36')