svn commit: r500310 - in head/devel/dulwich: . files
Steve Wills
swills at FreeBSD.org
Sun Apr 28 11:41:53 UTC 2019
Author: swills
Date: Sun Apr 28 11:41:51 2019
New Revision: 500310
URL: https://svnweb.freebsd.org/changeset/ports/500310
Log:
devel/dulwich: Update to 0.19.11 and allow including tests
PR: 236428
Submitted by: fullermd at over-yonder.net
Approved by: maintainer timeout (marco.broeder at posteo.eu, >5 weeks)
Deleted:
head/devel/dulwich/files/
Modified:
head/devel/dulwich/Makefile (contents, props changed)
head/devel/dulwich/distinfo (contents, props changed)
Modified: head/devel/dulwich/Makefile
==============================================================================
--- head/devel/dulwich/Makefile Sun Apr 28 11:35:18 2019 (r500309)
+++ head/devel/dulwich/Makefile Sun Apr 28 11:41:51 2019 (r500310)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dulwich
-PORTVERSION= 0.18.6
+PORTVERSION= 0.19.11
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,22 +14,34 @@ LICENSE= APACHE20 GPLv2+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
-PORTDOCS= AUTHORS NEWS README.md TODO conclusion.txt \
+USES= cpe python
+
+PORTDOCS= AUTHORS NEWS README.rst TODO conclusion.txt encoding.txt \
file-format.txt index.txt introduction.txt object-store.txt \
performance.txt porcelain.txt protocol.txt remote.txt repo.txt tag.txt
PORTEXAMPLES= clone.py config.py diff.py latest_change.py
-USES= cpe python
CPE_VENDOR= dulwich_project
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils autoplist concurrent
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES TESTS
+OPTIONS_DEFAULT= TESTS
+TESTS_DESC= Install tests and test data
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = ${PYTHON_CMD}|g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
${WRKSRC}/setup.py ${WRKSRC}/examples/*.py
+.if ! ${PORT_OPTIONS:MTESTS}
+ ${REINPLACE_CMD} -e '/tests/d' \
+ ${WRKSRC}/dulwich.egg-info/SOURCES.txt \
+ ${WRKSRC}/MANIFEST.in
+ ${REINPLACE_CMD} -e "/packages=/s|'dulwich\.tests[^']*',||g" \
+ ${WRKSRC}/setup.py
+.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/*.so
Modified: head/devel/dulwich/distinfo
==============================================================================
--- head/devel/dulwich/distinfo Sun Apr 28 11:35:18 2019 (r500309)
+++ head/devel/dulwich/distinfo Sun Apr 28 11:41:51 2019 (r500310)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1516829918
-SHA256 (dulwich-0.18.6.tar.gz) = 38a04406bc68315794c3bab37c7d4ed137fb8a839482d8894e72b0d9b3eb41a9
-SIZE (dulwich-0.18.6.tar.gz) = 331325
+TIMESTAMP = 1552164645
+SHA256 (dulwich-0.19.11.tar.gz) = afbe070f6899357e33f63f3f3696e601731fef66c64a489dea1bc9f539f4a725
+SIZE (dulwich-0.19.11.tar.gz) = 364581
More information about the svn-ports-all
mailing list