Hello community,

here is the log from the commit of package python-pypng for openSUSE:Factory 
checked in at 2020-09-14 12:30:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pypng (Old)
 and      /work/SRC/openSUSE:Factory/.python-pypng.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pypng"

Mon Sep 14 12:30:30 2020 rev:6 rq:834140 version:0.0.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pypng/python-pypng.changes        
2020-05-23 17:28:15.475514106 +0200
+++ /work/SRC/openSUSE:Factory/.python-pypng.new.4249/python-pypng.changes      
2020-09-14 12:31:35.153223291 +0200
@@ -1,0 +2,5 @@
+Fri Sep 11 11:22:36 UTC 2020 - John Vandenberg <[email protected]>
+
+- Remove test module from runtime package with pr_106.patch
+
+-------------------------------------------------------------------

New:
----
  pr_106.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pypng.spec ++++++
--- /var/tmp/diff_new_pack.1HPGN2/_old  2020-09-14 12:31:38.317225308 +0200
+++ /var/tmp/diff_new_pack.1HPGN2/_new  2020-09-14 12:31:38.317225308 +0200
@@ -26,6 +26,7 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/drj11/pypng
 Source:         
https://files.pythonhosted.org/packages/source/p/pypng/pypng-%{version}.tar.gz
+Patch0:         pr_106.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
@@ -41,6 +42,7 @@
 
 %prep
 %setup -q -n pypng-%{version}
+%patch0 -p1
 sed -i -e '/^#!\//, 1d' code/png.py
 
 %build

++++++ pr_106.patch ++++++
commit 66a8d1bc88f99a05349099e1121ef1f57856cded
Author: John Vandenberg <[email protected]>
Date:   Sun Sep 13 10:45:51 2020 +0700

    Remove test modules from runtime distribution

Index: pypng-0.0.20/setup.py
===================================================================
--- pypng-0.0.20.orig/setup.py
+++ pypng-0.0.20/setup.py
@@ -40,7 +40,7 @@ https://pypng.readthedocs.io/en/latest/
     author_email='[email protected]',
     url='https://github.com/drj11/pypng',
     package_dir={'': 'code'},
-    py_modules=['png', 'test_png', 'pngsuite'],
+    py_modules=['png'],
     scripts=[
         "code/prichunkpng",
         "code/priforgepng",

Reply via email to