Date: Friday, May 6, 2022 @ 21:46:32 Author: anthraxx Revision: 1196071
archrelease: copy trunk to community-any Added: python-flask-compress/repos/community-any/PKGBUILD (from rev 1196070, python-flask-compress/trunk/PKGBUILD) Deleted: python-flask-compress/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-06 21:46:27 UTC (rev 1196070) +++ PKGBUILD 2022-05-06 21:46:32 UTC (rev 1196071) @@ -1,35 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Cedric Girard <girard.ced...@gmail.com> - -_pyname=Flask-Compress -pkgname=python-flask-compress -pkgver=1.11 -pkgrel=1 -pkgdesc='Compress responses in your Flask app' -url='http://pypi.python.org/pypi/Flask-Compress/' -arch=('any') -license=('BSD') -depends=('python' 'python-flask' 'python-brotli') -makedepends=('python-setuptools' 'python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel') -checkdepends=('python-pytest') -source=(https://pypi.io/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz) -sha256sums=('f569f32c446d6b25ca8e347d5003a0531811ef732678005b0036fc1c9eb1c21c') -sha512sums=('dd2ceca37eee968527f2008e9356f0ab89f2df46e6d874eff38b93a2cf326c9d24433f0adc8dfe7a7b72599a33f8d173f330aefcd4eea8650923a0466959d7fb') - -build() { - cd ${_pyname}-${pkgver} - python -m build --wheel --no-isolation -} - -check() { - cd ${_pyname}-${pkgver} - PYTHONPATH="build/lib" pytest -} - -package() { - cd ${_pyname}-${pkgver} - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: python-flask-compress/repos/community-any/PKGBUILD (from rev 1196070, python-flask-compress/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-06 21:46:32 UTC (rev 1196071) @@ -0,0 +1,35 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Cedric Girard <girard.ced...@gmail.com> + +_pyname=Flask-Compress +pkgname=python-flask-compress +pkgver=1.12 +pkgrel=1 +pkgdesc='Compress responses in your Flask app' +url='http://pypi.python.org/pypi/Flask-Compress/' +arch=('any') +license=('BSD') +depends=('python' 'python-flask' 'python-brotli') +makedepends=('python-setuptools' 'python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel') +checkdepends=('python-pytest') +source=(https://pypi.io/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz) +sha256sums=('e2159499f39d618a4d56ba0484e7b58b57956b9a2c6d3510f095f5bb14b7afc5') +sha512sums=('5712aff44aaaa379656e03f7b63fdef727721245cb9329e698a2e25aefca21a77202f5eb0c5f5828395647c694a5b417778a7b5db9eb592753a979d3994603a5') + +build() { + cd ${_pyname}-${pkgver} + python -m build --wheel --no-isolation +} + +check() { + cd ${_pyname}-${pkgver} + PYTHONPATH="build/lib" pytest +} + +package() { + cd ${_pyname}-${pkgver} + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: