Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
python-graphviz: Autospec creation for update from version 0.8.4 to v…
Browse files Browse the repository at this point in the history
…ersion 0.13

David Gros (1):
      Make escape backslash characters in identifiers be properly escaped. Fixes #80

Sebastian Bank (100):
      bump version for development
      test Python 3.7 on travis with xenial/sudo
      improve out/err variable naming
      rename stderr_write_bytes, include optional flush
      make itertree() more compact with enumerate
      include stderr in CalledProcessError
      write stderr output from rendering process to sys.stderr
      bump major version for stderr change (quiet argument)
      release 0.9
      bump version for development
      test render stdout suppression
      create a fresh startupinfo instance for each Popen call (Python 3.7.0)
      drop obsolete imports
      use module-level branch for startupinfo
      add some more docstrings
      outs -> out
      update sphinx config to 1.7
      add renderer and formatter arguments to render() and pipe()
      add provenience note for renderers/formatters whitelist
      document ENGINES and FORMATS provenience
      fix missing autodoc
      bump version for formatter/renderer argument
      release 0.10
      bump version for development
      add test case for broken renderer arg in pipe
      fix broken renerer arg in pipe
      release 0.10.1
      bump version for development
      flake8
      separate tox.ini
      work around pytest-dev/pytest#4306
      cover non-ExecutableNotFound run() OSError branch
      skip OSError test with --skipexe
      re-run example notebook with Python 3.7.1
      blacklist pytest 3.10.0, drop minversion bug workaround
      drop thonny workaround
      adapt --skipexe help text
      parametrize more tests, extend copy() assertions
      add parentheses to comparison
      update link to IPython console in Spider IDE
      add example for using g.attr(rank='same') with subgraphs
      drop Python 3.4 support
      simplify with operator.methodcaller
      add message to version() exception, tighten result test
      refactor command() helper, skip suffix computation when piping
      improve formatting
      straighten mapping_items()
      use a module-level constant for the default encoding
      improve multi-line code formatting
      ignore superfluous flake8 messages
      improve naming
      fix constants docstring
      bump version for new feature development
      add quiet argument to render() and pipe() methods
      add test for current behaviour on relative paths
      switch relative image path test to wanted behaviour, make if fail
      execute render() with dirname of filepath as cwd
      document render() cwd changes
      add quiet arg to view() short-cut method
      switch backend to module import, one module per import
      flake8
      test view() returns None
      double whitespace
      move out unknown platform tests
      fix missing source fixture
      include test png in source distribution
      release 0.11
      bump version for development
      fix typos
      include repr of stderr in str of CalledProcessError
      document addition, move code
      make dot stderr message test more specific
      release 0.11.1
      bump version for development
      reformat/simplify example code
      polish cluster example
      add quiet arg to view() and expose as quiet_view on methods
      add debug logging
      extend logging, capture log in tests, adapt test mock object names
      use autospec=True for mocking stdlib functions/objects
      fix autospec=True incompatible with create=True
      fix sys.stderr mocking with autospec=True failing from 'no attribute flush'
      use autospec for os.startfile mock on Windows
      make autospec work everywhere
      bump to next version for added features
      document escaping, quite_view, logging, and autospec
      ignore all ipython notebook temp directories
      release 0.12
      bump version for development
      activate debug logging in example notebook
      use autospec for mock pipe()
      refactor tests with pytest parametrize
      include tests for failing execution in --skipexe test set
      refactor missing_executable tests into parametrized test
      flake8 (whitespace)
      add graphviz-engines.ipynb for engine comparison
      bump to next version for Graphviz escape sequences
      only escape unescaped quotes, add escape() function for literal strings
      document escaping, notebook, and test changes
      release 0.13
  • Loading branch information
phmccarty committed Oct 11, 2019
1 parent 0b35ed7 commit 1530abe
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.*~
*~
*.info
*.mod
*.swp
.repo-index
*.log
Expand All @@ -8,6 +10,9 @@ build.log.round*
*.tgz
!*.tar.*.*
*.zip
*.jar
*.pom
*.xml
commitmsg
results/
rpms/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := python-graphviz
URL = https://files.pythonhosted.org/packages/21/e8/13b0523da93d7189d9ab30097cdd2ffe78f88b0cc69f341749dec562b731/graphviz-0.8.4.zip
URL = https://files.pythonhosted.org/packages/a0/61/693f408d104808a0efaccb0cb01d7327c1be35e2ae79ff7128ebba81ab81/graphviz-0.13.zip
ARCHIVES =

include ../common/Makefile.common
7 changes: 5 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = python-graphviz
url = https://files.pythonhosted.org/packages/21/e8/13b0523da93d7189d9ab30097cdd2ffe78f88b0cc69f341749dec562b731/graphviz-0.8.4.zip
url = https://files.pythonhosted.org/packages/a0/61/693f408d104808a0efaccb0cb01d7327c1be35e2ae79ff7128ebba81ab81/graphviz-0.13.zip
archives =
giturl = https://github.com/xflr6/graphviz.git
domain =

[autospec]
# build 32 bit libraries
Expand All @@ -17,7 +18,7 @@ autoupdate = false
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# this package is a library compatability package and only ships versioned library files
# this package is a library compatibility package and only ships versioned library files
compat = false
# set conservative build flags
conservative_flags = false
Expand All @@ -33,6 +34,8 @@ insecure_build = false
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not generate debuginfo for this package
nodebug = false
# disable stripping binaries
nostrip = false
# optimize build for size over speed
Expand Down
18 changes: 9 additions & 9 deletions python-graphviz.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : python-graphviz
Version : 0.8.4
Release : 9
URL : https://files.pythonhosted.org/packages/21/e8/13b0523da93d7189d9ab30097cdd2ffe78f88b0cc69f341749dec562b731/graphviz-0.8.4.zip
Source0 : https://files.pythonhosted.org/packages/21/e8/13b0523da93d7189d9ab30097cdd2ffe78f88b0cc69f341749dec562b731/graphviz-0.8.4.zip
Version : 0.13
Release : 10
URL : https://files.pythonhosted.org/packages/a0/61/693f408d104808a0efaccb0cb01d7327c1be35e2ae79ff7128ebba81ab81/graphviz-0.13.zip
Source0 : https://files.pythonhosted.org/packages/a0/61/693f408d104808a0efaccb0cb01d7327c1be35e2ae79ff7128ebba81ab81/graphviz-0.13.zip
Summary : Simple Python interface for Graphviz
Group : Development/Tools
License : MIT
Expand Down Expand Up @@ -71,14 +71,14 @@ python3 components for the python-graphviz package.


%prep
%setup -q -n graphviz-0.8.4
%setup -q -n graphviz-0.13

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1560319549
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1570829181
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -94,7 +94,7 @@ python3 setup.py build
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/python-graphviz
cp LICENSE.txt %{buildroot}/usr/share/package-licenses/python-graphviz/LICENSE.txt
cp %{_builddir}/graphviz-0.13/LICENSE.txt %{buildroot}/usr/share/package-licenses/python-graphviz/7d90580e9d3b0bd1aefed59d0783267e06786398
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand All @@ -105,7 +105,7 @@ echo ----[ mark ]----

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/python-graphviz/LICENSE.txt
/usr/share/package-licenses/python-graphviz/7d90580e9d3b0bd1aefed59d0783267e06786398

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9
10
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5262cee2158b92fc99d5bedd68cb697911794168/graphviz-0.8.4.zip
d0adb09ed2cb538aa091a395a0f7875cd0b365d8/graphviz-0.13.zip
1 change: 1 addition & 0 deletions versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.13

0 comments on commit 1530abe

Please sign in to comment.