pkgsrc/devel/py-atomicwrites/Makefile
2020-05-16 09:03:22 +00:00

24 lines
666 B
Makefile

# $NetBSD: Makefile,v 1.15 2020/05/16 09:03:22 adam Exp $
DISTNAME= atomicwrites-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/atomicwrites/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/untitaker/python-atomicwrites
COMMENT= Python module for atomic file writes on POSIX
LICENSE= mit
EXTRACT_USING= bsdtar # gtar cannot handle pre-1970 timestamps
USE_LANGUAGES= # none
PYTHON_VERSIONED_DEPENDENCIES= test:test
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"