Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 22:00:31 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346817 - head/devel/py-stevedore
Message-ID:  <201403022200.s22M0VLI091802@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Mar  2 22:00:31 2014
New Revision: 346817
URL: http://svnweb.freebsd.org/changeset/ports/346817
QAT: https://qat.redports.org/buildarchive/r346817/

Log:
  devel/py-stevedore: support staging and do general clean-up
  
  - remove dependency on argparse - it's a part of all supported pythons in the
    ports tree
  - do not use easy_install for installation and convert to auto-generated packing
    list
  - add staging support
  - unmute docs installation command
  - remove inclusion of devel/py-virtualenv/files/py3k-fix-pkg-plist.inc - it's
    implemented in bsd.python.mk
  - add slash to pkg-descr:WWW
  - bump PORTREVISION because of package change and dependency list change
  
  Approved by:	nivit (maintainer, explicitly for such changes in his ports)

Deleted:
  head/devel/py-stevedore/pkg-plist
Modified:
  head/devel/py-stevedore/Makefile
  head/devel/py-stevedore/pkg-descr

Modified: head/devel/py-stevedore/Makefile
==============================================================================
--- head/devel/py-stevedore/Makefile	Sun Mar  2 21:57:20 2014	(r346816)
+++ head/devel/py-stevedore/Makefile	Sun Mar  2 22:00:31 2014	(r346817)
@@ -3,7 +3,7 @@
 
 PORTNAME=	stevedore
 PORTVERSION=	0.11
-#PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,6 @@ COMMENT=	Manage dynamic plugins for Pyth
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	${PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
 TEST_DEPENDS=	${PKGNAMEPREFIX}coverage>=3.5.3:${PORTSDIR}/devel/py-coverage \
 		${PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock \
 		${PKGNAMEPREFIX}nose>=1.3.0:${PORTSDIR}/devel/py-nose \
@@ -24,23 +23,22 @@ OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME
 
 TOX_CMD=	${LOCALBASE}/bin/tox
 
-# Python3 ready
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.include <bsd.port.pre.mk>
-
 .if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	dot:${PORTSDIR}/graphics/graphviz \
 		sphinx-build:${PORTSDIR}/textproc/py-sphinx
 DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS=	*
 PYDISTUTILS_BUILD_TARGET+=	build_sphinx --all-files --fresh-env
 
 post-install:
-	@cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 .endif
 
 regression-test: build
@@ -50,8 +48,4 @@ regression-test: build
 		-e 's,%%WRKSRC%%,${WRKSRC},1' -i.bak tox.ini && \
 	${TOX_CMD}
 
-.if ${PYTHON_REL} >= 320
-.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/py-stevedore/pkg-descr
==============================================================================
--- head/devel/py-stevedore/pkg-descr	Sun Mar  2 21:57:20 2014	(r346816)
+++ head/devel/py-stevedore/pkg-descr	Sun Mar  2 22:00:31 2014	(r346817)
@@ -5,4 +5,4 @@ for doing this, using __import__ or impo
 creating yet another extension mechanism by building on top of setuptools
 entry points.
 
-WWW: https://github.com/dreamhost/stevedore
+WWW: https://github.com/dreamhost/stevedore/



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