From e8d0819759d225da646da08d0826de668ec9d1f2426e56f48e58a6c64b69e67e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 14 Mar 2024 17:54:44 +0000 Subject: [PATCH 1/2] - Update to 0.1.83: - updated makefile - setup.py: Fix url - fixed crontab tests - fixes #26 - cleaned up test warnings - added missing BIND9 keywords - fixes #21 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-reconfigure?expand=0&rev=4 --- python-reconfigure.changes | 10 ++++++++++ python-reconfigure.spec | 21 +++++++++++---------- reconfigure-0.1.82.tar.gz | 3 --- reconfigure-0.1.83.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 13 deletions(-) delete mode 100644 reconfigure-0.1.82.tar.gz create mode 100644 reconfigure-0.1.83.tar.gz diff --git a/python-reconfigure.changes b/python-reconfigure.changes index f244a0d..c1a0902 100644 --- a/python-reconfigure.changes +++ b/python-reconfigure.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Mar 14 17:15:37 UTC 2024 - Matej Cepl + +- Update to 0.1.83: + - updated makefile + - setup.py: Fix url + - fixed crontab tests - fixes #26 + - cleaned up test warnings + - added missing BIND9 keywords - fixes #21 + ------------------------------------------------------------------- Wed Nov 25 15:03:47 UTC 2020 - John Vandenberg diff --git a/python-reconfigure.spec b/python-reconfigure.spec index ac4fb18..759cce3 100644 --- a/python-reconfigure.spec +++ b/python-reconfigure.spec @@ -1,7 +1,7 @@ # # spec file for package python-reconfigure # -# Copyright (c) 2020 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,19 +16,18 @@ # -%define ver_hash 099e3a561f78be45c4cd4798f61b762b59f2dcbf -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-reconfigure -Version: 0.1.82 +Version: 0.1.83 Release: 0 Summary: Python ORM for config files License: LGPL-3.0-only Group: Development/Languages/Python URL: https://github.com/Eugeny/reconfigure -# Lack of tags https://github.com/Eugeny/reconfigure/issues/11 -Source: https://github.com/Eugeny/reconfigure/archive/%{ver_hash}.tar.gz#/reconfigure-%{version}.tar.gz +Source: https://github.com/Eugeny/reconfigure/archive/%{version}.tar.gz#/reconfigure-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet @@ -42,14 +41,15 @@ BuildRequires: %{python_module chardet} Python ORM for config files. %prep -%setup -q -n reconfigure-%{ver_hash} +%autosetup -p1 -n reconfigure-%{version} + printf '[pytest]\npython_files = *_test*.py' > pytest.ini %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -59,6 +59,7 @@ printf '[pytest]\npython_files = *_test*.py' > pytest.ini %files %{python_files} %doc README.rst %license docs/LICENSE -%{python_sitelib}/* +%{python_sitelib}/reconfigure +%{python_sitelib}/reconfigure-%{version}*-info %changelog diff --git a/reconfigure-0.1.82.tar.gz b/reconfigure-0.1.82.tar.gz deleted file mode 100644 index 6015ea4..0000000 --- a/reconfigure-0.1.82.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ebca2131f024c0ab8873826fa786a0bec3102f5456dd4f3782eb7cd4ac8b5df -size 52779 diff --git a/reconfigure-0.1.83.tar.gz b/reconfigure-0.1.83.tar.gz new file mode 100644 index 0000000..58eef90 --- /dev/null +++ b/reconfigure-0.1.83.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7650e2de1563d2c0623f4bb5930f0495ebb9b951ef2902c06291acd2d89f71ad +size 52838 From 8dd6bd9eec3669eb1598df6323ab7333b38907f3ccbdd665745d0be2fe6ca01b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Mar 2024 15:23:25 +0000 Subject: [PATCH 2/2] Accepting request 1158271 from home:mcalabkova:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/1158271 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-reconfigure?expand=0&rev=5 --- python-reconfigure.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-reconfigure.spec b/python-reconfigure.spec index 759cce3..d40bcd2 100644 --- a/python-reconfigure.spec +++ b/python-reconfigure.spec @@ -53,8 +53,7 @@ printf '[pytest]\npython_files = *_test*.py' > pytest.ini %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# crontab_tests: https://github.com/Eugeny/reconfigure/issues/26 -%pytest reconfigure/tests/ -k 'not crontab_tests' +%pytest reconfigure/tests/ %files %{python_files} %doc README.rst