Date: Tuesday, February 4, 2020 @ 12:00:03 Author: mtorromeo Revision: 562029
archrelease: copy trunk to community-any Added: python-invoke/repos/community-any/PKGBUILD (from rev 562028, python-invoke/trunk/PKGBUILD) Deleted: python-invoke/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-04 11:59:46 UTC (rev 562028) +++ PKGBUILD 2020-02-04 12:00:03 UTC (rev 562029) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-invoke -pkgver=1.4.0 -pkgrel=1 -pkgdesc="Pythonic task execution" -url="https://github.com/pyinvoke/invoke" -license=('BSD') -arch=('any') -depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-mock' 'python-pytest-relaxed') -source=("https://pypi.io/packages/source/i/invoke/invoke-$pkgver.tar.gz") -sha512sums=('a6479780bd9e297c500b1f695bc5aa423000d4732a40d77ab1a175823f3a7dcf538cd040904fc62937c7df746850f92b276eb3513db0413bd74a30404d3ee395') - -prepare() { - find invoke-$pkgver -type f -name '*.pyc' -delete -} - -build() { - cd "$srcdir"/invoke-$pkgver - python setup.py build -} - -check() { - cd "$srcdir"/invoke-$pkgver - python setup.py pytest || warning "Tests failed" -} - -package() { - cd invoke-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-invoke/repos/community-any/PKGBUILD (from rev 562028, python-invoke/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-04 12:00:03 UTC (rev 562029) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-invoke +pkgver=1.4.1 +pkgrel=1 +pkgdesc="Pythonic task execution" +url="https://github.com/pyinvoke/invoke" +license=('BSD') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-mock' 'python-pytest-relaxed') +source=("https://pypi.io/packages/source/i/invoke/invoke-$pkgver.tar.gz") +sha512sums=('9076a1e643e3496b180d486de48efe599eddafc3e8ac32ab5cfcb27c5aabfd4ea360c0e2e59f96aceb65f3453b5ff2c228bf7d76635fe62854fe092b1ebdf3b2') + +prepare() { + find invoke-$pkgver -type f -name '*.pyc' -delete +} + +build() { + cd "$srcdir"/invoke-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/invoke-$pkgver + python setup.py pytest || warning "Tests failed" +} + +package() { + cd invoke-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}