Date: Tuesday, June 9, 2020 @ 19:58:30 Author: felixonmars Revision: 640910
archrelease: copy trunk to community-any Added: python2-pytest/repos/community-any/PKGBUILD (from rev 640909, python2-pytest/trunk/PKGBUILD) Deleted: python2-pytest/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-09 19:58:11 UTC (rev 640909) +++ PKGBUILD 2020-06-09 19:58:30 UTC (rev 640910) @@ -1,32 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Felix Kaiser <felix.kai...@fxkr.net> - -pkgname=python2-pytest -pkgver=4.6.10 -pkgrel=1 -pkgdesc="Simple powerful testing with Python" -arch=('any') -license=('MIT') -url="https://pytest.org/" -depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs' 'python2-more-itertools' - 'python2-atomicwrites' 'python2-wcwidth' 'python2-funcsigs' 'python2-pathlib2' - 'python2-importlib-metadata') -makedepends=('python2-setuptools-scm') -source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz") -sha512sums=('0e580c4081f092040cb1b533d7fc439b4b7f3af9e67270736e1cb40c917df1ac33620a738a96a09d41bd1425d0da9283a0e85843801a6b3e299d8b44dea0df78') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd pytest-$pkgver - python2 setup.py build -} - -package() { - cd 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{,2} - mv "$pkgdir"/usr/bin/pytest{,2} -} Copied: python2-pytest/repos/community-any/PKGBUILD (from rev 640909, python2-pytest/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-09 19:58:30 UTC (rev 640910) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Felix Kaiser <felix.kai...@fxkr.net> + +pkgname=python2-pytest +pkgver=4.6.11 +pkgrel=1 +pkgdesc="Simple powerful testing with Python" +arch=('any') +license=('MIT') +url="https://pytest.org/" +depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs' 'python2-more-itertools' + 'python2-atomicwrites' 'python2-wcwidth' 'python2-funcsigs' 'python2-pathlib2' + 'python2-importlib-metadata') +makedepends=('python2-setuptools-scm') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz") +sha512sums=('2be8549c67573c8544366198ef94f74e0aacfa5b321705a7262c069de7e532f7d29ab93ee69be6cc83828aad91af23eb9b8b7cf01d02c0badf488ef841ee4880') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd pytest-$pkgver + python2 setup.py build +} + +package() { + cd 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{,2} + mv "$pkgdir"/usr/bin/pytest{,2} +}