34425123f7
Version 2.3.6 - Fix minor unicode bugs in with_name and with_suffix. Many thanks to ppentchev for reporting and for providing a fix. - Fix a few minor bugs. - Allow unicode file paths on systems that support it (note: unicode file paths will not work on Windows due a broken filesystem encoder on Windows on Python 2). - Remove travis and add github actions for regression testing. - Fix mypy warnings.
26 lines
684 B
Makefile
26 lines
684 B
Makefile
# $NetBSD: Makefile,v 1.8 2021/07/09 19:49:32 adam Exp $
|
|
|
|
DISTNAME= pathlib2-2.3.6
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pathlib2/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/mcmtroffaes/pathlib2
|
|
COMMENT= Object-oriented filesystem paths
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir
|
|
.endif
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHONBIN} tests/test_pathlib2.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|