forked from pool/python-espeak
Accepting request 1149117 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1149117 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-espeak?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 16:12:26 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Minimal change to make it work on Python 3.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 28 17:28:56 UTC 2018 - jengelh@inai.de
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-espeak
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -13,11 +13,11 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from setuptools.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-espeak
|
||||
Version: 0.5
|
||||
@@ -28,6 +28,7 @@ Group: Development/Languages/Python
|
||||
URL: https://launchpad.net/python-espeak
|
||||
Source0: https://launchpad.net/python-espeak/trunk/0.5/+download/python-espeak-0.5.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: espeak-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -39,6 +40,7 @@ Python bindings for the eSpeak speech synthesizer.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i 's/distutils.core/setuptools/' setup.py
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
||||
Reference in New Issue
Block a user