[arch-commits] Commit in python-requests-ftp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:04:08 UTC 2019


    Date: Monday, November 4, 2019 @ 05:04:08
  Author: felixonmars
Revision: 523166

archrelease: copy trunk to community-staging-any

Added:
  python-requests-ftp/repos/community-staging-any/
  python-requests-ftp/repos/community-staging-any/PKGBUILD
    (from rev 523165, python-requests-ftp/trunk/PKGBUILD)

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

Copied: python-requests-ftp/repos/community-staging-any/PKGBUILD (from rev 523165, python-requests-ftp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:04:08 UTC (rev 523166)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-requests-ftp'
+pkgver=0.3.1
+pkgrel=4
+pkgdesc="FTP transport adapter for Requests"
+arch=('any')
+url="https://github.com/Lukasa/requests-ftp"
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-setuptools')
+source=("https://github.com/Lukasa/requests-ftp/archive/v${pkgver}.tar.gz")
+sha256sums=('9e63cf0f21d306931e205363fb5021f9553c8fcc0197bac07f0882a56d8e7251')
+
+build() {
+  cd "$srcdir"/requests-ftp-${pkgver}
+
+  python setup.py build_ext --inplace
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/requests-ftp-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list