Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 16:15:55 GMT
From:      Marco Bröder <marco.broeder@gmx.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173531: [maintainer-update] [patch] devel/dulwich: Update to 0.8.6 release
Message-ID:  <201211101615.qAAGFtdg064820@red.freebsd.org>
Resent-Message-ID: <201211101620.qAAGK15q026370@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173531
>Category:       ports
>Synopsis:       [maintainer-update] [patch] devel/dulwich: Update to 0.8.6 release
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 10 16:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Marco Bröder
>Release:        stable/9 amd64
>Organization:
>Environment:
>Description:
- Update to 0.8.6 release
- Add DOCS option and install additional docs
- Define UNIQUENAME to use same option settings regardless of python version
- Trim Makefile header

Tested: portlint, tinderbox, pkg install / delete, runtime (with hg-git)

If there are questions, please ask before committing.

Thanks!

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/devel/dulwich/Makefile b/devel/dulwich/Makefile
index bf1778b..682709b 100644
--- a/devel/dulwich/Makefile
+++ b/devel/dulwich/Makefile
@@ -1,12 +1,8 @@
-# Ports collection makefile for:	dulwich
-# Date created:		2009-10-24
-# Whom:			Marco Broeder <marco.broeder@gmx.eu>
-#
+# Created by: Marco Broeder <marco.broeder@gmx.eu>
 # $FreeBSD: ports/devel/dulwich/Makefile,v 1.16 2012/03/30 19:06:37 jgh Exp $
-#
 
 PORTNAME=	dulwich
-PORTVERSION=	0.8.5
+PORTVERSION=	0.8.6
 CATEGORIES=	devel python
 MASTER_SITES=	http://samba.org/~jelmer/${PORTNAME}/ \
 		http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
@@ -24,9 +20,17 @@ USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
 
 FETCH_ARGS=	-Fpr	# default '-AFpr' prevents 302 redirects by launchpad
+UNIQUENAME=	${PORTNAME}
 
-.ifndef (NOPORTDOCS)
-PORTDOCS=	AUTHORS COPYING HACKING NEWS README
+OPTIONS_DEFINE=	DOCS
+DOCS_DESC=	Install some documentation text files
+OPTIONS_DEFAULT=DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+PORTDOCS=	AUTHORS COPYING HACKING NEWS README introduction.txt \
+		object-store.txt protocol.txt remote.txt repo.txt
 .endif
 
 post-patch:
@@ -36,7 +40,8 @@ post-patch:
 		${WRKSRC}/setup.py
 
 post-install:
-.ifndef (NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
+	${CP} ${WRKSRC}/docs/*.txt ${WRKSRC}/docs/tutorial/*.txt ${WRKSRC}
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
diff --git a/devel/dulwich/distinfo b/devel/dulwich/distinfo
index a7983b7..a223e92 100644
--- a/devel/dulwich/distinfo
+++ b/devel/dulwich/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dulwich-0.8.5.tar.gz) = 546d2840199500dc270da5bda456df68de4d1733f8b184bf425c5e560f988b6a
-SIZE (dulwich-0.8.5.tar.gz) = 203727
+SHA256 (dulwich-0.8.6.tar.gz) = fd7337656ac304e295771b9fa655e7f417015ad6d071553bc3e5ba876efc35c7
+SIZE (dulwich-0.8.6.tar.gz) = 208467


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211101615.qAAGFtdg064820>