From 620d3ea5c8cc8314db33a92c99f0ee211957feeb Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 14 Jul 2017 10:53:35 +0000 Subject: [PATCH] 0.17.3: PLATFORM SUPPORT * List Python 3.3 as supported. BUG FIXES * Fix compatibility with pypy 3. --- devel/py-dulwich/ALTERNATIVES | 3 +++ devel/py-dulwich/Makefile | 15 +++++++++++---- devel/py-dulwich/PLIST | 8 ++++---- devel/py-dulwich/distinfo | 10 +++++----- 4 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 devel/py-dulwich/ALTERNATIVES diff --git a/devel/py-dulwich/ALTERNATIVES b/devel/py-dulwich/ALTERNATIVES new file mode 100644 index 000000000000..0c41080c8548 --- /dev/null +++ b/devel/py-dulwich/ALTERNATIVES @@ -0,0 +1,3 @@ +bin/dul-receive-pack @PREFIX@/bin/dul-receive-pack@PYVERSSUFFIX@ +bin/dul-upload-pack @PREFIX@/bin/dul-upload-pack@PYVERSSUFFIX@ +bin/dulwich @PREFIX@/bin/dulwich@PYVERSSUFFIX@ diff --git a/devel/py-dulwich/Makefile b/devel/py-dulwich/Makefile index 80ef88f0e859..e3aec2a5093a 100644 --- a/devel/py-dulwich/Makefile +++ b/devel/py-dulwich/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.19 2017/04/19 17:25:08 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2017/07/14 10:53:35 adam Exp $ -DISTNAME= dulwich-0.17.2 +DISTNAME= dulwich-0.17.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=d/dulwich/} @@ -11,9 +11,16 @@ COMMENT= Python implementation of Git LICENSE= apache-2.0 OR gnu-gpl-v2 # TEST_DEPENDS +BUILD_DEPENDS+= ${PYPKGPREFIX}-fastimport-[0-9]*:../../devel/py-fastimport BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock -#BUILD_DEPENDS+= ${PYPKGPREFIX}-gevent-[0-9]*:../../net/py-gevent -# also needs unpackaged simple and geventhttpclient +BUILD_DEPENDS+= ${PYPKGPREFIX}-gevent-[0-9]*:../../net/py-gevent +BUILD_DEPENDS+= ${PYPKGPREFIX}-geventhttpclient-[0-9]*:../../net/py-geventhttpclient + +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" diff --git a/devel/py-dulwich/PLIST b/devel/py-dulwich/PLIST index 5e66a625bb0b..c2e7c605ef76 100644 --- a/devel/py-dulwich/PLIST +++ b/devel/py-dulwich/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.9 2016/12/30 00:55:33 wiz Exp $ -bin/dul-receive-pack -bin/dul-upload-pack -bin/dulwich +@comment $NetBSD: PLIST,v 1.10 2017/07/14 10:53:35 adam Exp $ +bin/dul-receive-pack${PYVERSSUFFIX} +bin/dul-upload-pack${PYVERSSUFFIX} +bin/dulwich${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt diff --git a/devel/py-dulwich/distinfo b/devel/py-dulwich/distinfo index 7304686dd921..2891458e0476 100644 --- a/devel/py-dulwich/distinfo +++ b/devel/py-dulwich/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2017/04/19 17:25:08 wiz Exp $ +$NetBSD: distinfo,v 1.17 2017/07/14 10:53:35 adam Exp $ -SHA1 (dulwich-0.17.2.tar.gz) = 4b4ce07c03d460086f28b102301b26489d5925a7 -RMD160 (dulwich-0.17.2.tar.gz) = e64e39f79032180cb8dfe2dad537d1cf456a550c -SHA512 (dulwich-0.17.2.tar.gz) = 9c4e6ff84edd072e6e1742df0d3ffefe752ca224af0f75734b69bd9efc9342353f68ab9bfe21123e8edba07bab72f02b5d82a4289bcbd9e2a144ec8c9450df2b -Size (dulwich-0.17.2.tar.gz) = 311472 bytes +SHA1 (dulwich-0.17.3.tar.gz) = 5130180c3aeea0e8dc73e827293e261d37a7f066 +RMD160 (dulwich-0.17.3.tar.gz) = c3363823405b8d814b7f46ee11ab1db648370707 +SHA512 (dulwich-0.17.3.tar.gz) = 1cc7950d53b8d8bb98f9206e1ced74857f756d4355813ddb2463cef855419ac57ae411e422e500b736c3e577f71da70d675d1f172140d4cc0645d3d5ab9e6e32 +Size (dulwich-0.17.3.tar.gz) = 311704 bytes