pkgsrc/devel/py-backports.functools_lru_cache/Makefile
wiz 356be8ab31 py-backports.functools_lru_cache: update to 1.6.1.
v1.6.1
======

Publish release notes on readthedocs.

v1.6.0
======

Refresh package metadata.
Use black for code style.
Enroll with Tidelift.
2019-11-13 14:41:48 +00:00

29 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2019/11/13 14:41:48 wiz Exp $
DISTNAME= backports.functools_lru_cache-1.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/backports.functools_lru_cache/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/jaraco/backports.functools_lru_cache/
COMMENT= Backport of functools.lru_cache from Python 3.3
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-backports-[0-9]*:../../devel/py-backports
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
PYTHON_VERSIONS_ACCEPTED= 27
# XXX: also needs py-test-black
do-test:
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
post-install:
rm ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"