a7f9e57969
- Sync with upstream pathlib from CPython 3.6.1
24 lines
653 B
Makefile
24 lines
653 B
Makefile
# $NetBSD: Makefile,v 1.2 2017/07/30 17:41:56 adam Exp $
|
|
|
|
DISTNAME= pathlib2-2.3.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pathlib2/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/pathlib2
|
|
COMMENT= Object-oriented filesystem paths
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
|
|
DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir
|
|
.endif
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|