Date: Thursday, April 6, 2023 @ 18:30:58
  Author: felixonmars
Revision: 1440241

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

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

Copied: python-requests-ftp/repos/community-staging-any/PKGBUILD (from rev 
1440238, python-requests-ftp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 18:30:58 UTC (rev 1440241)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+
+pkgname='python-requests-ftp'
+pkgver=0.3.1
+pkgrel=7
+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
+}

Reply via email to