Date: Sunday, February 7, 2021 @ 19:49:13 Author: felixonmars Revision: 848183
archrelease: copy trunk to community-any Added: python-apispec/repos/community-any/PKGBUILD (from rev 848181, python-apispec/trunk/PKGBUILD) Deleted: python-apispec/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-07 19:49:10 UTC (rev 848182) +++ PKGBUILD 2021-02-07 19:49:13 UTC (rev 848183) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-apispec -pkgver=4.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=('6eb719497fa35c408d711a91ee922d682eb138843cdebb7858a031b786e4b88e34ad643be4647bae17006f57e13c7e5b8828a2ed1626d2304f06ebe1ef2fc658') - -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 848181, python-apispec/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-07 19:49:13 UTC (rev 848183) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-apispec +pkgver=4.1.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=('12d846a96c360d19508500d5710f74ea1c4fd8dc4dbd5bf588aecfeca4dff76964c55365f4219f6726304d5fab7147f2f79ef9dad28780d1387b6b054a527572') + +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 +}