Date: Thursday, September 24, 2020 @ 21:22:04 Author: felixonmars Revision: 711916
archrelease: copy trunk to community-testing-any Added: python-vine/repos/community-testing-any/ python-vine/repos/community-testing-any/PKGBUILD (from rev 711915, python-vine/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: python-vine/repos/community-testing-any/PKGBUILD (from rev 711915, python-vine/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-09-24 21:22:04 UTC (rev 711916) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-vine +pkgver=5.0.0 +pkgrel=1 +pkgdesc="Promises, promises, promises" +arch=('any') +license=('BSD') +url="https://github.com/celery/vine" +depends=('python-case') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/celery/vine/archive/v$pkgver.tar.gz") +sha512sums=('db0598b05235a61416958e09582b2b1cd504ba54c04e325ade552fa76886463f447d8f6b423a0f9db777ae441c4898898e9acf2ed2e9c1d5c040bc703b226e97') + +build() { + cd "$srcdir"/vine-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/vine-$pkgver + python setup.py test +} + +package() { + cd vine-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}