Bug 188493 - [PATCH] devel/py-funcparserlib: staging
Summary: [PATCH] devel/py-funcparserlib: staging
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: TAKATSU Tomonari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-12 08:00 UTC by Bartek Rutkowski
Modified: 2014-04-12 11:58 UTC (History)
1 user (show)

See Also:


Attachments
py-funcparserlib-0.3.6.patch (1.43 KB, patch)
2014-04-12 08:00 UTC, Bartek Rutkowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Rutkowski freebsd_committer freebsd_triage 2014-04-12 08:00:00 UTC
- Staging

http://poudriere.ithil.palantiri.org:8080/latest-per-pkg/py27-funcparserlib/0.3.6/

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

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-12 08:00:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tota

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-12 11:48:29 UTC
Author: tota
Date: Sat Apr 12 10:48:25 2014
New Revision: 351084
URL: http://svnweb.freebsd.org/changeset/ports/351084
QAT: https://qat.redports.org/buildarchive/r351084/

Log:
  - Support STAGEDIR [1]
  - Use USE_PYDISTUTILS= yes instead of easy_install
  - Use PYDISTUTILS_AUTOPLIST
  - Make docs unconditional to stage
    * Remove bsd.port.options.mk, accordingly
    * Remove OPTIONSFILE which is not needed
  - Unmute INSTALL_WRKSRC in post-install target
  - Remove x-generate-plist target which should have been done
    at r317309 when pkg-plist was removed
  - Bump PORTREVISION
  
  PR:		ports/188493 [1]
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Modified:
  head/devel/py-funcparserlib/Makefile

Modified: head/devel/py-funcparserlib/Makefile
==============================================================================
--- head/devel/py-funcparserlib/Makefile	Sat Apr 12 10:47:13 2014	(r351083)
+++ head/devel/py-funcparserlib/Makefile	Sat Apr 12 10:48:25 2014	(r351084)
@@ -3,6 +3,7 @@
 
 PORTNAME=	funcparserlib
 PORTVERSION=	0.3.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,32 +14,19 @@ COMMENT=	Recursive descent parsing libra
 LICENSE=	MIT
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 PORTDOCS=	README doc
 DOCSDIR=	${PREFIX}/share/doc/${UNIQUENAME}
 
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-
 OPTIONS_DEFINE=	DOCS
-OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${RM} -f ${WRKSRC}/doc/Makefile
-	@${MKDIR} ${DOCSDIR}
-	@cd ${INSTALL_WRKSRC} \
-	  && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
-	  && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
-.endif
-
-x-generate-plist:
-	${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type f | ${SORT} | \
-	${SED} -e 's,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,' > pkg-plist.new
-	${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d -depth | ${SORT} -r | \
-	${SED} -e 's,${PYTHON_SITELIBDIR},@dirrm %%PYTHON_SITELIBDIR%%,' >> pkg-plist.new
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${INSTALL_WRKSRC} \
+	  && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
+	  && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 TAKATSU Tomonari freebsd_committer freebsd_triage 2014-04-12 11:54:45 UTC
State Changed
From-To: open->closed

Committed. Thanks!