Accepting request 1201657 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/1201657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2024-09-18 13:27:08 +00:00 committed by Git OBS Bridge
commit 02f1cccab7
5 changed files with 32 additions and 27 deletions

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmU0FPcACgkQnZsroGHQ
pnwAnw/+Iqc/Xw6Y4xug3GGoA5i85HG7Liip8v2ZeRmdarDkqdwkbLpu6n9nonjK
f62zh7YnstzV8hFQde33n2jSuo9IfDh0X7M+sD0JVjZZnoKM5HGA2c+NdsRY6ZIS
aBwMeAsLd03Pzon/3nUMLooQ+QYQfOVhBDEgnPKZMsAZeyY+15Hk/au0Cz2Ssjx2
JMaQKOKpKAiFmy7kbW5/acJSDLHutJiiCLHzSoZtQZikAvHF1siwkPzN5tS2phzz
4AedQnmb6oPzwHfZpDMqKmMuAXgmFVh8ROS/DWr3ZXnZkhC6mXUeUAN12tidhKG4
DEMacMu8/XAd8Am9xnm03Q0JWRGqFlLN4efC4ee4bx5wwTju0JHlNkhNkWMr/NDz
NYYQM9Lf9+JGp1DqZK/znQsYNj0ntERs3hLppXSFFK9ColxFllv+qD0FOcFM4slh
0O06Ziy/A0w9XxljAM46fO2GXmw4whGC9INycKByiwQ2p16MFiCr700gfSFS6W6h
JwSzSnH4rHED0iU3joA8J2NyZr93amLXVkhic16Y8YiAJmkBWt0D76yTcpzbFmGo
WTeIPrdusolKnfplph8Z3xHOPGQ/rHhyBmJIYs6MfJtB1rXwYMZdUU5pZuVYRCL2
1t/0Sy1w/hwWI2Cno0PRmtuxZn4A+WudI2JlKAHFvqSZKymv1XM=
=GWuI
-----END PGP SIGNATURE-----

3
postorius-v1.3.12.tar.gz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun Sep 15 20:19:37 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.12
* See https://gitlab.com/mailman/postorius/-/blob/v1.3.12/src/postorius/doc/news.rst
or packaged news.rst file.
- Removed GPG signature as the download links don't work
-------------------------------------------------------------------
Sun Jun 23 08:40:28 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.11
* See https://gitlab.com/mailman/postorius/-/blob/v1.3.11/src/postorius/doc/news.rst
or packaged news.rst file.
-------------------------------------------------------------------
Thu Mar 7 09:40:26 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -19,9 +19,9 @@
%bcond_without testsuite
# keep in sync with setup.py
%global django_mailman3_min_version 1.3.10
%global django_min_version 3.2
%global django_max_version 4.3
%global django_mailman3_min_version 1.3.13
%global django_min_version 4.2
%global django_max_version 5.1
%global mailmanclient_min_version 3.3.3
%global webapps_dir /srv/www/webapps
@ -49,14 +49,16 @@
%global __mypython %{expand:%%{__%{mypython}}}
Name: python-postorius
Version: 1.3.10
Version: 1.3.12
Release: 0
Summary: A web user interface for GNU Mailman
License: GPL-3.0-only
URL: https://gitlab.com/mailman/postorius
#
Source0: https://gitlab.com/mailman/postorius/-/releases/v%{version}/downloads/postorius-%{version}.tar.gz
Source1: https://gitlab.com/mailman/postorius/-/releases/v%{version}/downloads/postorius-%{version}.tar.gz.asc
Source0: https://gitlab.com/mailman/postorius/-/archive/v1.3.12/postorius-v1.3.12.tar.gz
# The release links give 404 for this release :-(
#Source0: https://gitlab.com/mailman/postorius/-/releases/v%{version}/downloads/postorius-%{version}.tar.gz
#Source1: https://gitlab.com/mailman/postorius/-/releases/v%{version}/downloads/postorius-%{version}.tar.gz.asc
Source2: python-postorius.keyring
Source3: python-postorius-rpmlintrc
#
@ -68,6 +70,7 @@ Source20: README.SUSE.md
Patch0: postorius-settings.patch
#
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pdm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: acl
@ -83,7 +86,7 @@ BuildRequires: python3-packaging
%endif
# SECTION test requirements
BuildRequires: mailman3 >= 3.3.5
BuildRequires: %{python_module Django >= %{django_min_version}}
BuildRequires: %{python_module Django >= %{django_min_version} with %python-Django < %{django_max_version}}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module cmarkgfm}
BuildRequires: %{python_module django-debug-toolbar >= 2.2}
@ -156,7 +159,7 @@ BuildRequires: sysuser-tools
System user for HyperKitty.
%prep
%setup -q -n postorius-%{version}
%setup -q -n postorius-v%{version}
cp %{SOURCE20} .
touch settings_local.py
@ -205,8 +208,11 @@ rsync -a build_static_files/static %{buildroot}%{postorius_basedir}
rsync -a example_project/* %{buildroot}%{postorius_basedir}
chmod -x %{buildroot}%{postorius_basedir}/wsgi.py
%python_expand rm -rf %{buildroot}%{$python_sitelib}/example_project
rm -f %{buildroot}%{postorius_basedir}/README.rst
rm -f %{buildroot}%{postorius_basedir}/mailman.cfg
rm -f %{buildroot}%{postorius_basedir}/logs/.keep
# Create an empty settings_local.py. This will be filled with a SECRET_KEY in post
install -m 0644 settings_local.py %{buildroot}%{postorius_etcdir}/settings_local.py