Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 14:06:26 +0200 (CEST)
From:      Bartek Rutkowski <ports@robakdesign.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tota@FreeBSD.org
Subject:   ports/188882: [PATCH] graphics/py-actdiag: stage
Message-ID:  <201404221206.s3MC6QU8048669@poudriere.ithil.palantiri.org>
Resent-Message-ID: <201404221210.s3MCA0xG034759@freefall.freebsd.org>

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

>Number:         188882
>Category:       ports
>Synopsis:       [PATCH] graphics/py-actdiag: stage
>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 Apr 22 12:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Bartek Rutkowski
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
Pixeware LTD
>Environment:
System: FreeBSD poudriere.ithil.palantiri.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r264341: Fri Apr 11 15:28:07 CEST
>Description:
- Stage
- Drop easy_install
- Use auto plist
- Delete pkg-plist

http://poudriere.ithil.palantiri.org:8080/latest-per-pkg/py27-actdiag/0.4.3/

Port maintainer (tota@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- py-actdiag-0.4.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 351810)
+++ Makefile	(working copy)
@@ -17,15 +17,12 @@
 		${PKGNAMEPREFIX}funcparserlib>=0.3.4:${PORTSDIR}/devel/py-funcparserlib
 
 USE_PYTHON=	2
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
-MAN1=	${PORTNAME}.1
-
 DOCSDIR=	${PREFIX}/share/doc/${UNIQUENAME}
 PORTDOCS=	README.txt
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
@@ -32,20 +29,8 @@
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
-	@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
 
-x-generate-plist:
-	${ECHO} bin/${PORTNAME} > pkg-plist.new
-	${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type f | ${SORT} | \
-	${SED} -e 's,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,' \
-		-e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' \
-		>> pkg-plist.new
-	${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type d -depth | ${SORT} -r | \
-	${SED} -e 's,${PYTHON_SITELIBDIR},@dirrm %%PYTHON_SITELIBDIR%%,' \
-		-e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' \
-		>> pkg-plist.new
-
 .include <bsd.port.mk>
--- py-actdiag-0.4.3.patch ends here ---

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



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