Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 23:13: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: r346833 - head/devel/py-watchdog
Message-ID:  <201403022313.s22NDVMl024740@svn.freebsd.org>

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

Log:
  devel/py-watchdog: support staging and do general clean-up
  
  - do not use easy_install for installation and convert to auto-generated packing list
  - add staging support
  - remove inclusion of devel/py-virtualenv/files/py3k-fix-pkg-plist.inc - it's implemented in bsd.python.mk
  - install docs into staging area uncoditionally
  - add slash to pkg-descr:WWW
  - bump PORTREVISION because of package change
  
  Approved by:	nivit (maintainer, explicitly for such changes in his ports)

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

Modified: head/devel/py-watchdog/Makefile
==============================================================================
--- head/devel/py-watchdog/Makefile	Sun Mar  2 23:07:46 2014	(r346832)
+++ head/devel/py-watchdog/Makefile	Sun Mar  2 23:13:31 2014	(r346833)
@@ -2,7 +2,7 @@
 
 PORTNAME=	watchdog
 PORTVERSION=	0.6.0
-#PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -22,34 +22,25 @@ GH_TAGNAME=	v${PORTVERSION}
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 OPTIONS_DEFINE=	DOCS
 
-USE_GITHUB=	yes
-USE_PYDISTUTILS=	easy_install
-# Python3 ready (installation tested)
-USE_PYTHON=	yes
+USE_GITHUB=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+USE_PYTHON=		yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \
 		${PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS=	*
 
 post-build:
 	(cd ${WRKSRC}/docs ; ${MAKE} html)
 
 post-install:
-	(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 270 || ${PYTHON_SUFFIX} == 31
-RUN_DEPENDS+=	${PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
-.endif
-
-.if ${PYTHON_REL} >= 320
-.include "${.CURDIR}/../py-virtualenv/files/py3k-fix-pkg-plist.inc"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/py-watchdog/pkg-descr
==============================================================================
--- head/devel/py-watchdog/pkg-descr	Sun Mar  2 23:07:46 2014	(r346832)
+++ head/devel/py-watchdog/pkg-descr	Sun Mar  2 23:13:31 2014	(r346833)
@@ -5,4 +5,4 @@ Directory monitoring is made easy with
     * A cross-platform API.
     * A shell tool to run commands in response to directory changes.
 
-WWW: http://github.com/gorakhargosh/watchdog
+WWW: http://github.com/gorakhargosh/watchdog/



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