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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:48:52 UTC 2021


    Date: Friday, December 3, 2021 @ 00:48:52
  Author: felixonmars
Revision: 1064080

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 1064077, python-requests-ftp/trunk/PKGBUILD)

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

Copied: python-requests-ftp/repos/community-staging-any/PKGBUILD (from rev 1064077, python-requests-ftp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:48:52 UTC (rev 1064080)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-requests-ftp'
+pkgver=0.3.1
+pkgrel=6
+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