Bug 188882 - [PATCH] graphics/py-actdiag: stage
Summary: [PATCH] graphics/py-actdiag: stage
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-22 13:10 UTC by Bartek Rutkowski
Modified: 2014-04-26 22:24 UTC (History)
1 user (show)

See Also:


Attachments
py-actdiag-0.4.3.patch (1.33 KB, patch)
2014-04-22 13:10 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-22 13:10:00 UTC
- 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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-22 13:10:08 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-26 22:18:12 UTC
Author: tota
Date: Sat Apr 26 21:18:07 2014
New Revision: 352378
URL: http://svnweb.freebsd.org/changeset/ports/352378
QAT: https://qat.redports.org/buildarchive/r352378/

Log:
  - Update to 0.5.1
    * Switch run-time dependency from PIL to Pillow
  - Use USE_PYDISTUTILS= yes instead of USE_PYDISTUTILS= easy_install
  - Use PYDISTUTILS_AUTOPLIST
    * Remove pkg-plist, accordingly
  - Support STAGEDIR
    * Make DOCS unconditional to stage
  - Unmute INSTALL_DATA and INSTALL_MAN in post-install target
  
  PR:		ports/188882 (based on)
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Deleted:
  head/graphics/py-actdiag/pkg-plist
Modified:
  head/graphics/py-actdiag/Makefile
  head/graphics/py-actdiag/distinfo

Modified: head/graphics/py-actdiag/Makefile
==============================================================================
--- head/graphics/py-actdiag/Makefile	Sat Apr 26 21:17:32 2014	(r352377)
+++ head/graphics/py-actdiag/Makefile	Sat Apr 26 21:18:07 2014	(r352378)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	actdiag
-PORTVERSION=	0.4.3
+PORTVERSION=	0.5.1
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,40 +12,29 @@ COMMENT=	Simple activity-diagram image g
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	${PKGNAMEPREFIX}imaging>=1.1.5:${PORTSDIR}/graphics/py-imaging \
-		${PKGNAMEPREFIX}blockdiag>=1.2.4:${PORTSDIR}/graphics/py-blockdiag \
-		${PKGNAMEPREFIX}funcparserlib>=0.3.4:${PORTSDIR}/devel/py-funcparserlib
-
-USE_PYTHON=	2
-USE_PYDISTUTILS=	easy_install
-
-MAN1=	${PORTNAME}.1
+RUN_DEPENDS=	${PKGNAMEPREFIX}pillow>=2.2.1:${PORTSDIR}/graphics/py-pillow \
+		${PKGNAMEPREFIX}blockdiag>=1.3.1:${PORTSDIR}/graphics/py-blockdiag \
+		${PKGNAMEPREFIX}funcparserlib>=0.3.6:${PORTSDIR}/devel/py-funcparserlib
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/${UNIQUENAME}
-PORTDOCS=	README.txt
-
-NO_STAGE=	yes
+PORTDOCS=	README.rst
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${DOCSDIR}
+.if ${PYTHON_VER} == 3.1
+IGNORE=	does not support in ${PYTHON_VERSION}
 .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
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
+	@${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/graphics/py-actdiag/distinfo
==============================================================================
--- head/graphics/py-actdiag/distinfo	Sat Apr 26 21:17:32 2014	(r352377)
+++ head/graphics/py-actdiag/distinfo	Sat Apr 26 21:18:07 2014	(r352378)
@@ -1,2 +1,2 @@
-SHA256 (actdiag-0.4.3.tar.gz) = a52385bb0c1631bb70621706b7680382a8d5cb48612649cc502c36db7919d9c7
-SIZE (actdiag-0.4.3.tar.gz) = 23004
+SHA256 (actdiag-0.5.1.tar.gz) = 84de54e1c3c1b09f173fd072a2c37af7ed2813b9a343bd0fd324545db5636b29
+SIZE (actdiag-0.5.1.tar.gz) = 22823
_______________________________________________
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-26 22:23:29 UTC
State Changed
From-To: open->closed

Committed. Thanks!