From e880527d4427c61139c00068cc0ba14a2719d36e67c0db32f2dcd6ce08d103ad Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 30 Jul 2024 21:18:35 +0000 Subject: [PATCH] - Update to editorconfig-core-py-0.12.4+git.1707726233.2740dee: * Bump to v0.12.4 (#50) * fix: only support Python3 (#48) * Move the most of metadata into `setup.cfg` supported since Dec 2015. (#44) * Add additional URLs into package metadata. (#43) * Fix cloning submodules (#40) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=12 --- _service | 10 +++++----- _servicedata | 2 +- ...-core-py-0.12.3+git.1630438300.f43312a.tar.xz | 3 --- ...core-py-0.12.4+git.1707726233.2740dee.obscpio | 3 +++ editorconfig-core-py.obsinfo | 7 +++---- python-EditorConfig.changes | 10 ++++++++++ python-EditorConfig.spec | 16 +++++++++------- 7 files changed, 31 insertions(+), 20 deletions(-) delete mode 100644 editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz create mode 100644 editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio diff --git a/_service b/_service index b878e23..1024f2c 100644 --- a/_service +++ b/_service @@ -1,15 +1,15 @@ - + https://github.com/editorconfig/editorconfig-core-py.git git - 0.12.3+git + 0.12.4+git enable mcepl@cepl.eu - - + + *.tar xz - + diff --git a/_servicedata b/_servicedata index 99935b3..ce562d3 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/editorconfig/editorconfig-core-py.git - f43312abcf6888b78ca80f1e95bfa627281746ad \ No newline at end of file + 2740deeacfa9b6a5fbfd419500126daec80c5022 \ No newline at end of file diff --git a/editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz b/editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz deleted file mode 100644 index 0ebb9b8..0000000 --- a/editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d828948977c6b02ea3aa78865b0de1bf183b7034e62e84b70d5654a6920bf806 -size 27788 diff --git a/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio b/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio new file mode 100644 index 0000000..d2099b3 --- /dev/null +++ b/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21f0feb49468bf45305c6ee08f28afd1eaac865bd5dc45cef7a5d7b3cd8f9e1d +size 146955 diff --git a/editorconfig-core-py.obsinfo b/editorconfig-core-py.obsinfo index 033ed3e..fd3348d 100644 --- a/editorconfig-core-py.obsinfo +++ b/editorconfig-core-py.obsinfo @@ -1,5 +1,4 @@ name: editorconfig-core-py -version: 0.12.3+git.1630438300.f43312a -mtime: 1630438300 -commit: f43312abcf6888b78ca80f1e95bfa627281746ad - +version: 0.12.4+git.1707726233.2740dee +mtime: 1707726233 +commit: 2740deeacfa9b6a5fbfd419500126daec80c5022 diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes index 1fd8d17..40981ab 100644 --- a/python-EditorConfig.changes +++ b/python-EditorConfig.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jul 30 21:16:59 UTC 2024 - Matej Cepl + +- Update to editorconfig-core-py-0.12.4+git.1707726233.2740dee: + * Bump to v0.12.4 (#50) + * fix: only support Python3 (#48) + * Move the most of metadata into `setup.cfg` supported since Dec 2015. (#44) + * Add additional URLs into package metadata. (#43) + * Fix cloning submodules (#40) + ------------------------------------------------------------------- Sat Sep 18 09:35:34 UTC 2021 - mcepl@cepl.eu diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec index 998f1d5..f880fb5 100644 --- a/python-EditorConfig.spec +++ b/python-EditorConfig.spec @@ -1,7 +1,7 @@ # # spec file for package python-EditorConfig # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname editorconfig-core-py Name: python-EditorConfig -Version: 0.12.3+git.1630438300.f43312a +Version: 0.12.4+git.1707726233.2740dee Release: 0 Summary: File Locator and Interpreter for Python License: BSD-2-Clause AND Python-2.0 URL: https://editorconfig.org Source0: %{modname}-%{version}.tar.xz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: cmake BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -41,24 +42,25 @@ command line program or as an importable library. %autosetup -p1 -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install # remove executable that is already supplied by the editorconfig package rm -rf %{buildroot}%{_bindir} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # Still not resolved issues with tests, gh#editorconfig/editorconfig-core-py#37 -cmake . +%{python_expand cmake . export PYTHONPATH=%{buildroot}%{$python_sitelib} ctest -VV --output-on-failure . || /bin/true +} %files %{python_files} %license LICENSE.* COPYING %doc README.rst %{python_sitelib}/editorconfig -%{python_sitelib}/EditorConfig-*.egg-info +%{python_sitelib}/EditorConfig-%(echo %{version}|cut -d+ -f 1)*-info %changelog