[arch-commits] Commit in python-flask-babel/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu Aug 27 19:28:34 UTC 2020
Date: Thursday, August 27, 2020 @ 19:28:33
Author: foxboron
Revision: 689943
archrelease: copy trunk to community-any
Added:
python-flask-babel/repos/community-any/PKGBUILD
(from rev 689942, python-flask-babel/trunk/PKGBUILD)
Deleted:
python-flask-babel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 52 +++++++++++++++++++++++++++++-----------------------
1 file changed, 29 insertions(+), 23 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-27 19:28:27 UTC (rev 689942)
+++ PKGBUILD 2020-08-27 19:28:33 UTC (rev 689943)
@@ -1,23 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: djanku <djanku (at) email (dot) cz>
-
-_pipname=Flask-Babel
-pkgname=python-flask-babel
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="Adds i18n/l10n support to Flask applications with the help of the Babel library."
-arch=(any)
-url="https://pypi.python.org/pypi/Flask-Babel"
-license=(BSD)
-depends=(python-flask python-babel python-pytz python-speaklater python-jinja)
-makedepends=(python-setuptools)
-source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
-sha256sums=('d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e')
-
-package() {
- cd $_pipname-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
-
- mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
- install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: python-flask-babel/repos/community-any/PKGBUILD (from rev 689942, python-flask-babel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-27 19:28:33 UTC (rev 689943)
@@ -0,0 +1,29 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+# Contributor: djanku <djanku (at) email (dot) cz>
+
+_pipname=Flask-Babel
+pkgname=python-flask-babel
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Adds i18n/l10n support to Flask applications with the help of the Babel library."
+arch=(any)
+url="https://pypi.python.org/pypi/Flask-Babel"
+license=(BSD)
+depends=(python-flask python-babel python-pytz python-speaklater python-jinja)
+makedepends=(python-setuptools)
+source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+sha256sums=('f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d')
+
+build() {
+ cd $_pipname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list