pkgsrc/devel/py-pygit2/Makefile
wiz e14896b844 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:21 +00:00

29 lines
866 B
Makefile

# $NetBSD: Makefile,v 1.24 2022/01/04 20:53:23 wiz Exp $
DISTNAME= pygit2-1.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygit2/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/libgit2/pygit2
COMMENT= Python bindings to libgit2
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-cached-property-[0-9]*:../../devel/py-cached-property
.endif
PYSETUPTESTTARGET= pytest
.include "../../devel/libgit2/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"