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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:55:42 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:55:42
  Author: felixonmars
Revision: 1059542

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 1059540, python-flask-compress/trunk/PKGBUILD)

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

Copied: python-flask-compress/repos/community-staging-any/PKGBUILD (from rev 1059540, python-flask-compress/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:55:42 UTC (rev 1059542)
@@ -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.8.0
+pkgrel=2
+pkgdesc='Compress responses in your Flask app'
+url='http://pypi.python.org/pypi/Flask-Compress/'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-flask')
+makedepends=('python-setuptools')
+source=(https://pypi.io/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz)
+sha256sums=('c132590e7c948877a96d675c13cbfa64edec0faafa2381678dea6f36aa49a552')
+sha512sums=('9bdc45b6d189e8b896a781dc48b761ac99a551a32bdaa9695556e7dabfd76f7ef98249397a31492e629ea35d82c5104d99b5803b9ecf9b2637cc802a87939f1c')
+
+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