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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 16:06:53 UTC 2020


    Date: Thursday, February 13, 2020 @ 16:06:52
  Author: felixonmars
Revision: 570573

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   73 +++++++++++++++++++++++--------------------------------------
 1 file changed, 28 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 16:06:38 UTC (rev 570572)
+++ PKGBUILD	2020-02-13 16:06:52 UTC (rev 570573)
@@ -1,45 +0,0 @@
-# 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.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:

Copied: python-requestsexceptions/repos/community-any/PKGBUILD (from rev 570572, python-requestsexceptions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 16:06:52 UTC (rev 570573)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-requestsexceptions
+pkgver=1.4.0
+pkgrel=5
+pkgdesc="Import exceptions from potentially bundled packages in requests."
+arch=('any')
+url="https://github.com/openstack-infra/requestsexceptions"
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-pbr')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack-infra/requestsexceptions/archive/$pkgver.tar.gz")
+sha512sums=('fb7cf432584963eee659b7294a11b4d0a1d1dd850bfccdac7a1d7014b6e97a5330553436df58c034088c8a2096b14bfe40ded7e128a5d8741114265c935cd02f')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd requestsexceptions-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd requestsexceptions-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list