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

A new commit has been pushed.

Repo   : rpms/python-mailmanclient
Branch : epel10
Commit : 9f8a14ab3cf861e2374725a124050c06ae3e70a2
Author : Michal Konecny <michal.konecny@pacse.eu>
Date   : 2026-11-03T13:18:59+01:00
Stats  : +68/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-mailmanclient/c/9f8a14ab3cf861e2374725a124050c06ae3e70a2?branch=epel10

Log:
Initial commit for epel10

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3c5d9b0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/mailmanclient-3.3.3.tar.gz

diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec
new file mode 100644
index 0000000..8a96f7f
--- /dev/null
+++ b/python-mailmanclient.spec
@@ -0,0 +1,66 @@
+# tests depend on a git checkout of mailman server
+%bcond_with tests
+
+%global srcname mailmanclient
+
+Name:           python-%{srcname}
+Version:        3.3.3
+Release:        %autorelease
+Summary:        Python bindings for Mailman REST API
+License:        LGPL-3.0-or-later
+URL:            http://www.list.org/
+Source0:        %{pypi_source %{srcname}}
+
+BuildArch:      noarch
+
+BuildRequires:  python%{python3_pkgversion}-devel
+BuildRequires:  python%{python3_pkgversion}-setuptools
+
+
+%global _description %{expand:
+The mailmanclient library provides official Python bindings for the GNU Mailman
+3 REST API.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary:        %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%if %{with tests}
+%pyproject_buildrequires -t -x testing
+%else
+%pyproject_buildrequires
+%endif
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+%pyproject_save_files %{srcname}
+
+
+%if %{with tests}
+%check
+%tox
+%endif
+
+
+%files -n  python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
+%license COPYING.LESSER
+%doc README.rst
+
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..e1cb536
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (mailmanclient-3.3.3.tar.gz) = a4d18a7fc6084dfb20a7028cc085c31e696b8c2db4eec674852929b1d3a221a065b8e33d8047d018d4a0edf1afb3bcb55e76906808c0f6b3715abb8a81437b9e

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:19 [rpms/python-mailmanclient] 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