From 3c0555d925c4b3c6d44d7a454d68f24604da524cd1eca35a69c198a98909a8fe Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 12 Jun 2025 05:10:34 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unicodedata2?expand=0&rev=16 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-unicodedata2.changes | 54 ++++++++++++++++++++++++++++++++ python-unicodedata2.spec | 62 +++++++++++++++++++++++++++++++++++++ unicodedata2-15.1.0.tar.gz | 3 ++ unicodedata2-16.0.0.tar.gz | 3 ++ 6 files changed, 146 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-unicodedata2.changes create mode 100644 python-unicodedata2.spec create mode 100644 unicodedata2-15.1.0.tar.gz create mode 100644 unicodedata2-16.0.0.tar.gz 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-unicodedata2.changes b/python-unicodedata2.changes new file mode 100644 index 0000000..44a7b36 --- /dev/null +++ b/python-unicodedata2.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Thu Jun 12 05:01:35 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- +Mon Feb 24 08:53:08 UTC 2025 - Dirk Müller + +- update to 16.0.0: + * Updated to Unicode 16 + +------------------------------------------------------------------- +Thu Jan 4 12:13:22 UTC 2024 - ecsosa + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Wed Dec 27 16:12:34 UTC 2023 - Dirk Müller + +- update to 15.1.0: + * Updated to Unicode 15.1 and added support for Python 3.12 + +------------------------------------------------------------------- +Wed Nov 9 19:33:17 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 15.0.0 + * Upgrade to Unicode 15.0.0 + +------------------------------------------------------------------- +Sun Jan 16 20:32:49 UTC 2022 - Ben Greiner + +- Update to 14.0.0 + * Dropped support for EOL Python 2.7 and 3.5 (#47, #48) + * Added support for Python 3.9 and 3.10, and PyPy3 + * Updated to Unicode 14.0 (#50) + +------------------------------------------------------------------- +Wed Mar 25 14:37:21 UTC 2020 - pgajdos@suse.com + +- version update to 13.0.0 + * Upgrade to Unicode 13.0.0 (#34). + * Build wheels for Python 3.8. + +------------------------------------------------------------------- +Fri Feb 7 16:20:43 UTC 2020 - Marketa Calabkova + +- update to 12.1.0 + * Upgrade to Unicode 12.1.0 + * Remove Python 3.4 support + +------------------------------------------------------------------- +Wed Aug 28 06:00:17 AM UTC 2019 - John Vandenberg + +- Initial spec for v12.0.0 diff --git a/python-unicodedata2.spec b/python-unicodedata2.spec new file mode 100644 index 0000000..25bc21b --- /dev/null +++ b/python-unicodedata2.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-unicodedata2 +# +# 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 +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-unicodedata2 +Version: 16.0.0 +Release: 0 +Summary: Python unicodedata backport/updates +License: Apache-2.0 AND Python-2.0 +Group: Development/Languages/Python +URL: https://github.com/fonttools/unicodedata2 +Source: https://github.com/fonttools/unicodedata2/archive/%{version}.tar.gz#/unicodedata2-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%python_subpackages + +%description +Unicodedata backport and updates for the latest unicode version. +The versions of this package match Unicode versions, so +unicodedata2==%{version} is data from Unicode %{version}. + +%prep +%setup -q -n unicodedata2-%{version} + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pytest_arch + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitearch}/unicodedata2.*.so +%{python_sitearch}/unicodedata2-%{version}.dist-info + +%changelog diff --git a/unicodedata2-15.1.0.tar.gz b/unicodedata2-15.1.0.tar.gz new file mode 100644 index 0000000..8ad7e97 --- /dev/null +++ b/unicodedata2-15.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71c9207ba1116f9697e68d22024e99078d871554452d4647a44a7ce6986acdf9 +size 627082 diff --git a/unicodedata2-16.0.0.tar.gz b/unicodedata2-16.0.0.tar.gz new file mode 100644 index 0000000..9f48bfc --- /dev/null +++ b/unicodedata2-16.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34aeb8a21bd6fdf4060b3458a17488eddeec8964662a8090f5b9ae708e7d6a7d +size 709240