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

2020-07-23 Thread Felix Yan via arch-commits
Date: Thursday, July 23, 2020 @ 20:29:36
  Author: felixonmars
Revision: 665101

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-23 20:29:21 UTC (rev 665100)
+++ PKGBUILD2020-07-23 20:29:36 UTC (rev 665101)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=python-hacking
-pkgver=3.1.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-oslotest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz;)
-sha512sums=('ebe34824ad8416a3e2af74c2e80363b373e9bfc9341eb0d8ad87bc3fce11b098539511ab097b8d9a886171df975084ba6774c8e1fbc81f3bc30fe375ef541a04')
-
-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-any/PKGBUILD (from rev 665100, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-23 20:29:36 UTC (rev 665101)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-hacking
+pkgver=3.2.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-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
+}


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

2020-05-25 Thread Felix Yan via arch-commits
Date: Monday, May 25, 2020 @ 18:14:14
  Author: felixonmars
Revision: 634717

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-25 18:13:56 UTC (rev 634716)
+++ PKGBUILD2020-05-25 18:14:14 UTC (rev 634717)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan 
-
-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
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 634716, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-25 18:14:14 UTC (rev 634717)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-hacking
+pkgver=3.1.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-oslotest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz;)
+sha512sums=('ebe34824ad8416a3e2af74c2e80363b373e9bfc9341eb0d8ad87bc3fce11b098539511ab097b8d9a886171df975084ba6774c8e1fbc81f3bc30fe375ef541a04')
+
+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
+}


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

2020-05-25 Thread Felix Yan via arch-commits
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
===
--- PKGBUILD2020-05-25 10:38:01 UTC (rev 634132)
+++ PKGBUILD2020-05-25 10:38:18 UTC (rev 634133)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan 
-
-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)
+++ PKGBUILD2020-05-25 10:38:18 UTC (rev 634133)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+
+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
+}


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

2020-05-12 Thread Jelle van der Waa via arch-commits
Date: Tuesday, May 12, 2020 @ 19:57:02
  Author: jelle
Revision: 627221

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   79 +++--
 1 file changed, 31 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-12 19:56:55 UTC (rev 627220)
+++ PKGBUILD2020-05-12 19:57:02 UTC (rev 627221)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=python-hacking
-pkgname=('python-hacking' 'python2-hacking')
-pkgver=3.0.0
-pkgrel=1
-arch=('any')
-pkgdesc='OpenStack Hacking Guideline Enforcement'
-url='https://docs.openstack.org/developer/hacking'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
- 'flake8' 'python2-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
-
-prepare() {
-  cp -a hacking-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/hacking-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd hacking-$pkgver
-  stestr run
-}
-
-package_python-hacking() {
-  depends=('python-six' 'flake8')
-
-  cd hacking-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-hacking() {
-  depends=('python2-six' 'python2-flake8')
-
-  cd hacking-$pkgver-py2
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 627220, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-12 19:57:02 UTC (rev 627221)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+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
+}


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

2020-02-13 Thread Felix Yan via arch-commits
Date: Thursday, February 13, 2020 @ 09:34:32
  Author: felixonmars
Revision: 569948

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   96 ++---
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-13 09:34:29 UTC (rev 569947)
+++ PKGBUILD2020-02-13 09:34:32 UTC (rev 569948)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=python-hacking
-pkgname=('python-hacking' 'python2-hacking')
-pkgver=2.0.0
-pkgrel=1
-arch=('any')
-pkgdesc='OpenStack Hacking Guideline Enforcement'
-url='https://docs.openstack.org/developer/hacking'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
- 'flake8' 'python2-flake8')
-checkdepends=('python-oslotest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
-sha512sums=('33cb147afe122fa55636122fc858704f052e469c9091fe8bc5763937f9e6150d7686c2c253fca6319ff3108dae1ae19eebfe9d425c722762599033696f9180c0')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  cp -a hacking-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/hacking-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd hacking-$pkgver
-  stestr run
-}
-
-package_python-hacking() {
-  depends=('python-six' 'flake8')
-
-  cd hacking-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-hacking() {
-  depends=('python2-six' 'python2-flake8')
-
-  cd hacking-$pkgver-py2
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 569946, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-13 09:34:32 UTC (rev 569948)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-hacking
+pkgname=('python-hacking' 'python2-hacking')
+pkgver=2.0.0
+pkgrel=2
+arch=('any')
+pkgdesc='OpenStack Hacking Guideline Enforcement'
+url='https://docs.openstack.org/developer/hacking'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
+ 'flake8' 'python2-flake8')
+checkdepends=('python-oslotest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
+sha512sums=('33cb147afe122fa55636122fc858704f052e469c9091fe8bc5763937f9e6150d7686c2c253fca6319ff3108dae1ae19eebfe9d425c722762599033696f9180c0')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  cp -a hacking-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/hacking-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd hacking-$pkgver
+  stestr run
+}
+
+package_python-hacking() {
+  depends=('python-six' 'flake8')
+
+  cd hacking-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-hacking() {
+  depends=('python2-six' 'python2-flake8')
+
+  cd hacking-$pkgver-py2
+  python2 setup.py install --root "$pkgdir" --optimize=1
+}


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

2020-02-13 Thread Felix Yan via arch-commits
Date: Thursday, February 13, 2020 @ 09:30:31
  Author: felixonmars
Revision: 569943

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   99 +
 1 file changed, 48 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-13 09:30:16 UTC (rev 569942)
+++ PKGBUILD2020-02-13 09:30:31 UTC (rev 569943)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=python-hacking
-pkgname=('python-hacking' 'python2-hacking')
-pkgver=2.0.0
-pkgrel=1
-arch=('any')
-pkgdesc='OpenStack Hacking Guideline Enforcement'
-url='https://docs.openstack.org/developer/hacking'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
- 'flake8' 'python2-flake8')
-checkdepends=('python-oslotest' 'python2-oslotest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
-sha512sums=('33cb147afe122fa55636122fc858704f052e469c9091fe8bc5763937f9e6150d7686c2c253fca6319ff3108dae1ae19eebfe9d425c722762599033696f9180c0')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  cp -a hacking-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/hacking-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hacking-$pkgver
-  stestr run
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  PYTHON=python2 stestr run
-}
-
-package_python-hacking() {
-  depends=('python-six' 'flake8')
-
-  cd hacking-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-hacking() {
-  depends=('python2-six' 'python2-flake8')
-
-  cd hacking-$pkgver-py2
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 569942, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-13 09:30:31 UTC (rev 569943)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-hacking
+pkgname=('python-hacking' 'python2-hacking')
+pkgver=2.0.0
+pkgrel=1
+arch=('any')
+pkgdesc='OpenStack Hacking Guideline Enforcement'
+url='https://docs.openstack.org/developer/hacking'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
+ 'flake8' 'python2-flake8')
+checkdepends=('python-oslotest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
+sha512sums=('33cb147afe122fa55636122fc858704f052e469c9091fe8bc5763937f9e6150d7686c2c253fca6319ff3108dae1ae19eebfe9d425c722762599033696f9180c0')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  cp -a hacking-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/hacking-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd hacking-$pkgver
+  stestr run
+}
+
+package_python-hacking() {
+  depends=('python-six' 'flake8')
+
+  cd hacking-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-hacking() {
+  depends=('python2-six' 'python2-flake8')
+
+  cd hacking-$pkgver-py2
+  python2 setup.py install --root "$pkgdir" --optimize=1
+}


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

2018-05-11 Thread Felix Yan via arch-commits
Date: Friday, May 11, 2018 @ 08:26:52
  Author: felixonmars
Revision: 320629

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |  113 -
 1 file changed, 53 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-11 08:26:24 UTC (rev 320628)
+++ PKGBUILD2018-05-11 08:26:52 UTC (rev 320629)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-hacking
-pkgname=('python-hacking' 'python2-hacking')
-pkgver=1.0.0
-pkgrel=1
-arch=('any')
-pkgdesc='OpenStack Hacking Guideline Enforcement'
-url='http://docs.openstack.org/developer/hacking'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
- 'flake8' 'python2-flake8' 'python-mccabe' 'python2-mccabe')
-checkdepends=('python-oslotest' 'python2-oslotest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
-sha512sums=('664f0a9bfc5c4d9154d8e4b61e41e788a6e1138ed37b10a63409852b1bf633632767e6eddbfeb497b3158590630c56a5d7dcf5d27a31ca98d79f2e9c4df7d19b')
-
-prepare() {
-  sed -e 's/flake8<2.6.0,/flake8/' -e 's/==/>=/' -i 
hacking-$pkgver/requirements.txt
-  sed -e 's/pep8/pycodestyle/' -i 
hacking-$pkgver/{requirements.txt,hacking/tests/*.py,hacking/core.py}
-  sed -e 's/from flake8 import engine/from flake8.api import legacy as 
engine/' -i hacking-$pkgver/hacking/tests/*.py
-  sed -e '/pycodestyle.BaseReport/i \self.options.benchmark_keys = 
pycodestyle.BENCHMARK_KEYS' -i hacking-$pkgver/hacking/tests/*.py
-  sed -e '/pycodestyle.BaseReport/i \self.options.ignore_code = 
pycodestyle.StyleGuide.ignore_code' -i hacking-$pkgver/hacking/tests/*.py
-  sed -e '/pycodestyle.BaseReport/i \self.options.physical_checks = 
[]' -i hacking-$pkgver/hacking/tests/*.py
-  sed -e '/pycodestyle.BaseReport/i \self.options.logical_checks = []' 
-i hacking-$pkgver/hacking/tests/*.py
-  sed -e '/pycodestyle.BaseReport/i \self.options.ast_checks = []' -i 
hacking-$pkgver/hacking/tests/*.py
-  cp -a hacking-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/hacking-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hacking-$pkgver
-  python setup.py testr || warning "Tests failed"
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
-}
-
-package_python-hacking() {
-  depends=('python-six' 'python-pbr' 'flake8' 'python-mccabe')
-
-  cd hacking-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-hacking() {
-  depends=('python2-six' 'python2-pbr' 'python2-flake8' 'python2-mccabe')
-
-  cd hacking-$pkgver-py2
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 320628, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-11 08:26:52 UTC (rev 320629)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-hacking
+pkgname=('python-hacking' 'python2-hacking')
+pkgver=1.1.0
+pkgrel=1
+arch=('any')
+pkgdesc='OpenStack Hacking Guideline Enforcement'
+url='http://docs.openstack.org/developer/hacking'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
+ 'flake8' 'python2-flake8' 'python-mccabe' 'python2-mccabe')
+checkdepends=('python-oslotest' 'python2-oslotest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
+sha512sums=('25e8fc8585b0de2c9f746a31539d2ee0b6b18685f17cac149bf8cf372d9c31d1f10ac93087d6bcc69b4d1a15b4b3c99cecbe15fe95e903c3de72aba21af32827')
+
+prepare() {
+  sed -e 's/flake8<2.7.0,/flake8/' -e 's/==/>=/' -i 
hacking-$pkgver/requirements.txt
+  cp -a hacking-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/hacking-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py testr || warning "Tests failed"
+
+  cd "$srcdir"/hacking-$pkgver-py2
+  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+}
+
+package_python-hacking() {
+  depends=('python-six' 'python-pbr' 'flake8' 'python-mccabe')
+
+  cd hacking-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-hacking() {
+  depends=('python2-six' 'python2-pbr' 'python2-flake8' 'python2-mccabe')
+
+  cd 

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

2017-09-13 Thread Felix Yan
Date: Wednesday, September 13, 2017 @ 07:51:35
  Author: felixonmars
Revision: 257316

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |  113 -
 1 file changed, 60 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-09-13 07:50:59 UTC (rev 257315)
+++ PKGBUILD2017-09-13 07:51:35 UTC (rev 257316)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-hacking
-pkgname=('python-hacking' 'python2-hacking')
-pkgver=0.13.0
-pkgrel=1
-arch=('any')
-pkgdesc='OpenStack Hacking Guideline Enforcement'
-url='http://docs.openstack.org/developer/hacking'
-license=('Apache')
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
- 'flake8' 'python2-flake8' 'python-mccabe' 'python2-mccabe')
-checkdepends=('python-oslotest' 'python2-oslotest')
-source=("git+https://git.openstack.org/openstack-dev/hacking#tag=$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  sed -e 's/flake8<2.6.0,/flake8/' -e 's/==/>=/' -i hacking/requirements.txt
-  sed -e 's/pep8/pycodestyle/' -i 
hacking/{requirements.txt,hacking/tests/*.py,hacking/core.py}
-  sed -e 's/from flake8 import engine/from flake8.api import legacy as 
engine/' -i hacking/hacking/tests/*.py
-  cp -a hacking{,-py2}
-}
-
-build() {
-  cd "$srcdir"/hacking
-  python setup.py build
-
-  cd "$srcdir"/hacking-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/hacking
-  python setup.py testr || warning "Tests failed"
-
-  cd "$srcdir"/hacking-py2
-  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
-}
-
-package_python-hacking() {
-  depends=('python-six' 'python-pbr' 'flake8' 'python-mccabe')
-
-  cd hacking
-  python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-hacking() {
-  depends=('python2-six' 'python2-pbr' 'python2-flake8' 'python2-mccabe')
-
-  cd hacking-py2
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-hacking/repos/community-any/PKGBUILD (from rev 257315, 
python-hacking/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-09-13 07:51:35 UTC (rev 257316)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-hacking
+pkgname=('python-hacking' 'python2-hacking')
+pkgver=1.0.0
+pkgrel=1
+arch=('any')
+pkgdesc='OpenStack Hacking Guideline Enforcement'
+url='http://docs.openstack.org/developer/hacking'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr'
+ 'flake8' 'python2-flake8' 'python-mccabe' 'python2-mccabe')
+checkdepends=('python-oslotest' 'python2-oslotest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz;)
+sha512sums=('664f0a9bfc5c4d9154d8e4b61e41e788a6e1138ed37b10a63409852b1bf633632767e6eddbfeb497b3158590630c56a5d7dcf5d27a31ca98d79f2e9c4df7d19b')
+
+prepare() {
+  sed -e 's/flake8<2.6.0,/flake8/' -e 's/==/>=/' -i 
hacking-$pkgver/requirements.txt
+  sed -e 's/pep8/pycodestyle/' -i 
hacking-$pkgver/{requirements.txt,hacking/tests/*.py,hacking/core.py}
+  sed -e 's/from flake8 import engine/from flake8.api import legacy as 
engine/' -i hacking-$pkgver/hacking/tests/*.py
+  sed -e '/pycodestyle.BaseReport/i \self.options.benchmark_keys = 
pycodestyle.BENCHMARK_KEYS' -i hacking-$pkgver/hacking/tests/*.py
+  sed -e '/pycodestyle.BaseReport/i \self.options.ignore_code = 
pycodestyle.StyleGuide.ignore_code' -i hacking-$pkgver/hacking/tests/*.py
+  sed -e '/pycodestyle.BaseReport/i \self.options.physical_checks = 
[]' -i hacking-$pkgver/hacking/tests/*.py
+  sed -e '/pycodestyle.BaseReport/i \self.options.logical_checks = []' 
-i hacking-$pkgver/hacking/tests/*.py
+  sed -e '/pycodestyle.BaseReport/i \self.options.ast_checks = []' -i 
hacking-$pkgver/hacking/tests/*.py
+  cp -a hacking-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/hacking-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/hacking-$pkgver
+  python setup.py testr || warning "Tests failed"
+
+  cd "$srcdir"/hacking-$pkgver-py2
+  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+}
+
+package_python-hacking() {
+  depends=('python-six' 'python-pbr' 'flake8' 'python-mccabe')
+
+  cd hacking-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-hacking() {
+  depends=('python2-six' 'python2-pbr' 'python2-flake8' 'python2-mccabe')
+
+  cd hacking-$pkgver-py2
+  python2