Bug 190344 - [PATCH] graphics/py-gvgen: Added STAGE support
Summary: [PATCH] graphics/py-gvgen: Added STAGE support
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: Sofian Brabez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-28 15:00 UTC by Muhammad Moinur Rahman
Modified: 2014-05-28 21:20 UTC (History)
1 user (show)

See Also:


Attachments
py-gvgen-0.9.patch (2.92 KB, patch)
2014-05-28 15:00 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer 2014-05-28 15:00:01 UTC
- Added STAGE support
- Fixed MASTER_SITES
- Fixed WWW

For Committer's reference:
http://pdr.s.ubze.ro/bulk/latest-per-pkg/py27-gvgen/0.9_1/

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

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2014-05-28 15:00:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sbz

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-05-28 21:16:12 UTC
Author: sbz
Date: Wed May 28 20:16:08 2014
New Revision: 355654
URL: http://svnweb.freebsd.org/changeset/ports/355654
QAT: https://qat.redports.org/buildarchive/r355654/

Log:
  - Support STAGEDIR
  - Update WWW
  - Update COMMENT
  
  PR:		ports/190344
  Submitted by:	Muhammad Moinur Rahman <5u623l20 at gmail.com>

Deleted:
  head/graphics/py-gvgen/pkg-plist
Modified:
  head/graphics/py-gvgen/Makefile
  head/graphics/py-gvgen/distinfo
  head/graphics/py-gvgen/pkg-descr
  head/graphics/py-gvgen/pkg-message

Modified: head/graphics/py-gvgen/Makefile
==============================================================================
--- head/graphics/py-gvgen/Makefile	Wed May 28 19:56:41 2014	(r355653)
+++ head/graphics/py-gvgen/Makefile	Wed May 28 20:16:08 2014	(r355654)
@@ -3,26 +3,37 @@
 
 PORTNAME=	gvgen
 PORTVERSION=	0.9
+PORTREVISION=	1
 CATEGORIES=	graphics python
-MASTER_SITES=	http://software.inl.fr/releases/GvGen/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sbz@FreeBSD.org
-COMMENT=	An easy python interface to generate dot files
+COMMENT=	Easy python interface to generate dot files
 
+LICENSE=	GPLv2
+
+USE_GITHUB=	yes
 USE_PYTHON=	yes
-USE_PYDISTUTILS=easy-install
-PYDISTUTILS_PKGVERSION=	0.9
-PYDISTUTILS_EGGINFO=	GvGen-${PORTVERSION}-py${PYTHON_VER}.egg-info
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
+GH_ACCOUNT=	stricaud
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	777ab06
+
+OPTIONS=	DOCS
+
+PORTDOCS=	crypto-folks.png gvgen-legend.png gvgen-propertyforeachlinks.2.png \
+	      	gvgen-smartmode-2.png gvgen-cluster-node-link.png gvgen-legendin.png \
+		gvgen-propertylink.png gvgen-styles.png gvgen-defaultstyle.png \
+   		gvgen-links.png gvgen-smartmode-1.png
 
-PORTDOCS=	user-guide.tex.lyx
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/graphics/py-gvgen/distinfo
==============================================================================
--- head/graphics/py-gvgen/distinfo	Wed May 28 19:56:41 2014	(r355653)
+++ head/graphics/py-gvgen/distinfo	Wed May 28 20:16:08 2014	(r355654)
@@ -1,2 +1,2 @@
-SHA256 (gvgen-0.9.tar.gz) = cc9f21be92d68bae3c2df7749abc5cc0fc6f8ce76b04fa07c477a6f8862e56bb
-SIZE (gvgen-0.9.tar.gz) = 27292
+SHA256 (gvgen-0.9.tar.gz) = a55a0665fb7987a12aee7cba13ba53bd0afbef7d9fc4526737a0e1f20ec26594
+SIZE (gvgen-0.9.tar.gz) = 128308

Modified: head/graphics/py-gvgen/pkg-descr
==============================================================================
--- head/graphics/py-gvgen/pkg-descr	Wed May 28 19:56:41 2014	(r355653)
+++ head/graphics/py-gvgen/pkg-descr	Wed May 28 20:16:08 2014	(r355654)
@@ -1,4 +1,4 @@
 GvGen is a python class to generate dot files for further use with
 graphviz.
 
-WWW: http://software.inl.fr/trac/wiki/GvGen
+WWW: http://github.com/stricaud/gvgen

Modified: head/graphics/py-gvgen/pkg-message
==============================================================================
--- head/graphics/py-gvgen/pkg-message	Wed May 28 19:56:41 2014	(r355653)
+++ head/graphics/py-gvgen/pkg-message	Wed May 28 20:16:08 2014	(r355654)
@@ -2,7 +2,6 @@
 GvGen is installed. 
 
 For a quick start:
-    - read the user_guide.tex.lyx
     - create dot file ./yourgraph.py > gourgraph.dot
     - generate graph dot -Tpng yourgraph.dot > yourgraph.png
 
_______________________________________________
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 Sofian Brabez freebsd_committer 2014-05-28 21:19:07 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!