pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-dot



Module Name:    pkgsrc
Committed By:   richard
Date:           Wed Aug 17 12:37:35 UTC 2016

Modified Files:
        pkgsrc/graphics/py-dot: Makefile PLIST distinfo
Removed Files:
        pkgsrc/graphics/py-dot/patches: patch-dot__parser.py

Log Message:
update to pydot-1.2.2

# `pydot` changelog

## 1.2.0 (2016-07-01)

- Python 3 compatibility
- bumped dependency to `pyparsing >= 2.1.4`
- tests running on Travis CI
- tests require `chardet`
- detect character encoding for most test files
  using the package `chardet`

API:

- on all operating systems, search GraphViz
  executables in environment `$PATH`,
  using `subprocess.Popen`.
  No paths hard-coded due to security and privacy issues.

- add option to pass GraphViz executable name
  or absolute path as `prog` to `pydot.Dot.write_*` methods.
  This provides an alternative to
  adding GraphViz to the `$PATH`.

- the functions:
    - `pydot.graph_from_dot_data`
    - `pydot.graph_from_dot_file`
    - `dot_parser.parse_dot_data`
  changed to always return a `list` of graphs,
  instead of behaving differently for singletons.

- require that the user explicitly give an encoding to
  the function `pydot.graph_from_dot_file`,
  with default encoding same as `io.open`.

- decode to unicode at program boundaries, and
  treat binary images as bytes,
  for more compatibility with python 3.
  Use `io.open`, instead of the built-in `open`.

- rm function `pydot.set_graphviz_executables`

- rm attribute `pydot.Dot.progs`

## 1.1.0 (2016-05-23)

- compatibility with `pyparsing >= 1.5.7`

API:

- `pydot.Graph.to_string`: hide `subgraph` keyword only if so requested
- produce `warnings.warn` if `pydot.dot_parser` fails to import,
  instead of `print`

## 1.0.29 (2016-05-16)

- Maintenance release that keeps the same API
- pin `pyparsing == 1.5.7`
- update version number in source code
- update `setup.py`


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/py-dot/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/py-dot/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/py-dot/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/graphics/py-dot/patches/patch-dot__parser.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-dot/Makefile
diff -u pkgsrc/graphics/py-dot/Makefile:1.4 pkgsrc/graphics/py-dot/Makefile:1.5
--- pkgsrc/graphics/py-dot/Makefile:1.4 Sat Jul  9 13:03:51 2016
+++ pkgsrc/graphics/py-dot/Makefile     Wed Aug 17 12:37:34 2016
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2016/07/09 13:03:51 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/08/17 12:37:34 richard Exp $
 
-DISTNAME=      pydot-1.0.28
+DISTNAME=      pydot-1.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    graphics python
-MASTER_SITES=  http://pydot.googlecode.com/files/
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydot/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://code.google.com/p/pydot/
@@ -13,12 +13,9 @@ LICENSE=             mit
 DEPENDS+=      ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
 DEPENDS+=      graphviz-[0-9]*:../../graphics/graphviz
 
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # not yet ported as of 1.0.28
-
 post-install:
-       ${RM} ${DESTDIR}${PREFIX}/README
+       ${RM} ${DESTDIR}${PREFIX}/README.md
        ${RM} ${DESTDIR}${PREFIX}/LICENSE
 
-.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/py-dot/PLIST
diff -u pkgsrc/graphics/py-dot/PLIST:1.1 pkgsrc/graphics/py-dot/PLIST:1.2
--- pkgsrc/graphics/py-dot/PLIST:1.1    Sun Jan 19 20:15:43 2014
+++ pkgsrc/graphics/py-dot/PLIST        Wed Aug 17 12:37:34 2016
@@ -1,8 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2014/01/19 20:15:43 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/08/17 12:37:34 richard Exp $
 ${PYSITELIB}/dot_parser.py
 ${PYSITELIB}/dot_parser.pyc
 ${PYSITELIB}/dot_parser.pyo
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pydot.py
 ${PYSITELIB}/pydot.pyc
 ${PYSITELIB}/pydot.pyo

Index: pkgsrc/graphics/py-dot/distinfo
diff -u pkgsrc/graphics/py-dot/distinfo:1.2 pkgsrc/graphics/py-dot/distinfo:1.3
--- pkgsrc/graphics/py-dot/distinfo:1.2 Tue Nov  3 21:34:16 2015
+++ pkgsrc/graphics/py-dot/distinfo     Wed Aug 17 12:37:34 2016
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 21:34:16 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/08/17 12:37:34 richard Exp $
 
-SHA1 (pydot-1.0.28.tar.gz) = 3945af1765943807d72e773c7ac853f008ebb0b2
-RMD160 (pydot-1.0.28.tar.gz) = a67336f5edf55a81fe654df3258a12a8ff92d4f6
-SHA512 (pydot-1.0.28.tar.gz) = 54b4d7bfb01bbcae9a4832d1c3321d4f453a93f062ee55b35e3d59bee3f8989f4a544afb56c3d16b22bca8e6ef24b6286ac2688c9045b16906ef625999b35055
-Size (pydot-1.0.28.tar.gz) = 19711 bytes
-SHA1 (patch-dot__parser.py) = 9ce92c76bb5878ac990a3557e550679364a2d7b2
+SHA1 (pydot-1.2.2.tar.gz) = 1f0813b6b0a1201a2a34affb0164e699df8327c0
+RMD160 (pydot-1.2.2.tar.gz) = 2311a2894262ca20baeb4abb4077a910283cfcc3
+SHA512 (pydot-1.2.2.tar.gz) = bde62da86d3d99fa45c4266e47be1b36e3fa746556064d1e15911abad6583fcd1020c9f1b6c8e73359e0d3a336ed0f19c95fd860627d99f8d3f20b98e454407a
+Size (pydot-1.2.2.tar.gz) = 20027 bytes



Home | Main Index | Thread Index | Old Index