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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 22:32:01 UTC 2021


    Date: Tuesday, November 30, 2021 @ 22:32:01
  Author: felixonmars
Revision: 1059045

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 1059042, python-oslo-log/trunk/PKGBUILD)

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

Copied: python-oslo-log/repos/community-staging-any/PKGBUILD (from rev 1059042, python-oslo-log/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 22:32:01 UTC (rev 1059045)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-log
+pkgver=4.6.1
+pkgrel=2
+pkgdesc="Oslo Logging Library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.log/$pkgver"
+license=('Apache')
+depends=('python-pbr' 'python-oslo-config' 'python-oslo-context' 'python-oslo-i18n'
+         'python-oslo-utils' 'python-oslo-serialization' 'python-debtcollector' 'python-pyinotify'
+         'python-dateutil')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest')
+source=("https://github.com/openstack/oslo.log/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6cace83680b01a311d2bb5befbc3fa19cc7795363f202b5d702acb7a82505db9b1e92419ce4537f2be739f111b399468ac741f3672a6ff443be0017427372d7b')
+
+export PBR_VERSION=$pkgver
+
+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