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

Morten Linderud foxboron at archlinux.org
Sun Jun 2 13:36:02 UTC 2019


    Date: Sunday, June 2, 2019 @ 13:36:02
  Author: foxboron
Revision: 476593

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  129 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 13:35:55 UTC (rev 476592)
+++ PKGBUILD	2019-06-02 13:36:02 UTC (rev 476593)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Morten Linderud <foxboron at archlinux.no>
-# 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.6.0
-_core=33
-pkgrel=2
-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')
-checkdepends=('python-pytest' 'python-pytest-runner' 'python-freezegun'
-	      'python-pytest-runner' 'python2-pytest-runner' 'python2-freezegun')
-noextract=("core-$_core.zip")
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-babel/babel/archive/v$pkgver.tar.gz"
-        "core-$_core.zip::http://unicode.org/Public/cldr/$_core/core.zip")
-sha256sums=('f760326e6ae6ce290520aef63c3ee416a9258d7917addb0b6e086fe0e5911432'
-            'fa3490082c086d21257153609642f54fcf788fcfda4966fe67f3f6daca0d58b9')
-
-prepare() {
-  cp -a babel-$pkgver{,-py2}
-  cp "$srcdir"/core-$_core.zip babel-$pkgver-py2/cldr/core-$_core.0.zip
-  cp "$srcdir"/core-$_core.zip babel-$pkgver/cldr/core-$_core.0.zip
-}
-
-build(){
-  cd "$srcdir/babel-$pkgver"
-  python setup.py import_cldr
-  python setup.py build
-
-  cd "$srcdir/babel-$pkgver-py2"
-  python2 setup.py import_cldr
-  python2 setup.py build
-}
-
-check(){
-  cd "$srcdir/babel-$pkgver"
-  python setup.py pytest
-
-  cd "$srcdir/babel-$pkgver-py2"
-  python2 setup.py pytest
-}
-
-package_python-babel() {
-  depends=('python' 'python-pytz')
-
-  cd "$srcdir"/babel-${pkgver}
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -D -m0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-babel() {
-  depends=('python2' 'python2-pytz')
-
-  cd "$srcdir"/babel-${pkgver}-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  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 476592, python-babel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-02 13:36:02 UTC (rev 476593)
@@ -0,0 +1,64 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.no>
+# 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.7.0
+_core=35.1
+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')
+checkdepends=('python-pytest' 'python-pytest-runner' 'python-freezegun'
+	      'python-pytest-runner' 'python2-pytest-runner' 'python2-freezegun')
+noextract=("cldr-core-$_core.zip")
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-babel/babel/archive/v$pkgver.tar.gz"
+        "cldr-core-$_core.zip::http://unicode.org/Public/cldr/$_core/core.zip")
+sha256sums=('d31a563d7b573f2544d49fecc22b58d470a624ebb63fe41583502095e266c462'
+            'e2ede8cb8f9c29157e281ee9e696ce540a72c598841bed595a406b710eea87b0')
+
+prepare() {
+  cp -a babel-$pkgver{,-py2}
+  cp "$srcdir"/cldr-core-$_core.zip babel-$pkgver-py2/cldr/cldr-core-$_core.zip
+  cp "$srcdir"/cldr-core-$_core.zip babel-$pkgver/cldr/cldr-core-$_core.zip
+}
+
+build(){
+  cd "$srcdir/babel-$pkgver"
+  python setup.py import_cldr
+  python setup.py build
+
+  cd "$srcdir/babel-$pkgver-py2"
+  python2 setup.py import_cldr
+  python2 setup.py build
+}
+
+check(){
+  cd "$srcdir/babel-$pkgver"
+  python setup.py pytest
+
+  cd "$srcdir/babel-$pkgver-py2"
+  python2 setup.py pytest
+}
+
+package_python-babel() {
+  depends=('python' 'python-pytz')
+
+  cd "$srcdir"/babel-${pkgver}
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -D -m0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-babel() {
+  depends=('python2' 'python2-pytz')
+
+  cd "$srcdir"/babel-${pkgver}-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  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