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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 10:39:54 UTC 2020


    Date: Thursday, February 13, 2020 @ 10:39:53
  Author: felixonmars
Revision: 570043

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 53 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 10:39:39 UTC (rev 570042)
+++ PKGBUILD	2020-02-13 10:39:53 UTC (rev 570043)
@@ -1,56 +0,0 @@
-# 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.7.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')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
-sha512sums=('df5848d648a9181dabd33fa734b556ea3799e8b06d0d4ba9f440c66bf7e942b5d65a5ffbd00fadfc61705a702fce3aa2b5d601a5ebde23a1da7259a712c4c0d5')
-
-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:

Copied: python-os-service-types/repos/community-any/PKGBUILD (from rev 570042, python-os-service-types/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 10:39:53 UTC (rev 570043)
@@ -0,0 +1,53 @@
+# 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.7.0
+pkgrel=4
+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' 'python-requests-mock')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
+sha512sums=('df5848d648a9181dabd33fa734b556ea3799e8b06d0d4ba9f440c66bf7e942b5d65a5ffbd00fadfc61705a702fce3aa2b5d601a5ebde23a1da7259a712c4c0d5')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
+
+  cp -a os-service-types-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/os-service-types-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/os-service-types-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd os-service-types-$pkgver
+  stestr 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