[arch-commits] Commit in python-flask-appconfig/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:07:14 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:07:14
Author: foutrelis
Revision: 748497
archrelease: copy trunk to community-staging-any
Added:
python-flask-appconfig/repos/community-staging-any/
python-flask-appconfig/repos/community-staging-any/PKGBUILD
(from rev 748495, python-flask-appconfig/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-flask-appconfig/repos/community-staging-any/PKGBUILD (from rev 748495, python-flask-appconfig/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:07:14 UTC (rev 748497)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-appconfig
+pkgver=0.11.1.20151214
+_commit=56528264cdc76dc1b00804b7f67908d3bb1b1b0e
+pkgrel=3
+pkgdesc="Configures Flask applications in a canonical way"
+url="https://github.com/mbr/flask-appconfig"
+license=('MIT')
+arch=('any')
+depends=('python-click' 'python-flask' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$_commit.tar.gz::https://github.com/mbr/flask-appconfig/archive/$_commit.tar.gz")
+sha512sums=('b04dbf4de2ebc99232d0a8300004c2b49be97cff35cf4b10c2c63ab43e6b740d4ee9a44cf578b7f3727403102da4197e99db02398ba5f247c28ae28283ca1199')
+
+prepare() {
+ mv flask-appconfig-{$_commit,$pkgver}
+}
+
+build() {
+ cd flask-appconfig-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd flask-appconfig-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd flask-appconfig-$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