# $NetBSD: Makefile,v 1.55 2022/11/21 09:52:49 adam Exp $ DISTNAME= dulwich-0.20.50 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=d/dulwich/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://www.dulwich.io/ COMMENT= Python implementation of Git LICENSE= apache-2.0 OR gnu-gpl-v2 DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.24.1:../../www/py-urllib3 TEST_DEPENDS+= ${PYPKGPREFIX}-fastimport-[0-9]*:../../devel/py-fastimport TEST_DEPENDS+= ${PYPKGPREFIX}-gevent-[0-9]*:../../net/py-gevent TEST_DEPENDS+= ${PYPKGPREFIX}-geventhttpclient-[0-9]*:../../net/py-geventhttpclient TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock PYTHON_VERSIONS_INCOMPATIBLE= 27 USE_PKG_RESOURCES= yes post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} dul-receive-pack dul-receive-pack-${PYVERSSUFFIX} && \ ${MV} dul-upload-pack dul-upload-pack-${PYVERSSUFFIX} && \ ${MV} dulwich dulwich-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"