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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:33:26 UTC 2019


    Date: Monday, November 4, 2019 @ 05:33:25
  Author: felixonmars
Revision: 523206

archrelease: copy trunk to community-staging-any

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

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

Copied: python-flask-nav/repos/community-staging-any/PKGBUILD (from rev 523205, python-flask-nav/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:33:25 UTC (rev 523206)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-nav
+pkgver=0.6
+pkgrel=2
+pkgdesc="Easily create navigation for Flask applications"
+url="https://github.com/mbr/flask-nav"
+license=('MIT')
+arch=('any')
+depends=('python-flask' 'python-visitor' 'python-dominate')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mbr/flask-nav/archive/$pkgver.tar.gz")
+sha512sums=('a7930687425a53fac9ad9a7cb65c2e2a759a0c9660189965bf37ea6e9925dd869074d37a283801631b3e6c3391f9f4167e0a36294104f72970e876b5a7a0930c')
+
+build() {
+  cd flask-nav-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd flask-nav-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd flask-nav-$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