diff --git a/pypng-0.0.18.tar.gz b/pypng-0.0.18.tar.gz deleted file mode 100644 index 123fce8..0000000 --- a/pypng-0.0.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:985a1306319e3187e2cb3dabec95a7a0f0f281ae2e1fec04289bed520fecd932 -size 377942 diff --git a/pypng-0.0.19.tar.gz b/pypng-0.0.19.tar.gz new file mode 100644 index 0000000..727d48c --- /dev/null +++ b/pypng-0.0.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3145d042947fa8121e6bd5a7e59149871bf8c13675c42371e12977499d7f3926 +size 293055 diff --git a/python-pypng.changes b/python-pypng.changes index 165b095..c101cf8 100644 --- a/python-pypng.changes +++ b/python-pypng.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 1 09:50:17 UTC 2019 - Tomáš Chvátal + +- Update to 0.0.19: + * No upstream changelog, many flake/codewarning fixes + ------------------------------------------------------------------- Tue Dec 4 12:52:40 UTC 2018 - Matej Cepl diff --git a/python-pypng.spec b/python-pypng.spec index 4660f4b..1b96102 100644 --- a/python-pypng.spec +++ b/python-pypng.spec @@ -1,7 +1,7 @@ # # spec file for package python-pypng # -# Copyright (c) 2018 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 @@ -17,25 +17,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-pypng -Version: 0.0.18 +Version: 0.0.19 Release: 0 Summary: Pure Python PNG image encoder/decoder License: MIT Group: Development/Languages/Python -Url: https://github.com/drj11/pypng +URL: https://github.com/drj11/pypng Source: https://files.pythonhosted.org/packages/source/p/pypng/pypng-%{version}.tar.gz BuildRequires: %{python_module Cython} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-2to3 -%if %{with test} -BuildRequires: %{python_module numpy} -%endif BuildArch: noarch - %python_subpackages %description @@ -52,22 +47,12 @@ sed -i -e '/^#!\//, 1d' code/png.py %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_expand cp code/test_png.py test_png_%{$python_bin_suffix}.py - -if [ -f test_png_%{python3_bin_suffix}.py ]; then -2to3 -wn test_png_%{python3_bin_suffix}.py -fi - -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}:code -$python test_png_%{$python_bin_suffix}.py -} -%endif +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:code $python code/test_png.py %files %{python_files} -%defattr(-,root,root,-) -%doc README.txt +%doc README.md +%license LICENCE %{python_sitelib}/* %changelog