5b60656aa5
v1.6.4 For test dependencies, when indicating Python 3, use ``>=3`` instead of ``>3`` to satisfy `python-poetry/poetry#3862 <https://github.com/python-poetry/poetry/issues/3862>`_. v1.6.3 Restore universal wheel. v1.6.2 Packaging refresh.
28 lines
966 B
Makefile
28 lines
966 B
Makefile
# $NetBSD: Makefile,v 1.9 2021/04/16 05:53:37 adam Exp $
|
|
|
|
DISTNAME= backports.functools_lru_cache-1.6.4
|
|
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-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 && pytest-${PYVERSSUFFIX}
|
|
|
|
post-install:
|
|
${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|