forked from pool/python-py-espeak-ng
- Update to 0.1.8:
* Include tests in the tarball * Include license in the tarball * Use apache-2.0 license * Fix various typos OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-espeak-ng?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
3f5dca8b56
commit
6ceddf1655
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-py-espeak-ng
|
||||
#
|
||||
# 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
|
||||
@@ -18,15 +18,16 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-py-espeak-ng
|
||||
Version: 0.1.1
|
||||
Version: 0.1.8
|
||||
Release: 0
|
||||
Summary: Python interface for eSpeak NG
|
||||
License: LGPL-3.0-or-later
|
||||
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
|
||||
Source1: https://raw.githubusercontent.com/gooofy/py-espeak-ng/master/LICENSE#/%{name}-LICENSE
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: espeak-ng
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: espeak-ng
|
||||
@@ -38,7 +39,6 @@ Python interface for eSpeak NG, a speech synthesis library.
|
||||
|
||||
%prep
|
||||
%setup -q -n py-espeak-ng-%{version}
|
||||
install -m0644 %{SOURCE1} LICENSE
|
||||
# fix shebang
|
||||
sed -i '/^#!\/usr\/bin\/env python/d' espeakng/__init__.py
|
||||
|
||||
@@ -47,7 +47,11 @@ sed -i '/^#!\/usr\/bin\/env python/d' espeakng/__init__.py
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Needs properly setup espeak sadly
|
||||
#%%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user