33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2020/10/06 10:51:22 wiz Exp $
|
|
|
|
DISTNAME= eliot-1.7.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=e/eliot/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/itamarst/eliot
|
|
COMMENT= Logging library that tells you why it happened
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
|
|
DEPENDS+= ${PYPKGPREFIX}-boltons>=19.0.1:../../devel/py-boltons
|
|
DEPENDS+= ${PYPKGPREFIX}-pyrsistent>=0.11.8:../../devel/py-pyrsistent
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} eliot-prettyprint eliot-prettyprint-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} eliot/tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|