svn commit: r354388 - head/www/py-webob
Nicola Vitale
nivit at FreeBSD.org
Sun May 18 03:29:58 UTC 2014
Author: nivit
Date: Sun May 18 03:29:57 2014
New Revision: 354388
URL: http://svnweb.freebsd.org/changeset/ports/354388
QAT: https://qat.redports.org/buildarchive/r354388/
Log:
- Update to 1.4
- Add support for stage dir
- Sort variables
- Use new options helper
- Replace pkg-plist with an automatic package list
Release Notes: http://docs.webob.org/en/latest/news.html
Deleted:
head/www/py-webob/pkg-plist
Modified:
head/www/py-webob/Makefile
head/www/py-webob/distinfo
Modified: head/www/py-webob/Makefile
==============================================================================
--- head/www/py-webob/Makefile Sun May 18 03:16:28 2014 (r354387)
+++ head/www/py-webob/Makefile Sun May 18 03:29:57 2014 (r354388)
@@ -1,48 +1,45 @@
# $FreeBSD$
PORTNAME= webob
-PORTVERSION= 1.2.2
+PORTVERSION= 1.4
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PYDISTUTILS_PKGNAME}-${DISTVERSION}
+DISTNAME= WebOb-${DISTVERSION}
MAINTAINER= nivit at FreeBSD.org
COMMENT= WSGI request and response Python object
LICENSE= MIT
-PYDISTUTILS_PKGNAME= WebOb
-PYDISTUTILS_PKGVERSION= ${DISTVERSION}
-# Python3 ready
-USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
+DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-USES= zip
+OPTIONS_DEFINE= DOCS TESTS
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-OPTIONS_DEFINE= DOCS TESTS
+PORTDOCS= *
+
+PYDISTUTILS_AUTOPLIST= yes
+PYDISTUTILS_PKGVERSION= ${DISTVERSION}
+TESTS_BUILD_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose
TESTS_DESC= Run tests with Nose
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+USE_PYDISTUTILS= yes
+USE_PYTHON= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.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}
+ @(cd ${WRKSRC}/build/sphinx/html && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objectiv.inv")
.endif
.if ${PORT_OPTIONS:MTESTS}
-BUILD_DEPENDS+= nosetests:${PORTSDIR}/devel/py-nose
PYDISTUTILS_BUILD_TARGET+= nosetests
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/www/py-webob/distinfo
==============================================================================
--- head/www/py-webob/distinfo Sun May 18 03:16:28 2014 (r354387)
+++ head/www/py-webob/distinfo Sun May 18 03:29:57 2014 (r354388)
@@ -1,2 +1,2 @@
-SHA256 (WebOb-1.2.2.zip) = 356b7277941fb263bfef9d3c4279fb1058ff9ea91b5f8a886a9579d614c79787
-SIZE (WebOb-1.2.2.zip) = 219653
+SHA256 (WebOb-1.4.tar.gz) = 0819838204e2a6823e42bf2227898fdf3f306f7619bf328e25855a0d1ca20399
+SIZE (WebOb-1.4.tar.gz) = 633302
More information about the svn-ports-all
mailing list