# # spec file for package python-mailman # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-mailman Version: 3.3.0 Release: 0 License: GPL-3.0 Summary: Mailman -- the GNU mailing list manager Url: https://www.list.org Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/m/mailman/mailman-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module aiosmtpd >= 1.1} BuildRequires: %{python_module alembic} BuildRequires: %{python_module atpublic} BuildRequires: %{python_module authheaders >= 0.9.2} BuildRequires: %{python_module authres >= 1.0.1} BuildRequires: %{python_module click >= 7.0} BuildRequires: %{python_module dnspython >= 1.14.0} BuildRequires: %{python_module falcon > 1.0.0} BuildRequires: %{python_module flufl.bounce} BuildRequires: %{python_module flufl.i18n >= 2.0} BuildRequires: %{python_module flufl.lock >= 3.1} BuildRequires: %{python_module gunicorn} BuildRequires: %{python_module lazr.config} BuildRequires: %{python_module passlib} BuildRequires: %{python_module python-dateutil >= 2.0} BuildRequires: %{python_module requests} BuildRequires: %{python_module sqlalchemy >= 1.2.3} BuildRequires: %{python_module zope.component} BuildRequires: %{python_module zope.configuration} BuildRequires: %{python_module zope.event} BuildRequires: %{python_module zope.interface} # /SECTION BuildRequires: fdupes Requires: python-aiosmtpd >= 1.1 Requires: python-alembic Requires: python-atpublic Requires: python-authheaders >= 0.9.2 Requires: python-authres >= 1.0.1 Requires: python-click >= 7.0.0 Requires: python-dnspython >= 1.14.0 Requires: python-falcon > 1.0.0 Requires: python-flufl.bounce Requires: python-flufl.i18n >= 2.0 Requires: python-flufl.lock >= 3.1 Requires: python-gunicorn Requires: python-lazr.config Requires: python-passlib Requires: python-python-dateutil >= 2.0 Requires: python-requests Requires: python-sqlalchemy >= 1.2.3 Requires: python-zope.component Requires: python-zope.configuration Requires: python-zope.event Requires: python-zope.interface Provides: mailman = %{version} BuildArch: noarch %python_subpackages %description Mailman -- the GNU mailing list manager %prep %setup -q -n mailman-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %doc README.rst %license COPYING %python3_only %{_bindir}/runner %python3_only %{_bindir}/mailman %python3_only %{_bindir}/master %{python_sitelib}/* %changelog