Date: Wednesday, November 27, 2019 @ 05:25:47 Author: felixonmars Revision: 533747
archrelease: copy trunk to community-any Added: python-pytest/repos/community-any/PKGBUILD (from rev 533746, python-pytest/trunk/PKGBUILD) Deleted: python-pytest/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-27 05:25:38 UTC (rev 533746) +++ PKGBUILD 2019-11-27 05:25:47 UTC (rev 533747) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Felix Kaiser <felix.kai...@fxkr.net> - -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 -} Copied: python-pytest/repos/community-any/PKGBUILD (from rev 533746, python-pytest/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-27 05:25:47 UTC (rev 533747) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Felix Kaiser <felix.kai...@fxkr.net> + +pkgname=python-pytest +pkgver=5.3.1 +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=('cfe2396d809faa88506c3d6041ebd9f7e91ba143ff23f59cdb3e3ca887c456fd3c9b563a647d1978b14ae3effcc1376ec480b5b7e4f46a40daa7ff4efd6f1ddf') + +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 +}