forked from pool/python-py-espeak-ng
		
	- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-espeak-ng?expand=0&rev=7
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jun  3 12:39:52 UTC 2025 - Markéta Machová <mmachova@suse.com>
 | 
			
		||||
 | 
			
		||||
- Convert to pip-based build
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Mar 19 08:16:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package python-py-espeak-ng
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
			
		||||
# Copyright (c) 2025 SUSE LLC
 | 
			
		||||
#
 | 
			
		||||
# All modifications and additions to the file contributed by third parties
 | 
			
		||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
			
		||||
@@ -16,7 +16,6 @@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
			
		||||
Name:           python-py-espeak-ng
 | 
			
		||||
Version:        0.1.8
 | 
			
		||||
Release:        0
 | 
			
		||||
@@ -25,8 +24,10 @@ License:        Apache-2.0
 | 
			
		||||
Group:          Development/Languages/Python
 | 
			
		||||
URL:            https://github.com/gooofy/py-espeak-ng
 | 
			
		||||
Source0:        https://files.pythonhosted.org/packages/source/p/py-espeak-ng/py-espeak-ng-%{version}.tar.gz
 | 
			
		||||
BuildRequires:  %{python_module pip}
 | 
			
		||||
BuildRequires:  %{python_module pytest}
 | 
			
		||||
BuildRequires:  %{python_module setuptools}
 | 
			
		||||
BuildRequires:  %{python_module wheel}
 | 
			
		||||
BuildRequires:  espeak-ng
 | 
			
		||||
BuildRequires:  fdupes
 | 
			
		||||
BuildRequires:  python-rpm-macros
 | 
			
		||||
@@ -43,10 +44,10 @@ Python interface for eSpeak NG, a speech synthesis library.
 | 
			
		||||
sed -i '/^#!\/usr\/bin\/env python/d' espeakng/__init__.py
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
%python_build
 | 
			
		||||
%pyproject_wheel
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
%python_install
 | 
			
		||||
%pyproject_install
 | 
			
		||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
@@ -56,6 +57,7 @@ sed -i '/^#!\/usr\/bin\/env python/d' espeakng/__init__.py
 | 
			
		||||
%files %{python_files}
 | 
			
		||||
%doc README.md
 | 
			
		||||
%license LICENSE
 | 
			
		||||
%{python_sitelib}/*
 | 
			
		||||
%{python_sitelib}/espeakng
 | 
			
		||||
%{python_sitelib}/py[-_]espeak[-_]ng-%{version}*-info
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user