Date: Saturday, September 7, 2019 @ 10:55:57 Author: felixonmars Revision: 508376
archrelease: copy trunk to community-any Added: python-oslo-utils/repos/community-any/PKGBUILD (from rev 508375, python-oslo-utils/trunk/PKGBUILD) Deleted: python-oslo-utils/repos/community-any/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-07 10:55:45 UTC (rev 508375) +++ PKGBUILD 2019-09-07 10:55:57 UTC (rev 508376) @@ -1,60 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-oslo-utils -pkgname=(python-oslo-utils python2-oslo-utils) -pkgver=3.41.0 -pkgrel=1 -pkgdesc="Oslo Utility library" -arch=('any') -url="https://pypi.python.org/pypi/oslo.utils/$pkgver" -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-funcsigs' - 'python-iso8601' 'python2-iso8601' 'python-oslo-i18n' 'python2-oslo-i18n' - 'python2-monotonic' 'python-pytz' 'python2-pytz' 'python-netaddr' 'python2-netaddr' - 'python-netifaces' 'python2-netifaces' 'python-debtcollector' 'python2-debtcollector') -checkdepends=('python-oslotest' 'python2-oslotest' 'python-ddt' 'python2-ddt' 'python-eventlet' - 'python2-eventlet') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz") -sha512sums=('c7726dca8fb21ccf05e84e00d67a80c6a0e93d905ceba7212c58ff6cdb4e167ba14b34055b4abb7c1e5271bc062a2b58afb988e76ee6dee1c6b5479a7a52c1db') - -prepare() { - cp -a oslo.utils-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/oslo.utils-$pkgver - python setup.py build - - cd "$srcdir"/oslo.utils-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/oslo.utils-$pkgver - stestr run - - cd "$srcdir"/oslo.utils-$pkgver-py2 - PYTHON=python2 stestr2 run -} - -package_python-oslo-utils() { - depends=('python-six' 'python-pbr' 'python-iso8601' 'python-oslo-i18n' 'python-pytz' - 'python-netaddr' 'python-netifaces' 'python-debtcollector') - - cd "$srcdir"/oslo.utils-$pkgver - python setup.py install --root="$pkgdir/" --optimize=1 -} - -package_python2-oslo-utils() { - depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-oslo-i18n' 'python2-monotonic' - 'python2-pytz' 'python2-netaddr' 'python2-netifaces' 'python2-debtcollector' - 'python2-funcsigs') - - cd "$srcdir"/oslo.utils-$pkgver-py2 - python2 setup.py install --root="$pkgdir/" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-oslo-utils/repos/community-any/PKGBUILD (from rev 508375, python-oslo-utils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-07 10:55:57 UTC (rev 508376) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-oslo-utils +pkgname=(python-oslo-utils python2-oslo-utils) +pkgver=3.41.1 +pkgrel=1 +pkgdesc="Oslo Utility library" +arch=('any') +url="https://pypi.python.org/pypi/oslo.utils/$pkgver" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-funcsigs' + 'python-iso8601' 'python2-iso8601' 'python-oslo-i18n' 'python2-oslo-i18n' + 'python2-monotonic' 'python-pytz' 'python2-pytz' 'python-netaddr' 'python2-netaddr' + 'python-netifaces' 'python2-netifaces' 'python-debtcollector' 'python2-debtcollector') +checkdepends=('python-oslotest' 'python2-oslotest' 'python-ddt' 'python2-ddt' 'python-eventlet' + 'python2-eventlet') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz") +sha512sums=('73f197f86cb36504a0f64c4b7cf1edc497c226f69a17fde4b9975320d7a4ddb3212be4a1317fd801e9037fa8a0357bee1f26d40e6fdf7ad583281feadc4e8ce0') + +prepare() { + cp -a oslo.utils-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/oslo.utils-$pkgver + python setup.py build + + cd "$srcdir"/oslo.utils-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/oslo.utils-$pkgver + stestr run + + cd "$srcdir"/oslo.utils-$pkgver-py2 + PYTHON=python2 stestr2 run +} + +package_python-oslo-utils() { + depends=('python-six' 'python-pbr' 'python-iso8601' 'python-oslo-i18n' 'python-pytz' + 'python-netaddr' 'python-netifaces' 'python-debtcollector') + + cd "$srcdir"/oslo.utils-$pkgver + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-oslo-utils() { + depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-oslo-i18n' 'python2-monotonic' + 'python2-pytz' 'python2-netaddr' 'python2-netifaces' 'python2-debtcollector' + 'python2-funcsigs') + + cd "$srcdir"/oslo.utils-$pkgver-py2 + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: