Date: Monday, January 6, 2020 @ 12:11:19
  Author: felixonmars
Revision: 549721

archrelease: copy trunk to community-any

Added:
  python-oslo-i18n/repos/community-any/PKGBUILD
    (from rev 549720, python-oslo-i18n/trunk/PKGBUILD)
Deleted:
  python-oslo-i18n/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-01-06 12:11:09 UTC (rev 549720)
+++ PKGBUILD    2020-01-06 12:11:19 UTC (rev 549721)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-oslo-i18n
-pkgname=(python-oslo-i18n python2-oslo-i18n)
-pkgver=3.25.0
-pkgrel=1
-pkgdesc="Oslo i18n library"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.i18n/$pkgver";
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr' 'python-babel'
-             'python2-babel')
-checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 
'python2-oslotest' 'python-oslo-config'
-              'python2-oslo-config')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz";)
-sha512sums=('db199eeee4334941e2dacae235a264507f5072c14e476fa91918a8f445e96a6ebd3981ce683f4fad5ca5cd65539492df8642db93f1e445d4af1084421417ffd7')
-
-prepare() {
-  cp -a oslo.i18n-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/oslo.i18n-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/oslo.i18n-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/oslo.i18n-$pkgver
-  stestr run
-
-  cd "$srcdir"/oslo.i18n-$pkgver-py2
-  PYTHON=python2 stestr2 run
-}
-
-package_python-oslo-i18n() {
-  depends=('python-six' 'python-pbr' 'python-babel')
-
-  cd "$srcdir"/oslo.i18n-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-oslo-i18n() {
-  depends=('python2-six' 'python2-pbr' 'python2-babel')
-
-  cd "$srcdir"/oslo.i18n-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-oslo-i18n/repos/community-any/PKGBUILD (from rev 549720, 
python-oslo-i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-01-06 12:11:19 UTC (rev 549721)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-oslo-i18n
+pkgname=(python-oslo-i18n python2-oslo-i18n)
+pkgver=3.25.1
+pkgrel=1
+pkgdesc="Oslo i18n library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.i18n/$pkgver";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr' 'python-babel'
+             'python2-babel')
+checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 
'python2-oslotest' 'python-oslo-config'
+              'python2-oslo-config')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz";)
+sha512sums=('77d1cf755dd6fb26bb38ba648309114f38472ed97a43d777b5a4bb4c665b6336ef579ff71ed8a01aecb24b1cbaf187d671be4f01a0b8480dcc4e3687745689b0')
+
+prepare() {
+  cp -a oslo.i18n-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/oslo.i18n-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/oslo.i18n-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.i18n-$pkgver
+  stestr run
+
+  cd "$srcdir"/oslo.i18n-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+package_python-oslo-i18n() {
+  depends=('python-six' 'python-pbr' 'python-babel')
+
+  cd "$srcdir"/oslo.i18n-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-oslo-i18n() {
+  depends=('python2-six' 'python2-pbr' 'python2-babel')
+
+  cd "$srcdir"/oslo.i18n-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to