Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 12:03:39 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309000 - head/devel/dulwich
Message-ID:  <201212161203.qBGC3d0S070257@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Dec 16 12:03:39 2012
New Revision: 309000
URL: http://svnweb.freebsd.org/changeset/ports/309000

Log:
  - update to 0.8.7
  - fix options dialog issue (add OPTIONSFILE)
  - install docs included
  
  while here:
  - limit to python 2.x (the code is not python 3.x-aware yet)
  - tab -> space change in pkg-descr:WWW
  - use PYTHON_CMD instead of ``/usr/bin/env python'' to make sure it
    will be runned with the same python branch, that it was built with
  
  PR:		173531
  Submitted by:	Marco Broder <marco.broeder@gmx.eu> (maintainer)

Modified:
  head/devel/dulwich/Makefile
  head/devel/dulwich/distinfo
  head/devel/dulwich/pkg-descr

Modified: head/devel/dulwich/Makefile
==============================================================================
--- head/devel/dulwich/Makefile	Sun Dec 16 12:02:24 2012	(r308999)
+++ head/devel/dulwich/Makefile	Sun Dec 16 12:03:39 2012	(r309000)
@@ -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$
-#
 
 PORTNAME=	dulwich
-PORTVERSION=	0.8.5
+PORTVERSION=	0.8.7
 CATEGORIES=	devel python
 MASTER_SITES=	http://samba.org/~jelmer/${PORTNAME}/ \
 		http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
@@ -20,23 +16,29 @@ LICENSE_COMB=	dual
 
 MAKE_JOBS_SAFE=	yes
 
-USE_PYTHON=	yes
+PORTDOCS=	AUTHORS HACKING NEWS README introduction.txt \
+		object-store.txt protocol.txt remote.txt repo.txt
+
+USE_PYTHON=	-2.7
 USE_PYDISTUTILS=yes
 
 FETCH_ARGS=	-Fpr	# default '-AFpr' prevents 302 redirects by launchpad
 
-.ifndef (NOPORTDOCS)
-PORTDOCS=	AUTHORS COPYING HACKING NEWS README
-.endif
+OPTIONSFILE=	${PORT_DBDIR}/${PORTNAME}/options
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
+
+.include <bsd.port.options.mk>
 
 post-patch:
-	${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = /usr/bin/env python|g' \
+	${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = ${PYTHON_CMD}|g' \
 		${WRKSRC}/Makefile
-	${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g' \
+	${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
 		${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

Modified: head/devel/dulwich/distinfo
==============================================================================
--- head/devel/dulwich/distinfo	Sun Dec 16 12:02:24 2012	(r308999)
+++ head/devel/dulwich/distinfo	Sun Dec 16 12:03:39 2012	(r309000)
@@ -1,2 +1,2 @@
-SHA256 (dulwich-0.8.5.tar.gz) = 546d2840199500dc270da5bda456df68de4d1733f8b184bf425c5e560f988b6a
-SIZE (dulwich-0.8.5.tar.gz) = 203727
+SHA256 (dulwich-0.8.7.tar.gz) = 7ba336d0100b90baf843b20d71fedc8a92e36de41c1acdebe4cba12e76b93810
+SIZE (dulwich-0.8.7.tar.gz) = 208639

Modified: head/devel/dulwich/pkg-descr
==============================================================================
--- head/devel/dulwich/pkg-descr	Sun Dec 16 12:02:24 2012	(r308999)
+++ head/devel/dulwich/pkg-descr	Sun Dec 16 12:03:39 2012	(r309000)
@@ -4,4 +4,4 @@ It aims to give an interface to git repo
 but instead uses pure Python. It is based on the Python-Git module released by
 James Westby.
 
-WWW:	http://samba.org/~jelmer/dulwich/
+WWW: http://samba.org/~jelmer/dulwich/



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