Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 09:47:23 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151575: [UPDATE] devel/py-Jinja2 to 2.5.5
Message-ID:  <201010190947.o9J9lNHh082448@www.freebsd.org>
Resent-Message-ID: <201010190950.o9J9o6u4074531@freefall.freebsd.org>

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

>Number:         151575
>Category:       ports
>Synopsis:       [UPDATE] devel/py-Jinja2 to 2.5.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 09:50:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.1-RELEASE
>Organization:
>Environment:
FreeBSD bornem.errements.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Clean DOCSDIR, in pkg-plist there are only reStructured files (.rst), which found in archive. If someone want documentation in HTML format, we must add textproc/py-sphinx as dependence.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/devel/py-Jinja2/Makefile py-Jinja2/Makefile
--- /usr/ports/devel/py-Jinja2/Makefile	2010-09-15 00:05:46.000000000 +0200
+++ py-Jinja2/Makefile	2010-10-19 11:07:57.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	Jinja2
-PORTVERSION=	2.5.2
-PORTREVISION=	0
+PORTVERSION=	2.5.5
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP \
 		http://nivi.interfree.it/distfiles/${PORTNAME}/
@@ -28,7 +27,9 @@
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC}/docs/_build/html && ${COPYTREE_SHARE} . ${DOCSDIR}
+	@cd ${WRKSRC}/docs/ && \
+		${FIND} . -type f -regex '.*\.rst' \
+		-exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
 .endif
 .if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
diff -u /usr/ports/devel/py-Jinja2/distinfo py-Jinja2/distinfo
--- /usr/ports/devel/py-Jinja2/distinfo	2010-09-15 00:05:46.000000000 +0200
+++ py-Jinja2/distinfo	2010-10-19 09:25:21.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (Jinja2-2.5.2.tar.gz) = 3829be2926a067ee024e6d3e5327dbf7
-SHA256 (Jinja2-2.5.2.tar.gz) = 19040f01b3a9d8c63e4d57936f78710908199b69370ab44a0f7407dd891f019b
-SIZE (Jinja2-2.5.2.tar.gz) = 697422
+MD5 (Jinja2-2.5.5.tar.gz) = 83b20c1eeb31f49d8e6392efae91b7d5
+SHA256 (Jinja2-2.5.5.tar.gz) = 22f9675e42dc640c4469d4f7d210baecb5e695823af954c813d51c930235675d
+SIZE (Jinja2-2.5.5.tar.gz) = 438586
diff -u /usr/ports/devel/py-Jinja2/pkg-plist py-Jinja2/pkg-plist
--- /usr/ports/devel/py-Jinja2/pkg-plist	2010-09-15 00:05:46.000000000 +0200
+++ py-Jinja2/pkg-plist	2010-10-19 11:00:01.000000000 +0200
@@ -140,55 +140,17 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/visitor.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/visitor.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/visitor.pyo
-%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
-%%PORTDOCS%%%%DOCSDIR%%/_sources/api.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/changelog.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/extensions.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/faq.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/integration.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/intro.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/sandbox.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/switching.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/templates.txt
-%%PORTDOCS%%%%DOCSDIR%%/_sources/tricks.txt
-%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
-%%PORTDOCS%%%%DOCSDIR%%/_static/darkmetal.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/default.css
-%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
-%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/headerbg.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/implementation.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/jinja.js
-%%PORTDOCS%%%%DOCSDIR%%/_static/jinjabanner.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
-%%PORTDOCS%%%%DOCSDIR%%/_static/metal.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/navigation.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/note.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/print.css
-%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
-%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
-%%PORTDOCS%%%%DOCSDIR%%/_static/style.css
-%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
-%%PORTDOCS%%%%DOCSDIR%%/_static/watermark.png
-%%PORTDOCS%%%%DOCSDIR%%/_static/watermark_blur.png
-%%PORTDOCS%%%%DOCSDIR%%/api.html
-%%PORTDOCS%%%%DOCSDIR%%/changelog.html
-%%PORTDOCS%%%%DOCSDIR%%/extensions.html
-%%PORTDOCS%%%%DOCSDIR%%/faq.html
-%%PORTDOCS%%%%DOCSDIR%%/genindex.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/integration.html
-%%PORTDOCS%%%%DOCSDIR%%/intro.html
-%%PORTDOCS%%%%DOCSDIR%%/objects.inv
-%%PORTDOCS%%%%DOCSDIR%%/sandbox.html
-%%PORTDOCS%%%%DOCSDIR%%/search.html
-%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
-%%PORTDOCS%%%%DOCSDIR%%/switching.html
-%%PORTDOCS%%%%DOCSDIR%%/templates.html
-%%PORTDOCS%%%%DOCSDIR%%/tricks.html
+%%PORTDOCS%%%%DOCSDIR%%/api.rst
+%%PORTDOCS%%%%DOCSDIR%%/changelog.rst
+%%PORTDOCS%%%%DOCSDIR%%/extensions.rst
+%%PORTDOCS%%%%DOCSDIR%%/faq.rst
+%%PORTDOCS%%%%DOCSDIR%%/index.rst
+%%PORTDOCS%%%%DOCSDIR%%/integration.rst
+%%PORTDOCS%%%%DOCSDIR%%/intro.rst
+%%PORTDOCS%%%%DOCSDIR%%/sandbox.rst
+%%PORTDOCS%%%%DOCSDIR%%/switching.rst
+%%PORTDOCS%%%%DOCSDIR%%/templates.rst
+%%PORTDOCS%%%%DOCSDIR%%/tricks.rst
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic/cycle.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic/debugger.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic/inheritance.py
@@ -206,7 +168,6 @@
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/django/index.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/django/layout.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/djangoext.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/djangoext.pyc
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/genshi/helpers.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/genshi/index.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/genshi/layout.html
@@ -217,7 +178,6 @@
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/mako/index.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/mako/layout.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/rwbench.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rwbench/rwbench.pyc
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rwbench/mako
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rwbench/jinja
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rwbench/genshi
@@ -226,8 +186,6 @@
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/basic/templates
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/basic
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/res/templates/foo
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jinja2/testsuite/res/templates


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



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