Date: Monday, February 25, 2019 @ 11:24:45 Author: felixonmars Revision: 435715
archrelease: copy trunk to community-any Added: python-pluggy/repos/community-any/PKGBUILD (from rev 435714, python-pluggy/trunk/PKGBUILD) Deleted: python-pluggy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-25 11:24:28 UTC (rev 435714) +++ PKGBUILD 2019-02-25 11:24:45 UTC (rev 435715) @@ -1,54 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-pluggy -pkgname=(python-pluggy python2-pluggy) -pkgver=0.8.1 -pkgrel=1 -pkgdesc="Plugin and hook calling mechanisms for python" -arch=('any') -url="https://www.pluggypayments.com/docs/python" -license=('MIT') -makedepends=('python-setuptools-scm' 'python2-setuptools-scm') -checkdepends=('python-pytest-runner' 'python2-pytest-runner') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz") -sha512sums=('582ed10983f77aa21851998cd8808d14e026bb5e0fba129fbe8bc19000a864af66bb229cf1c3199833c5b5f6739276643f10ee5636922602f60f965715474b98') - -prepare() { - cp -a pluggy-$pkgver{,-py2} - - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver -} - -build() { - cd "$srcdir"/pluggy-$pkgver - python setup.py build - - cd "$srcdir"/pluggy-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pluggy-$pkgver - python setup.py pytest - - cd "$srcdir"/pluggy-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pluggy() { - depends=('python') - - cd pluggy-$pkgver - python setup.py install -O1 --root "$pkgdir" - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-pluggy() { - depends=('python2') - - cd pluggy-$pkgver-py2 - python2 setup.py install -O1 --root "$pkgdir" - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-pluggy/repos/community-any/PKGBUILD (from rev 435714, python-pluggy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-25 11:24:45 UTC (rev 435715) @@ -0,0 +1,54 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-pluggy +pkgname=(python-pluggy python2-pluggy) +pkgver=0.9.0 +pkgrel=1 +pkgdesc="Plugin and hook calling mechanisms for python" +arch=('any') +url="https://www.pluggypayments.com/docs/python" +license=('MIT') +makedepends=('python-setuptools-scm' 'python2-setuptools-scm') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz") +sha512sums=('e4adcd4de9758476a43c338baf7d13b0a1380739d7c6cc593537a3ec63a6491250adf0f33183e323f50695d9d0191a7d3378b1d36df44f9355625624ef1c4551') + +prepare() { + cp -a pluggy-$pkgver{,-py2} + + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver +} + +build() { + cd "$srcdir"/pluggy-$pkgver + python setup.py build + + cd "$srcdir"/pluggy-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pluggy-$pkgver + python setup.py pytest + + cd "$srcdir"/pluggy-$pkgver-py2 + python2 setup.py pytest +} + +package_python-pluggy() { + depends=('python') + + cd pluggy-$pkgver + python setup.py install -O1 --root "$pkgdir" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pluggy() { + depends=('python2') + + cd pluggy-$pkgver-py2 + python2 setup.py install -O1 --root "$pkgdir" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}