forked from pool/python-reconfigure
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:
@@ -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>
|
||||
|
||||
|
@@ -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,23 +41,24 @@ 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
|
||||
# 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
|
||||
%license docs/LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/reconfigure
|
||||
%{python_sitelib}/reconfigure-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7ebca2131f024c0ab8873826fa786a0bec3102f5456dd4f3782eb7cd4ac8b5df
|
||||
size 52779
|
3
reconfigure-0.1.83.tar.gz
Normal file
3
reconfigure-0.1.83.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7650e2de1563d2c0623f4bb5930f0495ebb9b951ef2902c06291acd2d89f71ad
|
||||
size 52838
|
Reference in New Issue
Block a user