pkgsrc/devel/py-pathlib2/Makefile

25 lines
654 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2018/04/23 11:59:26 adam Exp $
DISTNAME= pathlib2-2.3.2
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 "${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"