From 7cadf9e452cc861ca1951c0f6f3405acb82181eebe042ac72f9d254690eb4df3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 17 Dec 2021 10:48:41 +0000 Subject: [PATCH] Accepting request 941189 from home:bnavigator:branches:devel:languages:python - Update to v0.12.1 * Require Python 3.7+ by @madig in #178 * Removed legacy Font(path), use Font.open(path) instead by @anthrotype in #176 - Release 0.11.4 * Fix Font's explicit data and images kwarg converters. - Release 0.11.3 * Ensure data and image stores are unlazified for direct comparisons (#165). - Release 0.11.2 * Internal change: Don't compare private Font attributes, cleaning up pytest assert displays (#160). * Internal change: Do not require wheel for all setuptools operations (#158). - No setup.py: Build system now uses PEP517 OBS-URL: https://build.opensuse.org/request/show/941189 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ufoLib2?expand=0&rev=10 --- python-ufoLib2.changes | 19 +++++++++++++++++++ python-ufoLib2.spec | 19 ++++++++++++------- ufoLib2-0.11.1.zip | 3 --- ufoLib2-0.12.1.tar.gz | 3 +++ 4 files changed, 34 insertions(+), 10 deletions(-) delete mode 100644 ufoLib2-0.11.1.zip create mode 100644 ufoLib2-0.12.1.tar.gz diff --git a/python-ufoLib2.changes b/python-ufoLib2.changes index 0468207..11342e0 100644 --- a/python-ufoLib2.changes +++ b/python-ufoLib2.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Dec 16 11:13:17 UTC 2021 - Ben Greiner + +- Update to v0.12.1 + * Require Python 3.7+ by @madig in #178 + * Removed legacy Font(path), use Font.open(path) instead by + @anthrotype in #176 +- Release 0.11.4 + * Fix Font's explicit data and images kwarg converters. +- Release 0.11.3 + * Ensure data and image stores are unlazified for direct + comparisons (#165). +- Release 0.11.2 + * Internal change: Don't compare private Font attributes, + cleaning up pytest assert displays (#160). + * Internal change: Do not require wheel for all setuptools + operations (#158). +- No setup.py: Build system now uses PEP517 + ------------------------------------------------------------------- Mon Feb 22 15:44:45 UTC 2021 - Ben Greiner diff --git a/python-ufoLib2.spec b/python-ufoLib2.spec index 0f0e6f0..9779c6c 100644 --- a/python-ufoLib2.spec +++ b/python-ufoLib2.spec @@ -16,14 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 +%define skip_python36 1 Name: python-ufoLib2 -Version: 0.11.1 +Version: 0.12.1 Release: 0 Summary: UFO font processing library License: Apache-2.0 URL: https://github.com/fonttools/ufoLib2 -Source: https://files.pythonhosted.org/packages/source/u/ufoLib2/ufoLib2-%{version}.zip +Source: https://files.pythonhosted.org/packages/source/u/ufoLib2/ufoLib2-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -32,7 +36,7 @@ BuildRequires: python-rpm-macros BuildRequires: unzip # SECTION install_requires BuildRequires: %{python_module FontTools >= 4.0.0} -BuildRequires: %{python_module attrs >= 19.2.0} +BuildRequires: %{python_module attrs >= 20.1.0} # via fonttools[ufo] BuildRequires: %{python_module fs >= 2.2.0} BuildRequires: %{python_module typing_extensions if %python-base < 3.8} @@ -58,10 +62,10 @@ ufoLib2 is a UFO font processing library. %setup -q -n ufoLib2-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -70,6 +74,7 @@ ufoLib2 is a UFO font processing library. %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/ufoLib2 +%{python_sitelib}/ufoLib2-%{version}*-info %changelog diff --git a/ufoLib2-0.11.1.zip b/ufoLib2-0.11.1.zip deleted file mode 100644 index 0e92e67..0000000 --- a/ufoLib2-0.11.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94f8b1d59c64d41318c7874694c394ea6fc171fd7132b49a4c9b9c66f22f9620 -size 118203 diff --git a/ufoLib2-0.12.1.tar.gz b/ufoLib2-0.12.1.tar.gz new file mode 100644 index 0000000..4f58fe8 --- /dev/null +++ b/ufoLib2-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f00d107da1c4f514d5475bc12618d74b260530e588c9f0d810fb46189f26e9a8 +size 72073