From 3f6da35ff9579e41afb8d5c6348c0a19c5c8878decd11bf6d46af77db90be4a5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 24 Jul 2019 18:36:38 +0000 Subject: [PATCH] Accepting request 718176 from devel:languages:python:numeric - Update to 0.15: * This release introduces a new text engine UnicodeEngine, which enables simple typesetting with Type1 fonts without using TeX/LaTeX. The graph axis texters have been adjusted to work on the UnicodeEngine, as well. The exponential and mixed graph axis texters have been merged into the new default texter. * PyX' home has been moved to https://pyx-project.org. The source code repository has been converted to git and is now hosted at https://github.com/pyx-project/pyx. - Switch to github tarball and enable tests OBS-URL: https://build.opensuse.org/request/show/718176 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyX?expand=0&rev=2 --- 0.15.tar.gz | 3 +++ PyX-0.14.1.tar.gz | 3 --- python-PyX.changes | 14 ++++++++++++++ python-PyX.spec | 35 ++++++++++++++++++++--------------- 4 files changed, 37 insertions(+), 18 deletions(-) create mode 100644 0.15.tar.gz delete mode 100644 PyX-0.14.1.tar.gz diff --git a/0.15.tar.gz b/0.15.tar.gz new file mode 100644 index 0000000..edc363c --- /dev/null +++ b/0.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2048d6229f4880b6c8c5b26afa1aa857b668e6e6d6b850930cf5aafe72916cba +size 875286 diff --git a/PyX-0.14.1.tar.gz b/PyX-0.14.1.tar.gz deleted file mode 100644 index 06c36ea..0000000 --- a/PyX-0.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912 -size 2475186 diff --git a/python-PyX.changes b/python-PyX.changes index bd6a8ce..1cf6af9 100644 --- a/python-PyX.changes +++ b/python-PyX.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jul 24 10:07:02 UTC 2019 - Tomáš Chvátal + +- Update to 0.15: + * This release introduces a new text engine UnicodeEngine, which enables + simple typesetting with Type1 fonts without using TeX/LaTeX. The graph + axis texters have been adjusted to work on the UnicodeEngine, as well. + The exponential and mixed graph axis texters have been merged into the + new default texter. + * PyX' home has been moved to https://pyx-project.org. The source code + repository has been converted to git and is now hosted at + https://github.com/pyx-project/pyx. +- Switch to github tarball and enable tests + ------------------------------------------------------------------- Thu Sep 7 17:53:27 UTC 2017 - toddrme2178@gmail.com diff --git a/python-PyX.spec b/python-PyX.spec index a71793c..a2489b9 100644 --- a/python-PyX.spec +++ b/python-PyX.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyX # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,22 +20,24 @@ %define skip_python2 1 %bcond_without test Name: python-PyX -Version: 0.14.1 +Version: 0.15 Release: 0 Summary: Python package for the generation of PostScript, PDF, and SVG files -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Languages/Python -Url: http://pyx.sourceforge.net/ -Source: https://files.pythonhosted.org/packages/source/P/PyX/PyX-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL: https://pyx-project.org/ +Source: https://github.com/pyx-project/pyx/archive/%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# Change <= to < in next version after 0.14.1 -Obsoletes: python3-pyx <= %{version} -Provides: python3-pyx = %{version} +BuildRequires: %{python_module testfixtures} BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: texlive-latex-bin-bin +BuildRequires: texlive-tex-bin +BuildRequires: texlive-texware-bin +Obsoletes: python3-pyx < %{version} +Provides: python3-pyx = %{version} BuildArch: noarch - %python_subpackages %description @@ -45,7 +47,7 @@ interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these primitives. %prep -%setup -q -n PyX-%{version} +%setup -q -n pyx-%{version} %build %python_build @@ -54,9 +56,12 @@ built out of these primitives. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest test/unit + %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS CHANGES LICENSE README +%license LICENSE +%doc AUTHORS CHANGES README.md %{python_sitelib}/* %changelog