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

Felix Yan felixonmars at archlinux.org
Mon May 25 10:38:19 UTC 2020


    Date: Monday, May 25, 2020 @ 10:38:18
  Author: felixonmars
Revision: 634133

archrelease: copy trunk to community-any

Added:
  python-hacking/repos/community-any/PKGBUILD
    (from rev 634132, python-hacking/trunk/PKGBUILD)
Deleted:
  python-hacking/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 10:38:01 UTC (rev 634132)
+++ PKGBUILD	2020-05-25 10:38:18 UTC (rev 634133)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hacking
-pkgver=3.0.0
-pkgrel=2
-arch=('any')
-pkgdesc='OpenStack Hacking Guideline Enforcement'
-url='https://docs.openstack.org/developer/hacking'
-license=('Apache')
-depends=('python-six' 'flake8')
-makedepends=('python-setuptools' 'python-pbr' 'flake8')
-checkdepends=('python-oslotest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz")
-sha512sums=('cdb1b8edc4dd0ffc4aee38df31b43a7f89fc4b36a9289459c3ff18db2a7759d0146ad2d03d0570f5cd51489614097df7acf5bd2fd0aac4f5a92259fd44003ebc')
-
-export PBR_VERSION=$pkgver
-
-build() {
-  cd "$srcdir"/hacking-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd hacking-$pkgver
-  stestr run
-}
-
-package_python-hacking() {
-  cd hacking-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 634132, python-hacking/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-25 10:38:18 UTC (rev 634133)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hacking
+pkgver=3.0.1
+pkgrel=1
+arch=('any')
+pkgdesc='OpenStack Hacking Guideline Enforcement'
+url='https://docs.openstack.org/developer/hacking'
+license=('Apache')
+depends=('flake8')
+makedepends=('python-pbr' 'python-setuptools')
+checkdepends=('python-oslotest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz")
+sha512sums=('721b99f729536063d25a604fca6e3366e757f0499cb738b76134c6e82b86d90fc2feb4a78e09b06072cd35b4eaad5027cf1a7fac455b7b59f6620aba9f1c3c6d')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  cd hacking-$pkgver
+  sed -i 's/<.*//' requirements.txt
+}
+
+build() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd hacking-$pkgver
+  stestr run
+}
+
+package_python-hacking() {
+  cd hacking-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list