[arch-commits] Commit in python-oslo-log/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:23:21 UTC 2020


    Date: Monday, November 9, 2020 @ 19:23:21
  Author: foutrelis
Revision: 748043

archrelease: copy trunk to community-staging-any

Added:
  python-oslo-log/repos/community-staging-any/
  python-oslo-log/repos/community-staging-any/PKGBUILD
    (from rev 748041, python-oslo-log/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: python-oslo-log/repos/community-staging-any/PKGBUILD (from rev 748041, python-oslo-log/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:23:21 UTC (rev 748043)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-log
+pkgver=4.4.0
+pkgrel=2
+pkgdesc="Oslo Logging Library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.log/$pkgver"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-oslo-config' 'python-oslo-context' 'python-oslo-i18n'
+         'python-oslo-utils' 'python-oslo-serialization' 'python-debtcollector' 'python-pyinotify'
+         'python-dateutil' 'python-monotonic')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-oslotest')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.log/archive/$pkgver.tar.gz")
+sha512sums=('a8cf7f529ce73f72ad8ae41a29cd9f606b9a193116d4ba6b9fab4a9df7079637d908dbaf9aff57ff8724c254ecff0cca63df4a0a240dbd0abae8d60c0a1cc8ac')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  sed -i 's/unittest2/unittest/g' oslo.log-$pkgver/oslo_log/tests/unit/*.py
+}
+
+build() {
+  cd oslo.log-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd oslo.log-$pkgver
+  stestr run
+}
+
+package() {
+  cd oslo.log-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list