# $NetBSD: Makefile,v 1.16 2020/04/29 13:53:31 adam Exp $ DISTNAME= natsort-7.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=n/natsort/} MAINTAINER= kamelderouiche@yahoo.com HOMEPAGE= https://github.com/SethMMorton/natsort COMMENT= Natural sorting for python LICENSE= mit TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} natsort natsort-${PYVERSSUFFIX} || ${TRUE} do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"