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

Felix Yan felixonmars at archlinux.org
Thu Oct 25 16:27:12 UTC 2018


    Date: Thursday, October 25, 2018 @ 16:27:11
  Author: felixonmars
Revision: 399008

archrelease: copy trunk to community-any

Added:
  python-flask-caching/repos/community-any/
  python-flask-caching/repos/community-any/PKGBUILD
    (from rev 399007, python-flask-caching/trunk/PKGBUILD)

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

Copied: python-flask-caching/repos/community-any/PKGBUILD (from rev 399007, python-flask-caching/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-25 16:27:11 UTC (rev 399008)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-caching
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Adds caching support to your Flask application"
+url="https://github.com/sh4nks/flask-caching"
+license=('BSD')
+arch=('any')
+depends=('python-flask')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-redis')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sh4nks/flask-caching/archive/v$pkgver.tar.gz")
+sha512sums=('512b1c66d80a500f91a0f0ff1ae7461e023cd6907eaf765ca811d40debda29424ec73515f5ff6495bfefb5c2c8c10f40f134b8a4b91bafbf26ee1c413b6f3e55')
+
+build() {
+  cd flask-caching-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd flask-caching-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd flask-caching-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list