Date: Sunday, August 28, 2022 @ 13:38:34 Author: dvzrv Revision: 1285089
archrelease: copy trunk to community-any Added: python-flufl.i18n/repos/community-any/PKGBUILD (from rev 1285088, python-flufl.i18n/trunk/PKGBUILD) Deleted: python-flufl.i18n/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-28 13:38:24 UTC (rev 1285088) +++ PKGBUILD 2022-08-28 13:38:34 UTC (rev 1285089) @@ -1,39 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> - -_name=flufl.i18n -pkgname=python-flufl.i18n -pkgver=4.0 -pkgrel=1 -pkgdesc="A high level API for internationalization" -arch=(any) -url="https://gitlab.com/warsaw/flufl.i18n" -license=(Apache) -depends=(python-atpublic) -makedepends=(python-build python-installer python-pdm-pep517) -checkdepends=(python-sybil python-pytest) -provides=(python-flufl-i18n) -replaces=(python-flufl-i18n) -source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) -sha512sums=('03e953af7e406d24a64d334647008e222cf74e5e055865638a52d8ec7e25edae44046aa4dfa8766b5a1458b335e9e29bd8b3e89703d8c8b28ab777375da19712') -b2sums=('6bd4a311c3df56b03a0d46164f7f1ee1eeeb257478a82515261894f4cdf3017b150f1e13ce95a08f50ed5e01cf736884c7ba05a96e3f6b90917418ed18462753') - -build() { - cd $_name-$pkgver - python -m build --wheel --no-isolation -} - -check() { - local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - - cd $_name-$pkgver - # install to temporary location, as importlib is used - python -m installer --destdir=test_dir dist/*.whl - export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH" - pytest -vv -c /dev/null -} - -package() { - cd $_name-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/" -} Copied: python-flufl.i18n/repos/community-any/PKGBUILD (from rev 1285088, python-flufl.i18n/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-28 13:38:34 UTC (rev 1285089) @@ -0,0 +1,39 @@ +# Maintainer: David Runge <dv...@archlinux.org> + +_name=flufl.i18n +pkgname=python-flufl.i18n +pkgver=4.1 +pkgrel=1 +pkgdesc="A high level API for internationalization" +arch=(any) +url="https://gitlab.com/warsaw/flufl.i18n" +license=(Apache) +depends=(python-atpublic) +makedepends=(python-build python-installer python-pdm-pep517) +checkdepends=(python-sybil python-pytest) +provides=(python-flufl-i18n) +replaces=(python-flufl-i18n) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha512sums=('22952551538dcf625a6d86cf986af6f282bdf0f7fa1d19159dddd0b842cada99998c0a8ce86b5053a8918434f585d674823493cbb86be8890664acd5c0afe227') +b2sums=('f4df0b9d3bf088c2c45f3bdcd798206f8e9db1e7006cccdca71b3a1afb7ab03aa567c4247106c5f17ea8921349a4e205c403b16fde4c52f5b7e0fb4132b6ee2b') + +build() { + cd $_name-$pkgver + python -m build --wheel --no-isolation +} + +check() { + local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + + cd $_name-$pkgver + # install to temporary location, as importlib is used + python -m installer --destdir=test_dir dist/*.whl + export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH" + pytest -vv -c /dev/null +} + +package() { + cd $_name-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/" +}