14
0

Accepting request 1158273 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1158273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-reconfigure?expand=0&rev=2
This commit is contained in:
2024-03-15 19:32:21 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 15 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 14 17:15:37 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- 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 <jayvdb@gmail.com> Wed Nov 25 15:03:47 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-reconfigure # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 Name: python-reconfigure
Version: 0.1.82 Version: 0.1.83
Release: 0 Release: 0
Summary: Python ORM for config files Summary: Python ORM for config files
License: LGPL-3.0-only License: LGPL-3.0-only
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/Eugeny/reconfigure URL: https://github.com/Eugeny/reconfigure
# Lack of tags https://github.com/Eugeny/reconfigure/issues/11 Source: https://github.com/Eugeny/reconfigure/archive/%{version}.tar.gz#/reconfigure-%{version}.tar.gz
Source: https://github.com/Eugeny/reconfigure/archive/%{ver_hash}.tar.gz#/reconfigure-%{version}.tar.gz BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-chardet Requires: python-chardet
@@ -42,23 +41,24 @@ BuildRequires: %{python_module chardet}
Python ORM for config files. Python ORM for config files.
%prep %prep
%setup -q -n reconfigure-%{ver_hash} %autosetup -p1 -n reconfigure-%{version}
printf '[pytest]\npython_files = *_test*.py' > pytest.ini printf '[pytest]\npython_files = *_test*.py' > pytest.ini
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# crontab_tests: https://github.com/Eugeny/reconfigure/issues/26 %pytest reconfigure/tests/
%pytest reconfigure/tests/ -k 'not crontab_tests'
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license docs/LICENSE %license docs/LICENSE
%{python_sitelib}/* %{python_sitelib}/reconfigure
%{python_sitelib}/reconfigure-%{version}*-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ebca2131f024c0ab8873826fa786a0bec3102f5456dd4f3782eb7cd4ac8b5df
size 52779

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7650e2de1563d2c0623f4bb5930f0495ebb9b951ef2902c06291acd2d89f71ad
size 52838