[arch-commits] Commit in python-babel/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Sun Apr 24 18:50:13 UTC 2016
Date: Sunday, April 24, 2016 @ 20:50:13
Author: spupykin
Revision: 171724
archrelease: copy trunk to community-any
Added:
python-babel/repos/community-any/PKGBUILD
(from rev 171723, python-babel/trunk/PKGBUILD)
Deleted:
python-babel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-24 18:50:03 UTC (rev 171723)
+++ PKGBUILD 2016-04-24 18:50:13 UTC (rev 171724)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor : Giedrius Slavinskas <giedrius25 at gmail.com>
-
-pkgbase=python-babel
-pkgname=(python-babel python2-babel)
-pkgver=2.3.3
-pkgrel=1
-pkgdesc="A collection of tools for internationalizing Python applications"
-url="http://babel.pocoo.org/"
-license=("BSD")
-arch=('any')
-makedepends=('python' 'python2'
- 'python-setuptools' 'python2-setuptools'
- 'python-pytz' 'python2-pytz')
-noextract=("core-28.zip")
-#source=("$pkgbase-$pkgver.tar.gz::https://github.com/mitsuhiko/babel/archive/$pkgver.tar.gz")
-source=("https://pypi.python.org/packages/source/B/Babel/Babel-$pkgver.tar.gz"
- "core-28.zip::http://unicode.org/Public/cldr/28/core.zip")
-md5sums=('7385ea5b37005f4b2015f971044431f6'
- 'a4e9ee67b3545df299043164cd78fca1')
-
-prepare() {
- cd $srcdir/Babel-${pkgver}
- mkdir cldr
- mv $srcdir/core-28.zip cldr/
-}
-
-package_python-babel() {
- depends=('python' 'python-pytz')
-
- cd $srcdir/Babel-${pkgver}
- python3 setup.py import_cldr
- python3 setup.py install --root=$pkgdir
- install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-babel() {
- depends=('python2' 'python2-pytz')
-
- cd $srcdir/Babel-${pkgver}
- python2 setup.py import_cldr
- python2 setup.py install --root=$pkgdir
- mv $pkgdir/usr/bin/pybabel $pkgdir/usr/bin/pybabel2
- install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-babel/repos/community-any/PKGBUILD (from rev 171723, python-babel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-24 18:50:13 UTC (rev 171724)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor : Giedrius Slavinskas <giedrius25 at gmail.com>
+
+pkgbase=python-babel
+pkgname=(python-babel python2-babel)
+pkgver=2.3.4
+pkgrel=1
+pkgdesc="A collection of tools for internationalizing Python applications"
+url="http://babel.pocoo.org/"
+license=("BSD")
+arch=('any')
+makedepends=('python' 'python2'
+ 'python-setuptools' 'python2-setuptools'
+ 'python-pytz' 'python2-pytz')
+noextract=("core-28.zip")
+#source=("https://pypi.python.org/packages/source/B/Babel/Babel-$pkgver.tar.gz"
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-babel/babel/archive/$pkgver.tar.gz"
+ "core-28.zip::http://unicode.org/Public/cldr/28/core.zip")
+md5sums=('ddf0321a1a2f9106646201445701a92f'
+ 'a4e9ee67b3545df299043164cd78fca1')
+
+prepare() {
+ cd $srcdir/babel-${pkgver}
+ mv $srcdir/core-28.zip cldr/
+}
+
+package_python-babel() {
+ depends=('python' 'python-pytz')
+
+ cd $srcdir/babel-${pkgver}
+ python3 setup.py import_cldr
+ python3 setup.py install --root=$pkgdir
+ install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-babel() {
+ depends=('python2' 'python2-pytz')
+
+ cd $srcdir/babel-${pkgver}
+ python2 setup.py import_cldr
+ python2 setup.py install --root=$pkgdir
+ mv $pkgdir/usr/bin/pybabel $pkgdir/usr/bin/pybabel2
+ install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list