Date: Friday, October 25, 2019 @ 20:15:19
  Author: foutrelis
Revision: 519818

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 519817, python-requests-file/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-requests-file/repos/community-staging-any/PKGBUILD (from rev 
519817, python-requests-file/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-10-25 20:15:19 UTC (rev 519818)
@@ -0,0 +1,27 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Contributor: lilydjwg <[email protected]>
+
+pkgname='python-requests-file'
+pkgver=1.4.3
+pkgrel=4
+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=("https://github.com/dashea/requests-file/archive/${pkgver}.tar.gz";)
+sha256sums=('5ea90937dd77769ef1d1ad93ef5996212e75b20a5531ad36dc12b1873fbf99c1')
+
+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
+}

Reply via email to