pkgsrc/net/py-pyftpdlib/Makefile
wiz 57bceddce2 *: mark as not-for-python-2.x
A dependency does not support python 2 any longer
2022-05-01 09:13:41 +00:00

28 lines
850 B
Makefile

# $NetBSD: Makefile,v 1.5 2022/05/01 09:13:42 wiz Exp $
DISTNAME= pyftpdlib-1.5.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyftpdlib/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/giampaolo/pyftpdlib
COMMENT= Very fast asynchronous FTP server library
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
TEST_DEPENDS+= ${PYPKGPREFIX}-pysendfile-[0-9]*:../../net/py-pysendfile
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ftpbench ftpbench-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"