commit aca51a6ff5564fa7015c6e9ac9a1df69ad2a564828fdf9ea022a01c31a32956a Author: Markéta Machová Date: Tue May 27 09:51:42 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-espeak?expand=0&rev=13 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-espeak-0.5.tar.gz b/python-espeak-0.5.tar.gz new file mode 100644 index 0000000..3bf8815 --- /dev/null +++ b/python-espeak-0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf471ecd7b1a08a32b1b01e8f2453f817bebbeeb45734d566378dc20a90295bb +size 17227 diff --git a/python-espeak.changes b/python-espeak.changes new file mode 100644 index 0000000..c9b4f5a --- /dev/null +++ b/python-espeak.changes @@ -0,0 +1,45 @@ +------------------------------------------------------------------- +Tue May 27 09:51:17 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Wed Feb 21 16:12:26 UTC 2024 - Markéta Machová + +- 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. + + diff --git a/python-espeak.spec b/python-espeak.spec new file mode 100644 index 0000000..1d4e4b3 --- /dev/null +++ b/python-espeak.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-espeak +# +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2012 Malcolm J Lewis +# +# 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