[arch-commits] Commit in python-hacking/trunk (PKGBUILD)

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


    Date: Monday, May 25, 2020 @ 10:38:01
  Author: felixonmars
Revision: 634132

upgpkg: python-hacking 3.0.1-1

Modified:
  python-hacking/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 10:37:22 UTC (rev 634131)
+++ PKGBUILD	2020-05-25 10:38:01 UTC (rev 634132)
@@ -1,20 +1,25 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-hacking
-pkgver=3.0.0
-pkgrel=2
+pkgver=3.0.1
+pkgrel=1
 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')
+depends=('flake8')
+makedepends=('python-pbr' 'python-setuptools')
 checkdepends=('python-oslotest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz")
-sha512sums=('cdb1b8edc4dd0ffc4aee38df31b43a7f89fc4b36a9289459c3ff18db2a7759d0146ad2d03d0570f5cd51489614097df7acf5bd2fd0aac4f5a92259fd44003ebc')
+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


More information about the arch-commits mailing list