Hi! Below is an update to dulwich 0.15.0.
Due to rather unsatisfactory performace of py-nose with dulwich's tests I am switching this port to its own test suite. Unfortunately, it requires rather useless python package "fastimport", which basically generates test data for git fastimport. OK to import devel/py-fastimport? OK to update devel/py-dulwich? Comments? -- Dmitrij D. Czarkoff Index: Makefile =================================================================== RCS file: /var/cvs/ports/devel/py-dulwich/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile 3 Aug 2016 21:57:08 -0000 1.25 +++ Makefile 9 Oct 2016 18:13:52 -0000 @@ -2,7 +2,7 @@ COMMENT = pure Python implementation of Git file formats and protocols -MODPY_EGG_VERSION = 0.14.1 +MODPY_EGG_VERSION = 0.15.0 DISTNAME = dulwich-${MODPY_EGG_VERSION} PKGNAME = ${MODPY_PY_PREFIX}${DISTNAME} @@ -23,13 +23,17 @@ MODPY_SETUPTOOLS = Yes RUN_DEPENDS = net/py-geventhttpclient -# One test fails due to the lack of OpenStack SWIFT. TEST_DEPENDS = ${RUN_DEPENDS} \ - devel/py-nose \ - devel/git,-main - -do-test: - nosetests -w ${WRKSRC} + devel/git,-main \ + devel/py-fastimport \ + devel/py-mock + +MAKE_ENV += LC_CTYPE=en_US.UTF-8 +GIT = ${LOCALBASE}/bin/git + +pre-test: + sed -i '/^_DEFAULT_GIT/s/git/${GIT:S/\//\\\//g}/' \ + ${WRKSRC}/dulwich/tests/compat/utils.py post-install: rm -R ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/docs Index: distinfo =================================================================== RCS file: /var/cvs/ports/devel/py-dulwich/distinfo,v retrieving revision 1.11 diff -u -p -r1.11 distinfo --- distinfo 3 Aug 2016 21:57:08 -0000 1.11 +++ distinfo 9 Oct 2016 18:12:17 -0000 @@ -1,2 +1,2 @@ -SHA256 (dulwich-0.14.1.tar.gz) = fB9J5ucvqGNTKNMr/rcQPobhddh/qAqc791jo2D3upM= -SIZE (dulwich-0.14.1.tar.gz) = 292827 +SHA256 (dulwich-0.15.0.tar.gz) = bwoJ2T8ByvG6BUs/dR1cwfDmr8XJf9I9Z9es+S8NCxY= +SIZE (dulwich-0.15.0.tar.gz) = 297106
py-fastimport-0.9.6.tgz
Description: application/gzip