Date: Friday, September 9, 2022 @ 13:30:56 Author: felixonmars Revision: 1297247
archrelease: copy trunk to community-any Added: python-warlock/repos/community-any/PKGBUILD (from rev 1297246, python-warlock/trunk/PKGBUILD) Deleted: python-warlock/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-09 13:30:37 UTC (rev 1297246) +++ PKGBUILD 2022-09-09 13:30:56 UTC (rev 1297247) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-warlock -pkgver=2.0.0 -pkgrel=1 -pkgdesc="Python object model built on JSON schema and JSON patch." -arch=('any') -license=('Apache') -url="https://github.com/bcwaldon/warlock" -depends=('python-jsonschema' 'python-jsonpatch') -makedepends=('python-build' 'python-installer' 'python-poetry') -checkdepends=('python-pytest') -source=("$pkgname-$pkgver.tar.gz::https://github.com/bcwaldon/warlock/archive/$pkgver.tar.gz") -sha512sums=('56ef0aaf8d7bb706e79832d606eaa2c927dd43880a09d339388cae0d629815b2c31bf53ae6005d02fb4d91708ac889586e635b2cdd068f6498c97f6b2276b1b5') - -prepare() { - cd warlock-$pkgver - sed -i '/--cov/d' pytest.ini -} - -build() { - cd warlock-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd warlock-$pkgver - pytest -} - -package() { - cd warlock-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl -} Copied: python-warlock/repos/community-any/PKGBUILD (from rev 1297246, python-warlock/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-09 13:30:56 UTC (rev 1297247) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-warlock +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Python object model built on JSON schema and JSON patch." +arch=('any') +license=('Apache') +url="https://github.com/bcwaldon/warlock" +depends=('python-jsonschema' 'python-jsonpatch') +makedepends=('python-build' 'python-installer' 'python-poetry-core') +checkdepends=('python-pytest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/bcwaldon/warlock/archive/$pkgver.tar.gz") +sha512sums=('f354f0dd2af524a9e09ed03b072e1f68859fc70bf5ec083f8853fde2f1cec3172bef42318df176a3cf5fa48d93f030010db81d710961f2b05a092a4ee25041c1') + +prepare() { + cd warlock-$pkgver + sed -i '/--cov/d' pytest.ini +} + +build() { + cd warlock-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd warlock-$pkgver + pytest +} + +package() { + cd warlock-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +}