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

Felix Yan felixonmars at archlinux.org
Mon Jul 3 16:25:24 UTC 2017


    Date: Monday, July 3, 2017 @ 16:25:14
  Author: felixonmars
Revision: 242183

archrelease: copy trunk to community-any

Added:
  python-requestsexceptions/repos/community-any/PKGBUILD
    (from rev 242182, python-requestsexceptions/trunk/PKGBUILD)
Deleted:
  python-requestsexceptions/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-03 16:24:25 UTC (rev 242182)
+++ PKGBUILD	2017-07-03 16:25:14 UTC (rev 242183)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at 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:

Copied: python-requestsexceptions/repos/community-any/PKGBUILD (from rev 242182, python-requestsexceptions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-03 16:25:14 UTC (rev 242183)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-requestsexceptions
+pkgname=(python-requestsexceptions python2-requestsexceptions)
+pkgver=1.3.0
+pkgrel=1
+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=('acae76c2dca030db0eb89f6fc45bf14d61646610551c7694cd406c7fc466bcd9c229631f324dccfb06475aa1c7100bd909d2e38a2b7eb91755a814bd8e216f97')
+
+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:



More information about the arch-commits mailing list