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

Felix Yan felixonmars at gemini.archlinux.org
Tue Dec 7 18:23:42 UTC 2021


    Date: Tuesday, December 7, 2021 @ 18:23:42
  Author: felixonmars
Revision: 1065557

archrelease: copy trunk to community-staging-any

Added:
  python-cliff/repos/community-staging-any/PKGBUILD
    (from rev 1065556, python-cliff/trunk/PKGBUILD)
Deleted:
  python-cliff/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-07 18:23:34 UTC (rev 1065556)
+++ PKGBUILD	2021-12-07 18:23:42 UTC (rev 1065557)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-cliff
-pkgver=3.8.0
-pkgrel=2
-pkgdesc="Command Line Interface Formulation Framework"
-arch=('any')
-url="https://docs.openstack.org/cliff/latest/"
-license=('Apache')
-depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-pyparsing'
-         'python-stevedore' 'python-yaml')
-makedepends=('git')
-checkdepends=('python-stestr' 'python-mock' 'python-sphinx' 'python-testscenarios')
-options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz")
-sha512sums=('a4749446067c9307e766cb9e2255b06325722da2af1c576c072c5af2e7982fe9d455e6ff8b2ec1277390edb1efb8e530663fd4e66dcc3e0e910243d1e880be2e')
-
-export PBR_VERSION=$pkgver
-
-build() {
-  cd cliff-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd cliff-$pkgver
-  stestr run
-}
-
-package() {
-  cd cliff-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-cliff/repos/community-staging-any/PKGBUILD (from rev 1065556, python-cliff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-07 18:23:42 UTC (rev 1065557)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-cliff
+pkgver=3.8.0
+pkgrel=3
+pkgdesc="Command Line Interface Formulation Framework"
+arch=('any')
+url="https://docs.openstack.org/cliff/latest/"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-pyparsing'
+         'python-stevedore' 'python-yaml')
+makedepends=('git')
+checkdepends=('python-stestr' 'python-mock' 'python-sphinx' 'python-testscenarios')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz"
+        $pkgname-python310.patch::https://github.com/openstack/cliff/commit/9b66f4066cfb.patch)
+sha512sums=('a4749446067c9307e766cb9e2255b06325722da2af1c576c072c5af2e7982fe9d455e6ff8b2ec1277390edb1efb8e530663fd4e66dcc3e0e910243d1e880be2e'
+            '39bf512e2b5e7b4235aea105a7ff5c1142c71e999cfe3d11136fa3c7c2fe2d15657e94a06d0ac894fbe092fb16bac7a710091534a38e20abe86155bcaeab6a93')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  cd cliff-$pkgver
+  patch -Np1 -i ../$pkgname-python310.patch
+}
+
+build() {
+  cd cliff-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cliff-$pkgver
+  stestr run
+}
+
+package() {
+  cd cliff-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list