Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2012 09:57:16 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301644 - head/www/py-webob
Message-ID:  <201207280957.q6S9vGmq009376@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Sat Jul 28 09:57:15 2012
New Revision: 301644
URL: http://svn.freebsd.org/changeset/ports/301644

Log:
  - Update to 1.2.1
  - Set USE_PYTHON to 'yes' (Python3 ready)
  - Define options DOCS and TESTS (default Off)
  
  ReleaseNews:	http://goo.gl/VBmuR
  BuildLog:	http://goo.gl/3tZsn

Modified:
  head/www/py-webob/Makefile   (contents, props changed)
  head/www/py-webob/distinfo   (contents, props changed)
  head/www/py-webob/pkg-plist   (contents, props changed)

Modified: head/www/py-webob/Makefile
==============================================================================
--- head/www/py-webob/Makefile	Sat Jul 28 09:01:53 2012	(r301643)
+++ head/www/py-webob/Makefile	Sat Jul 28 09:57:15 2012	(r301644)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	webob
-DISTVERSION=	1.2b3
+PORTVERSION=	1.2.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,9 +19,34 @@ LICENSE=	MIT
 
 PYDISTUTILS_PKGNAME=	WebOb
 PYDISTUTILS_PKGVERSION=	${DISTVERSION}
-USE_PYTHON=	2.6+
+# Python3 ready
+USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install
 
 USE_ZIP=	yes
 
-.include <bsd.port.mk>
+OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONS_DEFINE=	DOCS TESTS
+
+TESTS_DESC=	Run tests with Nose
+
+.include <bsd.port.options.mk>
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS+=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
+DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+PYDISTUTILS_BUILD_TARGET+=	build_sphinx -a -E
+
+post-install:
+	@cd ${WRKSRC}/build/sphinx/html && \
+	${COPYTREE_SHARE} . ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MTESTS}
+BUILD_DEPENDS+=	nosetests:${PORTSDIR}/devel/py-nose
+PYDISTUTILS_BUILD_TARGET+=	nosetests
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/www/py-webob/distinfo
==============================================================================
--- head/www/py-webob/distinfo	Sat Jul 28 09:01:53 2012	(r301643)
+++ head/www/py-webob/distinfo	Sat Jul 28 09:57:15 2012	(r301644)
@@ -1,2 +1,2 @@
-SHA256 (WebOb-1.2b3.zip) = e0ac09805a9643d5b1bf5753adbf089cd52a6ff97fc2873bf17c2a82d9a49efb
-SIZE (WebOb-1.2b3.zip) = 204370
+SHA256 (WebOb-1.2.1.zip) = 45bd466b0a67acd168d67ea43482264c71f126d8ebe879041da674df79322610
+SIZE (WebOb-1.2.1.zip) = 218347

Modified: head/www/py-webob/pkg-plist
==============================================================================
--- head/www/py-webob/pkg-plist	Sat Jul 28 09:01:53 2012	(r301643)
+++ head/www/py-webob/pkg-plist	Sat Jul 28 09:57:15 2012	(r301644)
@@ -1,2 +1,72 @@
-@comment $FreeBSD$
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
+%%PORTDOCS%%%%DOCSDIR%%/_sources/comment-example.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/differences.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/do-it-yourself.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/file-example.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/jsonrpc-example.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/modules/client.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/modules/dec.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/modules/static.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/modules/webob.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/news.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/pycon2011/pycon-py3k-sprint.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/reference.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/test-file.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/test_dec.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/test_request.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/test_response.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/wiki-example.txt
+%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
+%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/default.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/sidebar.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
+%%PORTDOCS%%%%DOCSDIR%%/comment-example.html
+%%PORTDOCS%%%%DOCSDIR%%/differences.html
+%%PORTDOCS%%%%DOCSDIR%%/do-it-yourself.html
+%%PORTDOCS%%%%DOCSDIR%%/file-example.html
+%%PORTDOCS%%%%DOCSDIR%%/genindex.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/jsonrpc-example.html
+%%PORTDOCS%%%%DOCSDIR%%/license.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/client.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/dec.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/static.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/webob.html
+%%PORTDOCS%%%%DOCSDIR%%/news.html
+%%PORTDOCS%%%%DOCSDIR%%/objects.inv
+%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
+%%PORTDOCS%%%%DOCSDIR%%/pycon2011/pycon-py3k-sprint.html
+%%PORTDOCS%%%%DOCSDIR%%/reference.html
+%%PORTDOCS%%%%DOCSDIR%%/search.html
+%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
+%%PORTDOCS%%%%DOCSDIR%%/test-file.html
+%%PORTDOCS%%%%DOCSDIR%%/test_dec.html
+%%PORTDOCS%%%%DOCSDIR%%/test_request.html
+%%PORTDOCS%%%%DOCSDIR%%/test_response.html
+%%PORTDOCS%%%%DOCSDIR%%/wiki-example.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/pycon2011
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/pycon2011
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/modules
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



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