pkgsrc/textproc/py-natsort/Makefile
adam c2991eb5df py-natsort: updated to 7.0.1
7.0.1:

Fixed
Bug where that caused incorrect sorting when using locales that have a "." character as the thousands separator.


7.0.0:

Added
Ability to deploy directly from TravisCI
Release checklist in RELEASING.md

Changed
Updated auxillary shell scripts to be written in python, and added ability to call these from tox
Improved Travis-CI experience
Update testing dependency versions

Removed
Support for Python 2
2020-04-29 13:53:31 +00:00

28 lines
745 B
Makefile

# $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"