Date: Wednesday, May 19, 2021 @ 12:43:57 Author: felixonmars Revision: 936422
archrelease: copy trunk to community-any Added: python-prance/repos/community-any/PKGBUILD (from rev 936421, python-prance/trunk/PKGBUILD) Deleted: python-prance/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-19 12:43:41 UTC (rev 936421) +++ PKGBUILD 2021-05-19 12:43:57 UTC (rev 936422) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-prance -pkgver=0.21.0 -_openapi_commit=fbe62006211838a8bb7bf2433a1d15f1a5838a03 -pkgrel=1 -pkgdesc="Resolving Swagger/OpenAPI 2.0 and 3.0 Parser" -url="https://github.com/jfinkhaeuser/prance" -license=('custom:MITNFA') -arch=('any') -depends=('python-chardet' 'python-yaml' 'python-flex' 'python-click' 'python-requests' - 'python-six' 'python-semver') -makedepends=('python-setuptools') -checkdepends=('python-pytest-cov') -source=("$pkgname-$pkgver.tar.gz::https://github.com/jfinkhaeuser/prance/archive/v$pkgver.tar.gz" - "OpenAPI-Specification-$_openapi_commit.tar.gz::https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit.tar.gz") -sha512sums=('d465acc86322809ddbfaf117ffd18db67b7f9c830faf763e51318374247268a0ae1152404ca166cb844978d6c1693310825388264c86fd0982124edb6b000be5' - 'd7957f1cdaa681b4c163e6e0b35ed6b808f469c3fdbba86a5e7221bb3c0c980415dca145e7f57bcebed75624562e89a893841d17c9e0ff82df4f0ff65ffaa2ae') - -prepare() { - rmdir prance-$pkgver/tests/OpenAPI-Specification - ln -s "$srcdir"/OpenAPI-Specification-$_openapi_commit prance-$pkgver/tests/OpenAPI-Specification -} - -build() { - cd prance-$pkgver - python setup.py build -} - -check() { - cd prance-$pkgver - pytest -} - -package() { - cd prance-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} Copied: python-prance/repos/community-any/PKGBUILD (from rev 936421, python-prance/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-19 12:43:57 UTC (rev 936422) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-prance +pkgver=0.21.1 +_openapi_commit=fbe62006211838a8bb7bf2433a1d15f1a5838a03 +pkgrel=1 +pkgdesc="Resolving Swagger/OpenAPI 2.0 and 3.0 Parser" +url="https://github.com/jfinkhaeuser/prance" +license=('custom:MITNFA') +arch=('any') +depends=('python-chardet' 'python-yaml' 'python-flex' 'python-click' 'python-requests' + 'python-six' 'python-semver') +makedepends=('python-setuptools') +checkdepends=('python-pytest-cov') +source=("$pkgname-$pkgver.tar.gz::https://github.com/jfinkhaeuser/prance/archive/v$pkgver.tar.gz" + "OpenAPI-Specification-$_openapi_commit.tar.gz::https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit.tar.gz") +sha512sums=('111a717f8377d538aef94dd6d3884ea0c3b2e8ee46ba8e2a437e5b081453401f6575db4f3897a0ce878193081e86cee0057c9bca9563eadddce1d5779faa81eb' + 'd7957f1cdaa681b4c163e6e0b35ed6b808f469c3fdbba86a5e7221bb3c0c980415dca145e7f57bcebed75624562e89a893841d17c9e0ff82df4f0ff65ffaa2ae') + +prepare() { + rmdir prance-$pkgver/tests/OpenAPI-Specification + ln -s "$srcdir"/OpenAPI-Specification-$_openapi_commit prance-$pkgver/tests/OpenAPI-Specification +} + +build() { + cd prance-$pkgver + python setup.py build +} + +check() { + cd prance-$pkgver + pytest +} + +package() { + cd prance-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +}