Date: Saturday, April 8, 2023 @ 09:16:24
Author: felixonmars
Revision: 1442284
archrelease: copy trunk to community-staging-any
Added:
python-pyftpdlib/repos/community-staging-any/
python-pyftpdlib/repos/community-staging-any/PKGBUILD
(from rev 1442283, python-pyftpdlib/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-pyftpdlib/repos/community-staging-any/PKGBUILD (from rev
1442283, python-pyftpdlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 09:16:24 UTC (rev 1442284)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <[email protected]>
+
+pkgname=python-pyftpdlib
+pkgver=1.5.7
+pkgrel=3
+pkgdesc='Very fast asynchronous FTP server library'
+arch=('any')
+url='https://github.com/giampaolo/pyftpdlib/'
+license=('MIT')
+depends=('python')
+optdepends=('python-pyopenssl: FTPS support'
+ 'python-psutil: to keep track of FTP server memory usage')
+makedepends=('python-setuptools' 'python-pysendfile')
+checkdepends=('python-pytest' 'python-pyopenssl' 'python-psutil')
+source=("https://pypi.io/packages/source/p/pyftpdlib/pyftpdlib-$pkgver.tar.gz")
+sha512sums=('66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22')
+
+build() {
+ cd pyftpdlib-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pyftpdlib-$pkgver
+ pytest
+}
+
+package() {
+ cd pyftpdlib-$pkgver
+ python setup.py install --root="$pkgdir" -O1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}