Date: Sunday, October 3, 2021 @ 16:46:27 Author: felixonmars Revision: 1027209
archrelease: copy trunk to community-any Added: python-josepy/repos/community-any/PKGBUILD (from rev 1027208, python-josepy/trunk/PKGBUILD) Deleted: python-josepy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-03 16:46:09 UTC (rev 1027208) +++ PKGBUILD 2021-10-03 16:46:27 UTC (rev 1027209) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-josepy -pkgver=1.9.0 -pkgrel=1 -pkgdesc="JOSE protocol implementation in Python" -url="https://github.com/certbot/josepy" -license=('PerlArtistic') -arch=('any') -depends=('python-cryptography' 'python-pyopenssl' 'python-setuptools') -checkdepends=('python-pytest') -source=("https://pypi.io/packages/source/j/josepy/josepy-$pkgver.tar.gz") -sha512sums=('b3a64a579d23aa87323f01ae3859fcb2cd9a699f160e43ebe58c93e11e5d5c5031cd257af1fd0400d982929eb4c06495c9d4fa09580ffcb4f6a4c09d0f191bd8') - -prepare() { - # thou shalt not enforce coverage in distro packaging - # https://github.com/certbot/josepy/issues/34 - rm josepy-$pkgver/pytest.ini -} - -build() { - cd josepy-$pkgver - python setup.py build -} - -check() { - cd josepy-$pkgver - python -m pytest -} - -package() { - cd josepy-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-josepy/repos/community-any/PKGBUILD (from rev 1027208, python-josepy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-03 16:46:27 UTC (rev 1027209) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-josepy +pkgver=1.10.0 +pkgrel=1 +pkgdesc="JOSE protocol implementation in Python" +url="https://github.com/certbot/josepy" +license=('PerlArtistic') +arch=('any') +depends=('python-cryptography' 'python-pyopenssl' 'python-setuptools') +checkdepends=('python-pytest') +source=("https://pypi.io/packages/source/j/josepy/josepy-$pkgver.tar.gz") +sha512sums=('517476c4b4df35b066f48e20e2c31bf458b998553a740dbfa4a682a94353db1cc9d706cee9429cb34b9347e8d78b97bf4a8f930334b86febfe56f5c9f779b42f') + +prepare() { + # thou shalt not enforce coverage in distro packaging + # https://github.com/certbot/josepy/issues/34 + rm josepy-$pkgver/pytest.ini +} + +build() { + cd josepy-$pkgver + python setup.py build +} + +check() { + cd josepy-$pkgver + PYTHONPATH="$PWD/build/lib" pytest +} + +package() { + cd josepy-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}