[arch-commits] Commit in python-hacking/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 15 12:17:10 UTC 2020
Date: Sunday, November 15, 2020 @ 12:17:10
Author: felixonmars
Revision: 754419
archrelease: copy trunk to community-staging-any
Added:
python-hacking/repos/community-staging-any/PKGBUILD
(from rev 754417, python-hacking/trunk/PKGBUILD)
Deleted:
python-hacking/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 12:17:07 UTC (rev 754418)
+++ PKGBUILD 2020-11-15 12:17:10 UTC (rev 754419)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hacking
-pkgver=3.2.0
-pkgrel=3
-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=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz")
-sha512sums=('199a5320aa7362cc9aea8993d3816fe94710a5618e9052850ed990b03ca407417faf8ee5076acccf2f90ef7ad1232e3925dca9146b648d2bde5bfea5cb6e3d19')
-
-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
-}
Copied: python-hacking/repos/community-staging-any/PKGBUILD (from rev 754417, python-hacking/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-15 12:17:10 UTC (rev 754419)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hacking
+pkgver=4.0.0
+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-ddt' 'python-oslotest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz")
+sha512sums=('2006fd222a8ca6047fde5d66bb3dc91b366179d4e508e84ca789e2d4853cbc7405f29133e30c6333e93c7c5fc991be4dac0cda91dd60e475e64c45af5cc7fb87')
+
+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