[arch-commits] Commit in python-flask-babelex/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Feb 12 11:17:34 UTC 2020


    Date: Wednesday, February 12, 2020 @ 11:17:33
  Author: svenstaro
Revision: 569236

upgpkg: python-flask-babelex 0.9.4-1

Modified:
  python-flask-babelex/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-12 11:17:32 UTC (rev 569235)
+++ PKGBUILD	2020-02-12 11:17:33 UTC (rev 569236)
@@ -2,28 +2,20 @@
 
 _pkgname=flask-babelex
 pkgname=python-flask-babelex
-_gitcommit=d6993064993635ace5af98cbf5368dca593603db
-pkgver=0.9.3.r2.gd699306
-pkgrel=3
+pkgver=0.9.4
+pkgrel=1
 pkgdesc='Adds i18n/l10n support to Flask applications'
 url='https://github.com/mrjoes/flask-babelex'
 arch=('any')
 license=('BSD')
 depends=('python' 'python-flask' 'python-babel' 'python-speaklater' 'python-jinja')
-makedepends=('git' 'python-sphinx' 'python-setuptools')
+makedepends=('python-sphinx' 'python-setuptools')
 checkdepends=('python-pytest')
-source=(${pkgname}::"git+https://github.com/mrjoes/flask-babelex#commit=${_gitcommit}")
-sha512sums=('SKIP')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/mrjoes/flask-babelex/archive/${pkgver}.tar.gz")
+sha512sums=('e5591bcb83ca7e7644b1d06e604834369973bfba5050bd6890ad57125731981cda1e893544eea61cf69dca536e5473e2e50b08b36b0c3daee15d66f3815bd986')
 
-
-pkgver() {
-  cd ${pkgname}
-  git describe --always --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
 prepare() {
-  cd ${pkgname}
-  git tag 0.9.3 20519259977857ae6357a31fc2d18e7fbdee3cd4
+  cd ${_pkgname}-${pkgver}
   sed -e 's/April 2010 15:46/April 2010 um 15:46/' \
       -e 's/12.04.2010 15:46:00/12.04.2010, 15:46:00/' \
       -i tests/tests.py
@@ -30,7 +22,7 @@
 }
 
 build() {
-  cd ${pkgname}
+  cd ${_pkgname}-${pkgver}
   python setup.py build
   sphinx-build -b text docs docs/_build/text
   sphinx-build -b man docs docs/_build/man
@@ -37,12 +29,12 @@
 }
 
 check() {
-  cd ${pkgname}
+  cd ${_pkgname}-${pkgver}
   py.test tests/tests.py
 }
 
 package() {
-  cd ${pkgname}
+  cd ${_pkgname}-${pkgver}
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
   install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list