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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 14:41:50 UTC 2020


    Date: Thursday, February 13, 2020 @ 14:41:49
  Author: felixonmars
Revision: 570495

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 34 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 14:41:35 UTC (rev 570494)
+++ PKGBUILD	2020-02-13 14:41:49 UTC (rev 570495)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at 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=2
-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' 'python-oslotest' 'python-oslo-config')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
-sha512sums=('77d1cf755dd6fb26bb38ba648309114f38472ed97a43d777b5a4bb4c665b6336ef579ff71ed8a01aecb24b1cbaf187d671be4f01a0b8480dcc4e3687745689b0')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  cp -a oslo.i18n-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/oslo.i18n-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/oslo.i18n-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd oslo.i18n-$pkgver
-  stestr 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 570494, python-oslo-i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 14:41:49 UTC (rev 570495)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-i18n
+pkgver=3.25.1
+pkgrel=3
+pkgdesc="Oslo i18n library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.i18n/$pkgver"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-babel')
+checkdepends=('python-mock' 'python-oslotest' 'python-oslo-config')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
+sha512sums=('77d1cf755dd6fb26bb38ba648309114f38472ed97a43d777b5a4bb4c665b6336ef579ff71ed8a01aecb24b1cbaf187d671be4f01a0b8480dcc4e3687745689b0')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd oslo.i18n-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd oslo.i18n-$pkgver
+  stestr run
+}
+
+package() {
+  cd oslo.i18n-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list