Date: Thursday, October 31, 2019 @ 17:09:22 Author: felixonmars Revision: 521279
archrelease: copy trunk to community-staging-any Added: python-apispec/repos/community-staging-any/PKGBUILD (from rev 521278, python-apispec/trunk/PKGBUILD) Deleted: python-apispec/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-31 17:09:11 UTC (rev 521278) +++ PKGBUILD 2019-10-31 17:09:22 UTC (rev 521279) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-apispec -pkgver=3.0.0 -pkgrel=2 -pkgdesc="A pluggable API specification generator. Currently supports the OpenAPI Specification." -url="https://github.com/marshmallow-code/apispec" -license=('MIT') -arch=('any') -depends=('python') -optdepends=('python-yaml: for yaml support' - 'python-prance: for validation' - 'python-openapi-spec-validator: for validation') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-tornado' 'python-bottle' 'python-marshmallow' - 'python-flask' 'python-prance' 'python-yaml' 'python-mock' - 'python-openapi-spec-validator') -source=("$pkgname-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz") -sha512sums=('7bcdcc2f1d8d0692228a5f1731ef6e23608a7e96a4a30fe294977ec3f304294f04c1649d9e8a93bbba2ad1c2a85c42c8cf2db4773478525eb1127c8c87be4af8') - -build() { - cd apispec-$pkgver - python setup.py build -} - -check() { - cd apispec-$pkgver - python setup.py pytest -} - -package() { - cd apispec-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-apispec/repos/community-staging-any/PKGBUILD (from rev 521278, python-apispec/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-31 17:09:22 UTC (rev 521279) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-apispec +pkgver=3.0.0 +pkgrel=3 +pkgdesc="A pluggable API specification generator. Currently supports the OpenAPI Specification." +url="https://github.com/marshmallow-code/apispec" +license=('MIT') +arch=('any') +depends=('python') +optdepends=('python-yaml: for yaml support' + 'python-prance: for validation' + 'python-openapi-spec-validator: for validation') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-tornado' 'python-bottle' 'python-marshmallow' + 'python-flask' 'python-prance' 'python-yaml' 'python-mock' + 'python-openapi-spec-validator') +source=("$pkgname-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz") +sha512sums=('7bcdcc2f1d8d0692228a5f1731ef6e23608a7e96a4a30fe294977ec3f304294f04c1649d9e8a93bbba2ad1c2a85c42c8cf2db4773478525eb1127c8c87be4af8') + +build() { + cd apispec-$pkgver + python setup.py build +} + +check() { + cd apispec-$pkgver + python setup.py pytest +} + +package() { + cd apispec-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}