aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-pydot
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-06-14 09:18:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-06-14 09:18:25 +0000
commitc19d996b028af843e9c86c3255ffddd37452d58a (patch)
tree70665918b5789dace91eaf33e494408b2aac8692 /graphics/py-pydot
parente9f32d44c160c4335d4195819b91d9b4f1accdf2 (diff)
downloadports-c19d996b028af843e9c86c3255ffddd37452d58a.tar.gz
ports-c19d996b028af843e9c86c3255ffddd37452d58a.zip
- 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
Notes
Notes: svn path=/head/; revision=389613
Diffstat (limited to 'graphics/py-pydot')
-rw-r--r--graphics/py-pydot/Makefile19
-rw-r--r--graphics/py-pydot/distinfo4
-rw-r--r--graphics/py-pydot/files/patch-setup.py6
-rw-r--r--graphics/py-pydot/pkg-descr12
4 files changed, 24 insertions, 17 deletions
diff --git a/graphics/py-pydot/Makefile b/graphics/py-pydot/Makefile
index 02c5d8dc5539..ac364f39f9bf 100644
--- a/graphics/py-pydot/Makefile
+++ b/graphics/py-pydot/Makefile
@@ -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>
diff --git a/graphics/py-pydot/distinfo b/graphics/py-pydot/distinfo
index a7df2bfb72b5..c9db837d69d7 100644
--- a/graphics/py-pydot/distinfo
+++ b/graphics/py-pydot/distinfo
@@ -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
diff --git a/graphics/py-pydot/files/patch-setup.py b/graphics/py-pydot/files/patch-setup.py
index 0fd230ca053f..34907ad4e031 100644
--- a/graphics/py-pydot/files/patch-setup.py
+++ b/graphics/py-pydot/files/patch-setup.py
@@ -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'],
diff --git a/graphics/py-pydot/pkg-descr b/graphics/py-pydot/pkg-descr
index 1885a368d8bb..23b9df15be23 100644
--- a/graphics/py-pydot/pkg-descr
+++ b/graphics/py-pydot/pkg-descr
@@ -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