- 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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-06-14 09:18:25 +00:00
parent e9f32d44c1
commit c19d996b02
4 changed files with 24 additions and 17 deletions

View file

@ -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>

View file

@ -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

View file

@ -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'],

View file

@ -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