public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-lazr-delegates] epel10: Initial commit for epel10
@ 2026-11-03 13:49 Michal Konecny
  0 siblings, 0 replies; only message in thread
From: Michal Konecny @ 2026-11-03 13:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-lazr-delegates
Branch : epel10
Commit : 3e2a44e3bb6c4831597d3349d673fc57254efa6f
Author : Michal Konecny <michal.konecny@pacse.eu>
Date   : 2026-11-03T14:49:22+01:00
Stats  : +70/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-lazr-delegates/c/3e2a44e3bb6c4831597d3349d673fc57254efa6f?branch=epel10

Log:
Initial commit for epel10

---
diff --git a/.gitignore b/.gitignore
index e69de29..9d9e403 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/lazr.delegates-2.0.3.tar.gz
+/lazr.delegates-2.1.0.tar.gz
+/lazr_delegates-2.1.1.tar.gz

diff --git a/python-lazr-delegates.spec b/python-lazr-delegates.spec
new file mode 100644
index 0000000..ef26bf1
--- /dev/null
+++ b/python-lazr-delegates.spec
@@ -0,0 +1,66 @@
+Name:           python-lazr-delegates
+Version:        2.1.1
+Release:        %autorelease
+Summary:        Easily write objects that delegate behavior
+
+License:        LGPL-3.0-only
+URL:            https://launchpad.net/lazr.delegates
+Source:         %{pypi_source lazr_delegates}
+
+BuildArch:      noarch
+BuildRequires:  python3-devel
+%if 0%{?python3_version_nodots} >= 315
+# only needed for tests
+# at runtime there is a fallback if this is not available, though somehow
+# pkg_resources is still tried first
+# see
+# src/lazr/__init__.py:    import pkg_resources
+# src/lazr/delegates/tests/test_docs.py:from pkg_resources import (
+BuildRequires:  python3-pkg-resources
+%endif
+
+
+%global _description %{expand:
+The lazr.delegates package makes it easy to write objects that delegate behavior
+to another object. The new object adds some property or behavior on to the other
+object, while still providing the underlying interface, and delegating
+behavior.}
+
+
+%description %_description
+
+%package -n     python3-lazr-delegates
+Summary:        %{summary}
+
+%description -n python3-lazr-delegates %_description
+
+
+%prep
+%autosetup -p1 -n lazr_delegates-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -t
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+%pyproject_save_files lazr
+
+
+%check
+%pyproject_check_import
+%tox
+
+
+%files -n python3-lazr-delegates -f %{pyproject_files}
+%{python3_sitelib}/lazr.delegates-%{version}-py%{python3_version}-nspkg.pth
+%exclude %{python3_sitelib}/lazr/delegates/tests
+
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
index e69de29..0b500a4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (lazr_delegates-2.1.1.tar.gz) = f1d15bd66e9e049c2d26776c855ef4b09ff257cc11cb6b96b9924c247dcf35b52576e052927f5fd1317104d76d6fc1fdc1471af8d856db7d8e001fef7ee820e1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 13:49 [rpms/python-lazr-delegates] epel10: Initial commit for epel10 Michal Konecny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox