bd23318c40
1.5: Refresh package metadata including publishing license with the wheel.
25 lines
784 B
Makefile
25 lines
784 B
Makefile
# $NetBSD: Makefile,v 1.5 2018/02/14 14:06:02 adam Exp $
|
|
|
|
DISTNAME= backports.functools_lru_cache-1.5
|
|
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}-test>=2.8:../../devel/py-test
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27
|
|
|
|
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"
|