[arch-commits] Commit in python-flask-compress/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:15:08 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:15:08
  Author: foutrelis
Revision: 748596

archrelease: copy trunk to community-staging-any

Added:
  python-flask-compress/repos/community-staging-any/
  python-flask-compress/repos/community-staging-any/PKGBUILD
    (from rev 748595, python-flask-compress/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-flask-compress/repos/community-staging-any/PKGBUILD (from rev 748595, python-flask-compress/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:15:08 UTC (rev 748596)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+
+_pyname=Flask-Compress
+pkgname=python-flask-compress
+pkgver=1.7.0
+pkgrel=2
+pkgdesc='Compress responses in your Flask app'
+url='http://pypi.python.org/pypi/Flask-Compress/'
+arch=('any')
+license=('BSD')
+depends=('python-flask')
+makedepends=('python-setuptools')
+source=(https://pypi.io/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz)
+sha256sums=('965e832684160871b5268f97879c5e85a88569cc6e3e353a7779215664eefdad')
+sha512sums=('63f51c24aa8115d4f7ec4188850ee61845a91bd598646e69b934bd550dcdde36f66fdc5d5549aebe35538d32c34556cc8f51d5f0feb17fe78711999d724c1ab8')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  python setup.py test
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list