[arch-commits] Commit in python-flask-script/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Jul 3 19:57:08 UTC 2018
Date: Tuesday, July 3, 2018 @ 19:57:08
Author: jelle
Revision: 351529
upgpkg: python-flask-script 2.0.6-2
python 3.7 rebuild
Modified:
python-flask-script/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-03 19:56:08 UTC (rev 351528)
+++ PKGBUILD 2018-07-03 19:57:08 UTC (rev 351529)
@@ -6,7 +6,7 @@
pkgbase=python-flask-script
pkgname=('python2-flask-script' 'python-flask-script')
pkgver=2.0.6
-pkgrel=1
+pkgrel=2
pkgdesc='Flask extension to help writing external scripts for Flask applications'
url='https://github.com/smurfix/flask-script'
arch=('any')
@@ -14,12 +14,21 @@
makedepends=('python-setuptools' 'python-flask'
'python2-setuptools' 'python2-flask')
checkdepends=('python-pytest' 'python2-pytest')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/smurfix/flask-script/archive/v${pkgver}.tar.gz)
-sha256sums=('1c18e25966e966e6ffa9e8798840b1e663f471cba09be8e463e1b0addf4e76ef')
-sha512sums=('0b1237436e6c1c1f01c63596e99ecf3a25c48b38b6f26b9a35dd4b3637d8133ee06126497a9b08100eab7351e4a7992ab926e89efc9f3a89b5ef6463251cf48f')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/smurfix/flask-script/archive/v${pkgver}.tar.gz
+ flask.ext.script_import.patch::https://github.com/smurfix/flask-script/commit/fcf894b6e4d0ad17489480b722c870aaea600db1.patch)
+sha256sums=('1c18e25966e966e6ffa9e8798840b1e663f471cba09be8e463e1b0addf4e76ef'
+ 'cb1feb6965baf7c7e9250e8eecfd821bd57d0432d8c15ac83ff66e7f0a87972a')
+sha512sums=('0b1237436e6c1c1f01c63596e99ecf3a25c48b38b6f26b9a35dd4b3637d8133ee06126497a9b08100eab7351e4a7992ab926e89efc9f3a89b5ef6463251cf48f'
+ '7019325c5d04c3cad3fc220aa0cece0e76207fc47f69035ddab9bf59fed9a7d8cdf502e895d7de2bbd1d65b834666b26ca0f50003bc4ad6999453b0506a036d2')
prepare() {
cp -ra ${_pkgname}-${pkgver}{,-py2}
+ (cd ${_pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/flask.ext.script_import.patch
+ )
+ (cd ${_pkgname}-${pkgver}-py2
+ patch -Np1 -i ${srcdir}/flask.ext.script_import.patch
+ )
}
build() {
More information about the arch-commits
mailing list