[arch-commits] Commit in python-os-service-types/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Aug 8 16:12:04 UTC 2018


    Date: Wednesday, August 8, 2018 @ 16:12:04
  Author: felixonmars
Revision: 370360

archrelease: copy trunk to community-any

Added:
  python-os-service-types/repos/community-any/PKGBUILD
    (from rev 370359, python-os-service-types/trunk/PKGBUILD)
Deleted:
  python-os-service-types/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-08 16:11:50 UTC (rev 370359)
+++ PKGBUILD	2018-08-08 16:12:04 UTC (rev 370360)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-os-service-types
-pkgname=(python-os-service-types python2-os-service-types)
-pkgver=1.2.0
-pkgrel=3
-pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
-arch=('any')
-url="https://pypi.python.org/pypi/os-service-types/$pkgver"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock'
-              'python-testrepository' 'python2-testrepository')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
-sha512sums=('f7e0aedfcf18514bb8a112a27363971361dfa4abeb05ec32f206197f07bbc55c119cf6b47058977925e77306658a83aab7619aa3a97f3581976e81ae5abef056')
-
-prepare() {
-  echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
-
-  cp -a os-service-types-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/os-service-types-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/os-service-types-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/os-service-types-$pkgver
-  python setup.py testr
-
-  cd "$srcdir"/os-service-types-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
-}
-
-package_python-os-service-types() {
-  depends=('python-pbr')
-
-  cd "$srcdir"/os-service-types-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-os-service-types() {
-  depends=('python2-pbr')
-
-  cd "$srcdir"/os-service-types-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-os-service-types/repos/community-any/PKGBUILD (from rev 370359, python-os-service-types/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-08 16:12:04 UTC (rev 370360)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-os-service-types
+pkgname=(python-os-service-types python2-os-service-types)
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
+arch=('any')
+url="https://pypi.python.org/pypi/os-service-types/$pkgver"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
+sha512sums=('b6c539d5b9facd7f400c1aeef69b9e5f5ef4acc9f7afdde6e8332838e31055a9a5f3cc521f5546bc84051eee9cf93acb02c58eb83e608ab7dbe247dc44133cb7')
+
+prepare() {
+  echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
+
+  cp -a os-service-types-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/os-service-types-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/os-service-types-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/os-service-types-$pkgver
+  stestr run
+
+  cd "$srcdir"/os-service-types-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+package_python-os-service-types() {
+  depends=('python-pbr')
+
+  cd "$srcdir"/os-service-types-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-os-service-types() {
+  depends=('python2-pbr')
+
+  cd "$srcdir"/os-service-types-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list