Date: Thursday, March 2, 2017 @ 08:18:35 Author: felixonmars Revision: 214474
archrelease: copy trunk to community-any Added: python-requestsexceptions/repos/community-any/PKGBUILD (from rev 214473, python-requestsexceptions/trunk/PKGBUILD) Deleted: python-requestsexceptions/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-02 08:18:22 UTC (rev 214473) +++ PKGBUILD 2017-03-02 08:18:35 UTC (rev 214474) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-requestsexceptions -pkgname=(python-requestsexceptions python2-requestsexceptions) -pkgver=1.1.3 -pkgrel=2 -pkgdesc="Import exceptions from potentially bundled packages in requests." -arch=('any') -url="https://github.com/openstack-infra/requestsexceptions" -license=('Apache') -makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' - 'python-requests' 'python2-requests') -source=("git+https://github.com/openstack-infra/requestsexceptions.git#tag=$pkgver") -md5sums=('SKIP') - -prepare() { - cp -a requestsexceptions{,-py2} -} - -build() { - cd "$srcdir"/requestsexceptions - python setup.py build - - cd "$srcdir"/requestsexceptions-py2 - python2 setup.py build -} - -package_python-requestsexceptions() { - depends=('python-pbr' 'python-requests') - - cd "$srcdir"/requestsexceptions - python setup.py install --root="$pkgdir/" --optimize=1 -} - -package_python2-requestsexceptions() { - depends=('python2-pbr' 'python2-requests') - - cd "$srcdir"/requestsexceptions-py2 - python2 setup.py install --root="$pkgdir/" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-requestsexceptions/repos/community-any/PKGBUILD (from rev 214473, python-requestsexceptions/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-02 08:18:35 UTC (rev 214474) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-requestsexceptions +pkgname=(python-requestsexceptions python2-requestsexceptions) +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Import exceptions from potentially bundled packages in requests." +arch=('any') +url="https://github.com/openstack-infra/requestsexceptions" +license=('Apache') +makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' + 'python-requests' 'python2-requests') +source=("git+https://github.com/openstack-infra/requestsexceptions.git#tag=$pkgver") +md5sums=('SKIP') + +prepare() { + cp -a requestsexceptions{,-py2} +} + +build() { + cd "$srcdir"/requestsexceptions + python setup.py build + + cd "$srcdir"/requestsexceptions-py2 + python2 setup.py build +} + +package_python-requestsexceptions() { + depends=('python-pbr' 'python-requests') + + cd "$srcdir"/requestsexceptions + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-requestsexceptions() { + depends=('python2-pbr' 'python2-requests') + + cd "$srcdir"/requestsexceptions-py2 + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: