1c522f
%global common_desc								\
1c522f
An interface for creating both directed and non directed graphs from Python.	\
1c522f
Currently all attributes implemented in the Dot language are supported (up	\
1c522f
to Graphviz 2.16).								\
1c522f
										\
1c522f
Output can be inlined in Postscript into interactive scientific environments	\
1c522f
like TeXmacs, or output in any of the format's supported by the Graphviz	\
1c522f
tools dot, neato, twopi.
1c522f
1c522f
Name:		pydot
1c522f
Version:	1.4.1
1c522f
Release:	5%{?dist}
1c522f
Summary:	Python interface to Graphviz's Dot language
1c522f
1c522f
License:	MIT
1c522f
URL:		https://github.com/erocarrera/pydot
1c522f
Source0:	https://github.com/erocarrera/pydot/archive/v%{version}/%{name}-%{version}.tar.gz
1c522f
BuildArch:	noarch
1c522f
1c522f
%description
1c522f
%{common_desc}
1c522f
1c522f
%package -n python3-%{name}
1c522f
Summary:	Python3 interface to Graphviz's Dot language
1c522f
1c522f
BuildRequires:	python3-devel
1c522f
BuildRequires:  python3-setuptools
1c522f
BuildRequires:  python3dist(chardet)
1c522f
BuildRequires:  python3dist(nose)
1c522f
BuildRequires:	python3dist(pyparsing)
1c522f
BuildRequires:	python3dist(setuptools)
1c522f
BuildRequires:	graphviz
1c522f
Requires:	graphviz
1c522f
1c522f
Provides:	%{name} = %{version}-%{release}
1c522f
%{?python_provide:%python_provide python3-%{name}}
1c522f
1c522f
%description -n python3-%{name}
1c522f
%{common_desc}
1c522f
1c522f
%prep
1c522f
%autosetup
1c522f
1c522f
%build
1c522f
%py3_build
1c522f
1c522f
%install
1c522f
%py3_install
1c522f
1c522f
%check
1c522f
EXCLUDE_ARG=""
1c522f
EXCLUDE_ARG="$EXCLUDE_ARG -e test_graph_with_shapefiles -e test_graphviz_regression_tests -e test_my_regression_tests"
1c522f
PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} -v test/pydot_unittest.py $EXCLUDE_ARG
1c522f
1c522f
%files -n python3-%{name}
1c522f
%doc ChangeLog README.md
1c522f
%license LICENSE
1c522f
%{python3_sitelib}/dot_parser.*
1c522f
%{python3_sitelib}/pydot.*
1c522f
%{python3_sitelib}/__pycache__/dot_parser.*
1c522f
%{python3_sitelib}/__pycache__/pydot.*
1c522f
%{python3_sitelib}/pydot-%{version}-py%{python3_version}.egg-info/
1c522f
1c522f
%changelog
1c522f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1c522f
1c522f
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-4
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1c522f
1c522f
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.1-3
1c522f
- Rebuilt for Python 3.9
1c522f
1c522f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1c522f
1c522f
* Thu Dec 26 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.1-1
1c522f
- Update check section
1c522f
- Update to latest upstream release 1.4.1 
1c522f
1c522f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-9
1c522f
- Rebuilt for Python 3.8.0rc1 (#1748018)
1c522f
1c522f
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-8
1c522f
- Rebuilt for Python 3.8
1c522f
1c522f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1c522f
1c522f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1c522f
1c522f
* Tue Jan 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.4-5
1c522f
- Enable python dependency generator
1c522f
1c522f
* Mon Jan 14 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-4
1c522f
- Subpackage python2-pydot has been removed
1c522f
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
1c522f
1c522f
* Mon Oct 15 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.2.4-3
1c522f
- Bring the Python 2 subpackage back (#1637711).
1c522f
1c522f
* Mon Oct  1 2018 Tom Callaway <spot@fedoraproject.org> - 1.2.4-2
1c522f
- just py3
1c522f
1c522f
* Wed Sep 12 2018 Jerry James <loganjerry@gmail.com> - 1.2.4-1
1c522f
- update to 1.2.4
1c522f
1c522f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.28-19
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1c522f
1c522f
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.28-18
1c522f
- Rebuilt for Python 3.7
1c522f
1c522f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.28-17
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1c522f
1c522f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.28-16
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1c522f
1c522f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.28-15
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1c522f
1c522f
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.28-14
1c522f
- Rebuild for Python 3.6
1c522f
1c522f
* Mon Oct 17 2016 Björn Esser <fedora@besser82.io> - 1.0.28-13
1c522f
- Drop obsolete stuff
1c522f
- Move %%description to a common macro
1c522f
- Add conditionals to build on epel
1c522f
- Clean trailing whitespaces
1c522f
1c522f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-12
1c522f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1c522f
1c522f
* Fri Apr 15 2016 Tom Callaway <spot@fedoraproject.org> - 1.0.28-11
1c522f
- use debian's python3 fix (tested against bz1312815)
1c522f
1c522f
* Fri Apr  8 2016 Tom Callaway <spot@fedoraproject.org> - 1.0.28-10
1c522f
- properly obsolete old "pydot" packages (bz1323980)
1c522f
1c522f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.28-9
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1c522f
1c522f
* Tue Jan 19 2016 Tom Callaway <spot@fedoraproject.org> - 1.0.28-8
1c522f
- python 3 support
1c522f
1c522f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-7
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1c522f
1c522f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-6
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1c522f
1c522f
* Mon Dec  9 2013 Tom Callaway <spot@fedoraproject.org> - 1.0.28-5
1c522f
- fix for pyparsing2
1c522f
1c522f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-4
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1c522f
1c522f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-3
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1c522f
1c522f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1c522f
1c522f
* Fri Mar  2 2012 Tom Callaway <spot@fedoraproject.org> - 1.0.28-1
1c522f
- update to 1.0.28
1c522f
1c522f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-3
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1c522f
1c522f
* Tue Oct 11 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.25-2
1c522f
- apply fix for pebl relating to catching AttributeError, thanks to Thomas Spura
1c522f
1c522f
* Thu Apr 21 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.25-1
1c522f
- update to 1.0.25
1c522f
1c522f
* Thu Mar  3 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.23-1
1c522f
- update to 1.0.23
1c522f
1c522f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1c522f
1c522f
* Tue Jan  4 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.4-1
1c522f
- update to 1.0.4
1c522f
1c522f
* Wed Nov  3 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-1
1c522f
- update to 1.0.3
1c522f
1c522f
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.2-7
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
1c522f
1c522f
* Fri Jul 31 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-6
1c522f
- somehow, the egg info didn't make it into the rebuild...
1c522f
1c522f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-5
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1c522f
1c522f
* Mon Jul  6 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-4
1c522f
- fix pydot crash with accented character (bugzilla 481540)
1c522f
1c522f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
1c522f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c522f
1c522f
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.2-2
1c522f
- Rebuild for Python 2.6
1c522f
1c522f
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-1
1c522f
- update to 1.0.2
1c522f
1c522f
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.9.10-5
1c522f
- Rebuild for new Python
1c522f
- Add BR: python-devel
1c522f
1c522f
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-4
1c522f
- bump for fc6
1c522f
1c522f
* Thu Oct  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-3
1c522f
- We really do need pyparsing as a BR
1c522f
1c522f
* Thu Oct  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-2
1c522f
- change BR to R for graphviz, pyparsing
1c522f
1c522f
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-1
1c522f
- initial package for Fedora Extras