Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 09:18:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389613 - in head/graphics/py-pydot: . files
Message-ID:  <201506140918.t5E9IPr1075289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jun 14 09:18:25 2015
New Revision: 389613
URL: https://svnweb.freebsd.org/changeset/ports/389613

Log:
  - Add LICENSE
  - Update MASTER_SITES: upstream moved to GitHub
  - Update RUN_DEPENDS
  - Add NO_ARCH
  - Sort USE_PYTHON
  - Regenerate patch file with makepatch:
  - Reformat pkg-descr
  - Update WWW

Modified:
  head/graphics/py-pydot/Makefile
  head/graphics/py-pydot/distinfo
  head/graphics/py-pydot/files/patch-setup.py
  head/graphics/py-pydot/pkg-descr

Modified: head/graphics/py-pydot/Makefile
==============================================================================
--- head/graphics/py-pydot/Makefile	Sun Jun 14 09:18:20 2015	(r389612)
+++ head/graphics/py-pydot/Makefile	Sun Jun 14 09:18:25 2015	(r389613)
@@ -3,20 +3,27 @@
 
 PORTNAME=	pydot
 PORTVERSION=	1.0.28
-#PORTREVISION=	0
 CATEGORIES=	graphics python
-MASTER_SITES=	GOOGLE_CODE
-PROJECTHOST=	${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python interface to the Graphviz Dot language
 
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing \
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}parsing>=0:${PORTSDIR}/devel/py-parsing
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}parsing>=0:${PORTSDIR}/devel/py-parsing \
 		dot:${PORTSDIR}/graphics/graphviz
 
+NO_ARCH=	yes
+USE_PYTHON=	autoplist distutils
 USES=		python
-USE_PYTHON=	distutils autoplist
+
+GH_ACCOUNT=	erocarrera
+GH_TAGNAME=	ec21a11
+USE_GITHUB=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|__version__ = .*|__version__ = '${PORTVERSION}'|" ${WRKSRC}/pydot.py
 
 .include <bsd.port.mk>

Modified: head/graphics/py-pydot/distinfo
==============================================================================
--- head/graphics/py-pydot/distinfo	Sun Jun 14 09:18:20 2015	(r389612)
+++ head/graphics/py-pydot/distinfo	Sun Jun 14 09:18:25 2015	(r389613)
@@ -1,2 +1,2 @@
-SHA256 (pydot-1.0.28.tar.gz) = 1eeaff7b104fb8f305a98318dafde0b2d15f1efcdf8b16206465551cd46ed9df
-SIZE (pydot-1.0.28.tar.gz) = 19711
+SHA256 (erocarrera-pydot-1.0.28-ec21a11_GH0.tar.gz) = 2a9910a5799cb32598e2135dfd5ab4ace8ad645b6e94ecc2e5e85a2a282eb7b6
+SIZE (erocarrera-pydot-1.0.28-ec21a11_GH0.tar.gz) = 262626

Modified: head/graphics/py-pydot/files/patch-setup.py
==============================================================================
--- head/graphics/py-pydot/files/patch-setup.py	Sun Jun 14 09:18:20 2015	(r389612)
+++ head/graphics/py-pydot/files/patch-setup.py	Sun Jun 14 09:18:25 2015	(r389613)
@@ -1,6 +1,6 @@
---- setup.py.orig	2013-04-26 15:15:06.000000000 +0200
-+++ setup.py	2013-04-26 15:16:48.000000000 +0200
-@@ -31,5 +31,5 @@
+--- setup.py.orig	2012-01-03 00:15:07 UTC
++++ setup.py
+@@ -31,5 +31,5 @@ setup(	name = 'pydot',
          'Topic :: Software Development :: Libraries :: Python Modules'],
      long_description = "\n".join(pydot.__doc__.split('\n')),
      py_modules = ['pydot', 'dot_parser'],

Modified: head/graphics/py-pydot/pkg-descr
==============================================================================
--- head/graphics/py-pydot/pkg-descr	Sun Jun 14 09:18:20 2015	(r389612)
+++ head/graphics/py-pydot/pkg-descr	Sun Jun 14 09:18:25 2015	(r389613)
@@ -1,7 +1,7 @@
-An interface for creating both directed and non directed graphs from
-Python. Currently all attributes implemented in the Dot language are
-supported (up to Graphviz 1.16). Output can be inlined in Postscript
-into interactive scientific environments like TeXmacs, or output in any
-of the formats supported by the Graphviz tools dot, neato, twopi.
+An interface for creating both directed and non directed graphs from Python.
+Currently all attributes implemented in the Dot language are supported (up to
+Graphviz 1.16). Output can be inlined in Postscript into interactive scientific
+environments like TeXmacs, or output in any of the formats supported by the
+Graphviz tools dot, neato, twopi.
 
-WWW: http://code.google.com/p/pydot/
+WWW: https://github.com/erocarrera/pydot



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