Date: Monday, July 4, 2022 @ 18:19:06 Author: felixonmars Revision: 1243947
archrelease: copy trunk to community-any Added: python-apispec/repos/community-any/PKGBUILD (from rev 1243946, python-apispec/trunk/PKGBUILD) Deleted: python-apispec/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-04 18:18:48 UTC (rev 1243946) +++ PKGBUILD 2022-07-04 18:19:06 UTC (rev 1243947) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-apispec -pkgver=5.2.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=('020d377e4dd9e2e3514cf48450bee9a5b957cb0d419f7fa4da35691b68cd108673b133d4ad07b908ca377b1418d087979eea409382ca743d350aec95b796f00f') - -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 1243946, python-apispec/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-04 18:19:06 UTC (rev 1243947) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-apispec +pkgver=5.2.2 +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=('16c6229619853671403e81edaa50ce87c2575cdb6c606502e08c086aa33b25db0cef0cd455c2c74a55138eaf95667f7ffe9ac8045cbeb415df4b623878a8831c') + +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 +}