public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-lazr-config] epel10: Update to 3.0 (rhbz#1697350)
Date: Tue, 24 Nov 2026 20:45:32 GMT [thread overview]
Message-ID: <179555313282.1.4163683088294835812.rpms-python-lazr-config-3884ee3d869d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-lazr-config
Branch : epel10
Commit : 3884ee3d869dd5f1a7f11dae2c8676fc65041a5e
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2023-09-13T12:48:00-05:00
Stats : +34/-83 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-lazr-config/c/3884ee3d869dd5f1a7f11dae2c8676fc65041a5e?branch=epel10
Log:
Update to 3.0 (rhbz#1697350)
- Use SPDX license identifier
- Update to the latest Python packaging guidelines
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 35948c8..f053a55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/lazr.config-2.1.tar.gz
+/lazr.config-3.0.tar.gz
diff --git a/python-lazr-config.spec b/python-lazr-config.spec
index 9b41af1..b24c5ff 100644
--- a/python-lazr-config.spec
+++ b/python-lazr-config.spec
@@ -1,108 +1,58 @@
-%global srcname lazr.config
-%global pkgname lazr-config
-%global summary Create configuration schemas, and process and validate configurations
-%global _description \
-The LAZR config system is typically used to manage process configuration. \
-Process configuration is for saying how things change when we run systems on \
-different machines, or under different circumstances. \
-\
-This system uses ini-like file format of section, keys, and values. The config \
-file supports inheritance to minimize duplication of information across files. \
-The format supports schema validation.
-
-Name: python-%{pkgname}
-Version: 2.1
+Name: python-lazr-config
+Version: 3.0
Release: %autorelease
-Summary: %{summary}
+Summary: Create configuration schemas, and process and validate configurations.
-License: LGPLv3
+License: LGPL-3.0-only
URL: https://launchpad.net/lazr.config
-Source0: https://files.pythonhosted.org/packages/source/l/%{srcname}/%{srcname}-%{version}.tar.gz
+Source: %{pypi_source lazr.config}
+
BuildArch: noarch
+BuildRequires: python3-devel
-# Python3
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: python%{python3_pkgversion}-zope-interface
-BuildRequires: python%{python3_pkgversion}-nose
-BuildRequires: python%{python3_pkgversion}-lazr-delegates
-%if 0%{?with_python3_other}
-BuildRequires: python%{python3_other_pkgversion}-devel
-BuildRequires: python%{python3_other_pkgversion}-setuptools
-BuildRequires: python%{python3_other_pkgversion}-zope-interface
-BuildRequires: python%{python3_other_pkgversion}-nose
-BuildRequires: python%{python3_other_pkgversion}-lazr-delegates
-%endif
-
-%description %{_description}
-
-%package -n python%{python3_pkgversion}-%{pkgname}
-Summary: %{summary}
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
-Requires: python%{python3_pkgversion}-setuptools
-Requires: python%{python3_pkgversion}-zope-interface
-Requires: python%{python3_pkgversion}-lazr-delegates
-%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
+%global _description %{expand:
+The LAZR config system is typically used to manage process configuration.
+Process configuration is for saying how things change when we run systems on
+different machines, or under different circumstances.
+
+This system uses ini-like file format of section, keys, and values. The config
+file supports inheritance to minimize duplication of information across files.
+The format supports schema validation.}
-%if 0%{?with_python3_other}
-%package -n python%{python3_other_pkgversion}-%{pkgname}
+%description %_description
+
+%package -n python3-lazr-config
Summary: %{summary}
-%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pkgname}}
-Requires: python%{python3_other_pkgversion}-setuptools
-Requires: python%{python3_other_pkgversion}-zope-interface
-Requires: python%{python3_other_pkgversion}-lazr-delegates
-%description -n python%{python3_other_pkgversion}-%{pkgname} %{_description}
-%endif
+%description -n python3-lazr-config %_description
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -p1 -n lazr.config-%{version}
+
-sed -i -e '/^with-coverage/d;/^pdb /d;/^cover-package/d' setup.cfg
+%generate_buildrequires
+%pyproject_buildrequires -t
%build
-%py3_build
-%if 0%{?with_python3_other}
-%py3_other_build
-%endif
+%pyproject_wheel
%install
-%py3_install
-%if 0%{?with_python3_other}
-%py3_other_install
-%endif
+%pyproject_install
+%pyproject_save_files lazr
%check
-# In Python3, namespace packages don't have an __init__.py file in the parent
-# dir. Keeping it would shadow the lazr.delegates module.
-rm lazr/__init__.py*
-sed -i -e 's/^\(\s*namespace_packages=.*\)/#\1/' setup.py
-%{__python3} setup.py nosetests
-%if 0%{?with_python3_other}
-%{__python3_other} setup.py nosetests
-%endif
-
-%files -n python%{python3_pkgversion}-%{pkgname}
-%license COPYING.txt
-%doc README.rst HACKING.rst
-%{python3_sitelib}/lazr/
-%{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}.egg-info/
-%{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}-nspkg.pth
-
-%if 0%{?with_python3_other}
-%files -n python%{python3_other_pkgversion}-%{pkgname}
-%license COPYING.txt
-%doc README.rst HACKING.rst
-%{python3_other_sitelib}/lazr/
-%{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_other_version}.egg-info/
-%{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_other_version}-nspkg.pth
-%endif
+%pyproject_check_import
+%tox
+
+
+%files -n python3-lazr-config -f %{pyproject_files}
+%{python3_sitelib}/lazr.config-%{version}-py%{python3_version}-nspkg.pth
%changelog
diff --git a/sources b/sources
index b10fae8..c811f54 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lazr.config-2.1.tar.gz) = 12814738d60c13b800b438fef5900481f1a1c52d9b3b6a2175dc4a5890969e1de35d1dd21d43d391202def229ee9e52a706cfc1220df88afb74c9a6169efb900
+SHA512 (lazr.config-3.0.tar.gz) = 15f61ca9e53e0677e228365318b99c1a65f674bf82dc1f8210335f93f4c74da2e9b09d8f8650506a133db85c45bfba12ff28ad3bc7c56edcf8c6e19c152f13f9
reply other threads:[~2026-11-24 20:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179555313282.1.4163683088294835812.rpms-python-lazr-config-3884ee3d869d@fedoraproject.org \
--to=salimma@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox