svn commit: r309000 - head/devel/dulwich
Ruslan Mahmatkhanov
rm at FreeBSD.org
Sun Dec 16 12:03:40 UTC 2012
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 at 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 at gmx.eu>
-#
+# Created by: Marco Broeder <marco.broeder at 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/
More information about the svn-ports-all
mailing list