15
0
forked from pool/python-espeak

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-espeak?expand=0&rev=13
This commit is contained in:
2025-05-27 09:51:42 +00:00
committed by Git OBS Bridge
commit aca51a6ff5
5 changed files with 132 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
python-espeak-0.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf471ecd7b1a08a32b1b01e8f2453f817bebbeeb45734d566378dc20a90295bb
size 17227

45
python-espeak.changes Normal file
View File

@@ -0,0 +1,45 @@
-------------------------------------------------------------------
Tue May 27 09:51:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
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
- Trim bias from descriptions.
-------------------------------------------------------------------
Mon Jun 25 13:19:42 UTC 2018 - mcepl@suse.com
- Clean SPEC file
-------------------------------------------------------------------
Thu Aug 24 13:38:19 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Sat Jan 25 02:24:58 UTC 2014 - os-dev@jacraig.com
- Update to 0.5:
* Added support for Python 3.
* Minor fixes (eg. compiler warnings).
- Added CFLAGS to build step since it compiles a C++ file.
-------------------------------------------------------------------
Tue Mar 6 11:52:11 UTC 2012 - cfarrell@suse.com
- license update: GPL-3.0+
No indication of GPL-3.0 (only) files.
-------------------------------------------------------------------
Sat Jan 21 05:41:49 UTC 2012 - malcolmlewis@opensuse.org
- Initial build.

60
python-espeak.spec Normal file
View File

@@ -0,0 +1,60 @@
#
# spec file for package python-espeak
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{!?python_sitearch: %global python_sitearch %(python -c "from setuptools.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: python-espeak
Version: 0.5
Release: 0
Summary: Python bindings for espeak
License: GPL-3.0-or-later
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 pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: espeak-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
%python_subpackages
%description
Python bindings for the eSpeak speech synthesizer.
%prep
%setup -q
sed -i 's/distutils.core/setuptools/' setup.py
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
%fdupes %{buildroot}
%files %{python_files}
%license COPYING
%doc NEWS
%{python_sitearch}/espeak/
%{python_sitearch}/python_espeak-%{version}-py%{python_version}.egg-info
%changelog