[arch-commits] Commit in python-requestsexceptions/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:51:32 UTC 2020
Date: Monday, November 9, 2020 @ 16:51:32
Author: foutrelis
Revision: 747613
archrelease: copy trunk to community-staging-any
Added:
python-requestsexceptions/repos/community-staging-any/
python-requestsexceptions/repos/community-staging-any/PKGBUILD
(from rev 747610, python-requestsexceptions/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-requestsexceptions/repos/community-staging-any/PKGBUILD (from rev 747610, python-requestsexceptions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:51:32 UTC (rev 747613)
@@ -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=6
+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