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

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


    Date: Friday, May 8, 2020 @ 12:31:23
  Author: jelle
Revision: 625624

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   94 +++++++++++++++++++++++--------------------------------------
 1 file changed, 36 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 12:31:13 UTC (rev 625623)
+++ PKGBUILD	2020-05-08 12:31:23 UTC (rev 625624)
@@ -1,58 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Tarmo Heiskanen <turskii at gmail.com>
-
-pkgbase=python-flask
-pkgname=('python-flask' 'python2-flask')
-pkgver=1.1.2
-pkgrel=1
-pkgdesc='Micro webdevelopment framework for Python'
-url='http://flask.pocoo.org/'
-arch=('any')
-license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-werkzeug' 'python2-werkzeug'
-             'python-jinja' 'python2-jinja' 'python-itsdangerous' 'python2-itsdangerous'
-             'python-click' 'python2-click')
-source=("https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
-sha512sums=('390baaea8e3500724a4a7755d930e078cfc072357af15f2180f35983cc86d224827afd9180a466e3ad546405a8b8a94d752c19eda716f2f06c1716e4f19c4fbc')
-
-prepare() {
-  cp -r "flask-$pkgver" "python-flask-$pkgver"
-  cp -r "flask-$pkgver" "python2-flask-$pkgver"
-}
-
-buildk() {
-  cd "$srcdir/python-flask-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/python2-flask-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir/python-flask-$pkgver"
-  python setup.py test
-
-  cd "$srcdir/python2-flask-$pkgver"
-  python2 setup.py test
-}
-
-package_python-flask() {
-  depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous' 'python-click')
-  cd "$srcdir/python-flask-$pkgver"
-
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
-}
-
-package_python2-flask() {
-  depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous' 'python2-click')
-  cd "$srcdir/python2-flask-$pkgver"
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  mv "$pkgdir"/usr/bin/flask "$pkgdir"/usr/bin/flask2
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-flask/repos/community-any/PKGBUILD (from rev 625623, python-flask/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 12:31:23 UTC (rev 625624)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Tarmo Heiskanen <turskii at gmail.com>
+
+pkgname=python-flask
+pkgver=1.1.2
+pkgrel=2
+pkgdesc='Micro webdevelopment framework for Python'
+url='http://flask.pocoo.org/'
+arch=('any')
+license=('custom:BSD')
+depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous' 'python-click')
+makedepends=('python-setuptools'  'python-werkzeug' 
+             'python-jinja' 'python-itsdangerous' 'python-click')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
+sha512sums=('390baaea8e3500724a4a7755d930e078cfc072357af15f2180f35983cc86d224827afd9180a466e3ad546405a8b8a94d752c19eda716f2f06c1716e4f19c4fbc')
+
+buildk() {
+  cd "flask-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "flask-$pkgver"
+  python setup.py test
+}
+
+package() {
+  cd "flask-$pkgver"
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list