Date: Thursday, February 28, 2019 @ 21:52:53 Author: felixonmars Revision: 437137
archrelease: copy trunk to community-any Added: python-oslo-utils/repos/community-any/PKGBUILD (from rev 437136, 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-02-28 21:52:36 UTC (rev 437136) +++ PKGBUILD 2019-02-28 21:52:53 UTC (rev 437137) @@ -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.40.2 -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=('c173b6997712bd5dc18c9d490265be29e98425564100327f9d3f2f31cae358827a2787fc99b65bf9c0d8540868d7287dd647efc5505147fa87743105e05dd308') - -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 437136, python-oslo-utils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-28 21:52:53 UTC (rev 437137) @@ -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.40.3 +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=('878f9434adc264701bc6ebc8867dac2478e8d27bf91a78e8cb79382a2b1fb45b7bfabfdf97064073073eba6a8ee50df233f051bcbaae154eb86799c4dbb520c5') + +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: