Accepting request 1184800 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/1184800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-mailman3?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2024-07-02 16:16:19 +00:00 committed by Git OBS Bridge
commit 4169585e01
7 changed files with 164 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b888c96991d62f67af8fea0848ba6bbca593e529b97f610a8140f5b702f555b4
size 417809

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e484d2f37705177ffa3d273bb51688cde53af2b2f925b906cb253c89b014c03c
size 424964

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmZ4Ar8ACgkQnZsroGHQ
pnyMTg/+Phs9u9yt/64FHGOmFYB6HNlLmuSqUmxaLCijfnpCYWNrx3s9JDLe/VTR
CHxkU1DyGY9ZOhJf4dRow02D2xdjMSFv9N1LCbTfnIEgroEUiZ8dCMjel+uHzT/U
73xaWKcKVLTy1w07YNxrCgHnzNAlfK5IWkUeq/2D5raXvZxBL9su9Xy8s7eW7iUE
mMDQtoA2Ce36wrY3Xy7VV6Bzy/IFWCfwlEYUoEbaF2nvIT3ibKxkJRv6wZ6LMEFP
vztILr1o0HcF9iuC+fLVY7r8O37baO6PI0P8st/ooWbeIuOkuD1mCTJsIdtmykSP
DEbhEVCfLKRyneD0zkj4Ls29+nKVEmx+l1QGBYeWrVbEol7T5mZE7vmVPcOyEyfL
JKFbSh3GGnWrEvitZMJHz8P6+ugP21INRAGN5tM+mRpEWFIRHgzvHCk83pu4yvq7
YzhBdz8bstguk2FnmyI5h0SF5tpr0qWR3J75VFrMSYTqKM+L0Gsmp90N+Wfz00+v
H7XFl9MHjQiGeDBh/k5AG7rao0q9vr/OakXIaQ05RADa+dJeqJHW4DNU88llmAHS
PFUzmzoSAA5YfUh/f3tRFlq4O2Mc15lONYvYl5x2XuPgp7sx0+hzsWMihFpnY8jN
58GGcu3D9o8i968boy0Bk2JpSWYEOVN4M0SiKvBUxtguLa5Hyq8=
=jdDA
-----END PGP SIGNATURE-----

3
pytest.ini Normal file
View File

@ -0,0 +1,3 @@
[pytest]
addopts = --tb=short --create-db --reuse-db --ds=django_mailman3.tests.settings_test -s
pythonpath = .

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Jul 2 08:51:37 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Re-download pytest.ini and fix multiflavor packaging
-------------------------------------------------------------------
Sun Jun 23 13:13:56 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.14
* See https://gitlab.com/mailman/django-mailman3/-/blob/v1.3.14/README.rst
or the packaged README.rst.
-------------------------------------------------------------------
Sun Jun 23 08:05:58 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.13
* See https://gitlab.com/mailman/django-mailman3/-/blob/v1.3.13/README.rst
or the packaged README.rst.
-------------------------------------------------------------------
Tue Apr 23 09:13:39 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.12
* See https://gitlab.com/mailman/django-mailman3/-/blob/v1.3.12/README.rst
or README.rst packaged in this file.
- Added pytest.ini
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 29 21:07:54 UTC 2024 - Ben Greiner <code@bnavigator.de> Thu Feb 29 21:07:54 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -0,0 +1,90 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFQfvbgBEADMrhxJ0gutmKHBtd92PkRWFO+dKjnWGx5z1Oow5LuV3lxD6BQd
SvrWCD1S8yaOnreJolhy3tYBSQMfnlWesjSkh3QDpedNMKH/2w/a09fNQObB7Ryg
qpnByYl3gcf9soQ1wvi4g3m7Scwv/ZeTwTqw+5Mn6PmGoxst9HcJre9yMJz56FWl
U7uQ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i0uh4IcTw=
=s7HB
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -16,40 +16,44 @@
# #
%global django_min_version 3.2 %global django_min_version 4.2
%global django_max_version 4.3 %global django_max_version 5.1
%global mailmanclient_min_version 3.3.3 %global mailmanclient_min_version 3.3.3
%global django_allauth_min_version 0.56 %global django_allauth_min_version 0.63
%global django_gravatar2_min_version 1.0.6 %global django_gravatar2_min_version 1.0.6
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
%define modname django_mailman3 %define modname django_mailman3
Name: python-django-mailman3 Name: python-django-mailman3
Version: 1.3.11 Version: 1.3.14
Release: 0 Release: 0
Summary: Django library to help interaction with Mailman Summary: Django library to help interaction with Mailman
License: GPL-3.0-only License: GPL-3.0-only
URL: https://gitlab.com/mailman/django-mailman3 URL: https://gitlab.com/mailman/django-mailman3
Source: https://files.pythonhosted.org/packages/source/d/django-mailman3/django-mailman3-%{version}.tar.gz Source0: %{url}/-/releases/v%{version}/downloads/%{modname}-%{version}.tar.gz
Source1: %{url}/-/releases/v%{version}/downloads/%{modname}-%{version}.tar.gz.asc
Source2: %{name}.keyring
Source3: %{url}/-/raw/v%{version}/pytest.ini
BuildRequires: %{python_module pdm}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-django-allauth >= %{django_allauth_min_version} Requires: python-django-allauth >= %{django_allauth_min_version}
Requires: python-django-gravatar2 >= %{django_gravatar2_min_version} Requires: python-django-gravatar2 >= %{django_gravatar2_min_version}
Requires: python-mailmanclient >= %{mailmanclient_min_version} Requires: python-mailmanclient >= %{mailmanclient_min_version}
Requires: python-pytz
Requires: (python-Django >= %{django_min_version} with python-Django < %{django_max_version}) Requires: (python-Django >= %{django_min_version} with python-Django < %{django_max_version})
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Django >= %{django_min_version}} BuildRequires: %{python_module Django >= %{django_min_version}}
BuildRequires: %{python_module django-allauth >= %{django_allauth_min_version}} BuildRequires: %{python_module django-allauth >= %{django_allauth_min_version}}
BuildRequires: %{python_module django-gravatar2 >= %{django_gravatar2_min_version}} BuildRequires: %{python_module django-gravatar2 >= %{django_gravatar2_min_version}}
BuildRequires: %{python_module editables}
BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}} BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module wheel}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@ -57,18 +61,28 @@ BuildRequires: %{python_module wheel}
Django library to help interaction with Mailman. Django library to help interaction with Mailman.
%prep %prep
%autosetup -p1 -n django-mailman3-%{version} %autosetup -p1 -n %{modname}-%{version}
cp %{SOURCE3} pytest.ini
%build %build
%pyproject_wheel %pyproject_wheel
%install %install
%pyproject_install %pyproject_install
%{python_expand # remove for each python flavor
rm -f %{buildroot}%{$python_sitelib}/COPYING.txt
rm -f %{buildroot}%{$python_sitelib}/README.rst
rm -f %{buildroot}%{$python_sitelib}/pytest.ini
rm -f %{buildroot}%{$python_sitelib}/tox.ini
}
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
export PYTHONPATH="$(pwd)" export PYTHONPATH="$(pwd)"
%pytest %pytest django_mailman3
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst