Date: Thursday, April 6, 2023 @ 13:57:55
Author: felixonmars
Revision: 1439076
archrelease: copy trunk to community-staging-any
Added:
python-requests-file/repos/community-staging-any/
python-requests-file/repos/community-staging-any/PKGBUILD
(from rev 1439075, python-requests-file/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-requests-file/repos/community-staging-any/PKGBUILD (from rev
1439075, python-requests-file/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:57:55 UTC (rev 1439076)
@@ -0,0 +1,27 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Contributor: lilydjwg <[email protected]>
+
+pkgname=python-requests-file
+pkgver=1.5.1
+pkgrel=6
+pkgdesc="File transport adapter for Requests"
+arch=('any')
+url="https://github.com/dashea/requests-file"
+license=('Apache')
+depends=('python-six' 'python-requests')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dashea/requests-file/archive/${pkgver}.tar.gz")
+sha256sums=('a9b0a80675727f320cd5c71d6eb70cc3969b468dc27896a893148c0f6b424446')
+
+build() {
+ cd "$srcdir"/requests-file-${pkgver}
+
+ python setup.py build_ext --inplace
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/requests-file-${pkgver}
+
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}