14
0
forked from pool/python-pypng

Accepting request 834040 from home:jayvdb:branches:devel:languages:python

- Remove test module from runtime package with pr_106.patch

OBS-URL: https://build.opensuse.org/request/show/834040
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypng?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2020-09-13 17:39:02 +00:00
committed by Git OBS Bridge
parent bafdd4f9b9
commit b30fa2dbc9
3 changed files with 26 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ License: MIT
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 @@ PyPNG allows PNG image files to be read and written using pure Python.
%prep
%setup -q -n pypng-%{version}
%patch0 -p1
sed -i -e '/^#!\//, 1d' code/png.py
%build