mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 20:55:19 +03:00
31 lines
896 B
Text
31 lines
896 B
Text
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer:
|
|
pkgname=py3-pyftpdlib
|
|
_pkgname=${pkgname#py3-}
|
|
pkgver=1.5.6
|
|
pkgrel=0
|
|
pkgdesc="Extremely fast and scalable Python FTP server library."
|
|
url="https://pypi.org/project/pyftpdlib/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
# v1.5.5 two failing tests https://github.com/giampaolo/pyftpdlib/issues/500
|
|
options="!check"
|
|
depends="py3-openssl py3-pysendfile"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-psutil"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="a3c3c1cac221a8a3c090ee208c03134bb1b8de58099a23ca6ee422f06fb97a0ed561c96e62c62b21fa112dd0b3458651b9fc0c55d72dc0bed79d0583b319a50d pyftpdlib-1.5.6.tar.gz"
|