94c35bec11
Packaged for wip by Kamel Ibn Aziz Derouiche and myself. pathlib offers a set of classes to handle filesystem paths. It offers the following advantages over using string objects: - No more cumbersome use of os and os.path functions. Everything can be done easily through operators, attribute accesses, and method calls - Embodies the semantics of different path types. For example, comparing Windows paths ignores casing - Well-defined semantics, eliminating any warts or ambiguities (forward vs backward slashes, etc.)
21 lines
546 B
Makefile
21 lines
546 B
Makefile
# $NetBSD: Makefile,v 1.1 2017/08/29 06:55:55 wiz Exp $
|
|
|
|
DISTNAME= pathlib-1.0.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pathlib/}
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= https://pathlib.readthedocs.org/
|
|
COMMENT= Object-oriented filesystem paths
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # included in 3.4+
|
|
|
|
do-test:
|
|
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_pathlib.py
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|