Date: Friday, July 30, 2021 @ 18:39:59 Author: felixonmars Revision: 991037
archrelease: copy trunk to community-any Added: python-apispec/repos/community-any/PKGBUILD (from rev 991036, python-apispec/trunk/PKGBUILD) Deleted: python-apispec/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-30 18:39:41 UTC (rev 991036) +++ PKGBUILD 2021-07-30 18:39:59 UTC (rev 991037) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-apispec -pkgver=4.7.1 -pkgrel=1 -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=('e5ead9a867d9dd18f2fb7509b6ef4afd9ec04cc102f55684a66e8f5ebe1b8e3e4129c62b7fd50f0a337547336375cee612e1bec620fa957f8f90d11968538c8e') - -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-any/PKGBUILD (from rev 991036, python-apispec/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-30 18:39:59 UTC (rev 991037) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-apispec +pkgver=5.0.0 +pkgrel=1 +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=('1e3d4c06713081d90d5d8650e7aeedd12248ef9a43ced6681be4e9dbf4563b7390cabf3423ea2c1bfda6900cd193efa4e2cacdac77350fcf2e83cfc30580c98e') + +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 +}