[arch-commits] Commit in python-flask-script/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri May 8 12:19:08 UTC 2020


    Date: Friday, May 8, 2020 @ 12:19:08
  Author: jelle
Revision: 625620

archrelease: copy trunk to community-any

Added:
  python-flask-script/repos/community-any/PKGBUILD
    (from rev 625619, python-flask-script/trunk/PKGBUILD)
Deleted:
  python-flask-script/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 +++++++++++++++++++++++--------------------------------------
 1 file changed, 44 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 12:19:00 UTC (rev 625619)
+++ PKGBUILD	2020-05-08 12:19:08 UTC (rev 625620)
@@ -1,68 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
-# Contributor: mitsuse <mitsuset - gmail>
-
-_pkgname=flask-script
-pkgbase=python-flask-script
-pkgname=('python2-flask-script' 'python-flask-script')
-pkgver=2.0.6
-pkgrel=4
-pkgdesc='Flask extension to help writing external scripts for Flask applications'
-url='https://github.com/smurfix/flask-script'
-arch=('any')
-license=('BSD')
-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
-        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() {
-  (cd ${_pkgname}-${pkgver}
-    python setup.py build
-  )
-  (cd ${_pkgname}-${pkgver}-py2
-    python2 setup.py build
-  )
-}
-
-check() {
-  (cd ${_pkgname}-${pkgver}
-    py.test tests.py
-  )
-  (cd ${_pkgname}-${pkgver}-py2
-    py.test2 tests.py
-  )
-}
-
-package_python2-flask-script() {
-  depends=('python2-flask')
-
-  cd ${_pkgname}-${pkgver}
-  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 664 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_python-flask-script() {
-  depends=('python-flask')
-
-  cd ${_pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 664 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-flask-script/repos/community-any/PKGBUILD (from rev 625619, python-flask-script/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 12:19:08 UTC (rev 625620)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
+# Contributor: mitsuse <mitsuset - gmail>
+
+_pkgname=flask-script
+pkgname=python-flask-script
+pkgver=2.0.6
+pkgrel=5
+pkgdesc='Flask extension to help writing external scripts for Flask applications'
+url='https://github.com/smurfix/flask-script'
+arch=('any')
+license=('BSD')
+depends=('python-flask')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(${pkgname}-${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() {
+  cd ${_pkgname}-${pkgver}
+  patch -Np1 -i ${srcdir}/flask.ext.script_import.patch
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  py.test tests.py
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 664 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list