mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
897 B
Text
33 lines
897 B
Text
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer:
|
|
pkgname=py3-pyftpdlib
|
|
_pkgname=${pkgname#py3-}
|
|
pkgver=1.5.7
|
|
pkgrel=1
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22 pyftpdlib-1.5.7.tar.gz
|
|
"
|