pkgsrc/devel/py-configparser/Makefile
adam c0ee316a9b py-configparser: updated to 3.7.4
3.7.4
* Project is now officially supported through Tidelift
2019-05-07 05:15:38 +00:00

27 lines
749 B
Makefile

# $NetBSD: Makefile,v 1.7 2019/05/07 05:15:38 adam Exp $
DISTNAME= configparser-3.7.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/configparser/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/jaraco/configparser
COMMENT= Updated configparser from Python 3.5
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-backports-[0-9]*:../../devel/py-backports
TEST_DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
USE_LANGUAGES= # none
PYTHON_VERSIONS_ACCEPTED= 27
post-install:
${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.py*
do-test:
cd ${WRKSRC}/src && ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"