Date: Friday, November 1, 2019 @ 13:42:44 Author: foutrelis Revision: 521924
archrelease: copy trunk to community-staging-any Added: python-requestsexceptions/repos/community-staging-any/PKGBUILD (from rev 521923, python-requestsexceptions/trunk/PKGBUILD) Deleted: python-requestsexceptions/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-01 13:42:40 UTC (rev 521923) +++ PKGBUILD 2019-11-01 13:42:44 UTC (rev 521924) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-requestsexceptions -pkgname=(python-requestsexceptions python2-requestsexceptions) -pkgver=1.4.0 -pkgrel=3 -pkgdesc="Import exceptions from potentially bundled packages in requests." -arch=('any') -url="https://github.com/openstack-infra/requestsexceptions" -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-requests' - 'python2-requests') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/requestsexceptions/archive/$pkgver.tar.gz") -sha512sums=('fb7cf432584963eee659b7294a11b4d0a1d1dd850bfccdac7a1d7014b6e97a5330553436df58c034088c8a2096b14bfe40ded7e128a5d8741114265c935cd02f') - -prepare() { - cp -a requestsexceptions-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/requestsexceptions-$pkgver - python setup.py build - - cd "$srcdir"/requestsexceptions-$pkgver-py2 - python2 setup.py build -} - -package_python-requestsexceptions() { - depends=('python-requests') - - cd "$srcdir"/requestsexceptions-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-requestsexceptions() { - depends=('python2-requests') - - cd "$srcdir"/requestsexceptions-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-requestsexceptions/repos/community-staging-any/PKGBUILD (from rev 521923, python-requestsexceptions/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-01 13:42:44 UTC (rev 521924) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-requestsexceptions +pkgname=(python-requestsexceptions python2-requestsexceptions) +pkgver=1.4.0 +pkgrel=4 +pkgdesc="Import exceptions from potentially bundled packages in requests." +arch=('any') +url="https://github.com/openstack-infra/requestsexceptions" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-requests' + 'python2-requests') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/requestsexceptions/archive/$pkgver.tar.gz") +sha512sums=('fb7cf432584963eee659b7294a11b4d0a1d1dd850bfccdac7a1d7014b6e97a5330553436df58c034088c8a2096b14bfe40ded7e128a5d8741114265c935cd02f') + +prepare() { + cp -a requestsexceptions-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/requestsexceptions-$pkgver + python setup.py build + + cd "$srcdir"/requestsexceptions-$pkgver-py2 + python2 setup.py build +} + +package_python-requestsexceptions() { + depends=('python-requests') + + cd "$srcdir"/requestsexceptions-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-requestsexceptions() { + depends=('python2-requests') + + cd "$srcdir"/requestsexceptions-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: