pkgsrc/devel/py-pathlib2/Makefile
adam 550b9101b5 py-pathlib2: updated to 2.3.2
Version 2.3.2
- Hotfix for broken setup.py.

Version 2.3.1
- Fix tests for systems where filesystem encoding only supports ascii.
- Use modern setuptools syntax for specifying conditional scandir
  dependency.
- Remove legacy use of support module from old pathlib module.
  This fixes the tests for Python 3.6.
- Drop the "from __future__ import unicode_literals" and -Qnew tests
  as it introduced subtle bugs in the tests, and maintaining separate
  test modules for these legacy features seems not worth the effort.
- Drop Python 3.2 support, as scandir no longer supports it.
2018-04-23 11:59:26 +00:00

24 lines
654 B
Makefile

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