Date: Saturday, November 16, 2019 @ 07:53:25 Author: felixonmars Revision: 529491
archrelease: copy trunk to community-any Added: python-pytest/repos/community-any/PKGBUILD (from rev 529490, 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-16 07:53:11 UTC (rev 529490) +++ PKGBUILD 2019-11-16 07:53:25 UTC (rev 529491) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Felix Kaiser <felix.kai...@fxkr.net> - -pkgname=python-pytest -pkgver=5.2.3 -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=('1b87a626e8aea25015bdc8847b6db25a509572efa4989a00de9d3380f05bc59f7222aae97efcfd175ddfc0324d0866ce24f723d9b3cd7041a93233e16fb8243a') - -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 529490, python-pytest/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-16 07:53:25 UTC (rev 529491) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Felix Kaiser <felix.kai...@fxkr.net> + +pkgname=python-pytest +pkgver=5.2.4 +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=('e50ff4a136535796795498049be84f5319247d69a046147f9a18decd193d27f2060b09031c4decd6d4d0c9f39800d17fe0c711cb450ce86ce33c486388dc025b') + +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 +}