[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Mon Jan 2 20:24:02 UTC 2017


    Date: Monday, January 2, 2017 @ 20:24:01
  Author: jelle
Revision: 204434

initial commit

dependency of the arch-security tracker \o/

Added:
  python-flask-talisman/
  python-flask-talisman/repos/
  python-flask-talisman/trunk/
  python-flask-talisman/trunk/PKGBUILD

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

Added: python-flask-talisman/trunk/PKGBUILD
===================================================================
--- python-flask-talisman/trunk/PKGBUILD	                        (rev 0)
+++ python-flask-talisman/trunk/PKGBUILD	2017-01-02 20:24:01 UTC (rev 204434)
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+_pyname=flask-talisman
+pkgbase=python-flask-talisman
+pkgname=('python-flask-talisman' 'python2-flask-talisman')
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='HTTP security headers for Flask'
+url='https://github.com/GoogleCloudPlatform/flask-talisman'
+arch=('any')
+license=('APACHE')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-flask' 'python2-flask')
+checkdepends=('python-nose' 'python2-nose')
+source=("${pkgname}-${pkgver}.tar.gz"::https://github.com/GoogleCloudPlatform/flask-talisman/archive/v${pkgver}.tar.gz)
+md5sums=('d141d90c95ad34234578eeb8a012825f')
+
+package_python-flask-talisman() {
+  depends=('python-flask' 'python-six')
+  cd ${_pyname}-${pkgver}
+
+  python setup.py install --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_python2-flask-talisman() {
+  depends=('python2-flask' 'python2-six')
+  cd ${_pyname}-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+
+  nosetests flask_talisman
+  nosetests2 flask_talisman
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: python-flask-talisman/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list