1
0

Compare commits

12 Commits

Author SHA256 Message Date
0e2d10202b Accepting request 1252762 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1252762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=13
2025-03-13 15:18:12 +00:00
4b8e32f4a6 - django still needs the cgi module, add legacy-cgi as BR and Requires
Note: this is a hotfix to fix the build failure for Python 3.13.

While it helps, I'm not sure if I added it at the right place/package or if
it should go somewhere else. So if you don't like this hotfix, feel free to
decline (bonus points if you tell me where the fix should go ;-)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=70
2025-03-13 12:56:53 +00:00
768b116d3b Accepting request 1235241 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1235241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=12
2025-01-07 19:53:05 +00:00
Andreas Schneider
1d5a19261b - Add missing python-six BR for running tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=68
2025-01-06 16:24:09 +00:00
e1d84223c1 Accepting request 1224782 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1224782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=11
2024-11-18 19:01:46 +00:00
dd68d5e8b7 Accepting request 1224780 from home:mcepl:branches:devel:languages:python:mailman
- %defattr is evil! Rather have a long (and readable) list of
  %attr in front of every line
- one consequence of using %defattr is that we were changing
  ownership of /srv/www, which any individual web server has no
  business to do.

OBS-URL: https://build.opensuse.org/request/show/1224780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=66
2024-11-18 08:02:29 +00:00
2b75c35837 - Due to bsc#1231027, add /srv/www to %files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=65
2024-11-14 03:17:09 +00:00
5308866e11 - Use correct PDM package to build, it's pdm-backend.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=64
2024-11-13 01:19:48 +00:00
3112e522a3 Accepting request 1202862 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1202862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=10
2024-09-24 15:34:12 +00:00
9f3cc96b49 - Update to version 1.3.13
* See https://gitlab.com/mailman/postorius/-/blob/v1.3.13/src/postorius/doc/news.rst
    or packaged news.rst file.
- Re-added GPG signature

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=62
2024-09-24 09:01:52 +00:00
02f1cccab7 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
2024-09-18 13:27:08 +00:00
18f2368f6c - 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
- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=60
2024-09-17 15:22:08 +00:00
6 changed files with 96 additions and 40 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-1.3.13.tar.gz Normal file
View File

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

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmbudAYACgkQnZsroGHQ
pnzlZxAApgSauP24Lb4czStUNVNAz24t/0ibDpwO1ybRnVNz47sVR146W4csI8Op
f1ujcJQLbbRjesrzN06dWCu/J+AbmWjVyCOof8nEH76ahW/98She3YDTzz4ukh+o
saKmdNxqiVTIBjf5xKNL6WaUQ4zUaS/DTlyXGmaTQReluYQ2heVVr75Tcp4zqPBw
kmCaR7Yx8y6pvF8Va8GgVXDZ3oj73zlBXqqeHC2iv0KFV2jl9KaqWei6aWK97QuP
2/vCidDr65FdRUQGJUBk10BaCvjIUo5QL+ZJ0DL1TyqyiykTVYWu+15WBeURmIDV
UwpTsIPhm4DKsgvs4v16QxTaqI6KsC76IY9kwTAl4ba+9piECjamTOL0QIRLA43Q
+x94/bfp9T0n6D2evXUqTGhSqjpGoQhwxC/tCj9cNOLZSbDaEfN4kaiPf06myypz
D7QlzSsAqFPI4U29K/a6azAlBMRzT46cTWShk5vtCDKCr9IRHoSOpBxKRMTg/4V5
7hbWlSfxyGtWOFppoMndoRHGEHM2DQ99ksHDbPOhBcsOSmufPR+YS9DoHTLEgsp6
iyaG9x7EJTdPCACWn+73QKU6rt42qptWCNBnW5q6y0ViAByXJTincHYUCc3nU90v
DxyrhimDJj4HmcaEUoX3DkmjllEknL2kEpakpV5JjpAz6cljVbc=
=PF1U
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,51 @@
-------------------------------------------------------------------
Wed Mar 12 16:36:19 UTC 2025 - Christian Boltz <suse-beta@cboltz.de>
- django still needs the cgi module, add legacy-cgi as BR and Requires
-------------------------------------------------------------------
Mon Jan 6 16:09:18 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- Add missing python-six BR for running tests
-------------------------------------------------------------------
Mon Nov 18 07:23:45 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- %defattr is evil! Rather have a long (and readable) list of
%attr in front of every line
- one consequence of using %defattr is that we were changing
ownership of /srv/www, which any individual web server has no
business to do.
-------------------------------------------------------------------
Thu Nov 14 03:16:20 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Use correct PDM package to build, it's pdm-backend.
- Due to bsc#1231027, add /srv/www to %files.
-------------------------------------------------------------------
Sat Sep 21 07:30:43 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.13
* See https://gitlab.com/mailman/postorius/-/blob/v1.3.13/src/postorius/doc/news.rst
or packaged news.rst file.
- Re-added GPG signature
-------------------------------------------------------------------
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

@@ -1,7 +1,7 @@
#
# spec file for package python-postorius
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,13 @@
%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
%global srv_www_dir /srv/www
%global webapps_dir %{srv_www_dir}/webapps
%global postorius_pkgname postorius
@@ -49,7 +50,7 @@
%global __mypython %{expand:%%{__%{mypython}}}
Name: python-postorius
Version: 1.3.10
Version: 1.3.13
Release: 0
Summary: A web user interface for GNU Mailman
License: GPL-3.0-only
@@ -67,7 +68,9 @@ Source20: README.SUSE.md
#
Patch0: postorius-settings.patch
#
BuildRequires: %{python_module legacy-cgi}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pdm-backend}
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}
@@ -94,6 +97,7 @@ BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}}
BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module readme_renderer}
BuildRequires: %{python_module six}
BuildRequires: %{python_module vcrpy}
# /SECTION
%python_subpackages
@@ -106,6 +110,7 @@ Summary: A web user interface for GNU Mailman
Requires: %{mypython}-django-debug-toolbar >= 2.2.0
Requires: %{mypython}-django-mailman3 >= %{django_mailman3_min_version}
Requires: %{mypython}-django-requests-debug-toolbar >= 0.0.3
Requires: %{mypython}-legacy-cgi
Requires: %{mypython}-mailmanclient >= %{mailmanclient_min_version}
Requires: %{mypython}-readme_renderer
Requires: (%{mypython}-Django >= %{django_min_version} with %{mypython}-Django < %{django_max_version})
@@ -205,8 +210,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
@@ -262,21 +270,21 @@ fi
%dir %{webapps_dir}
%dir %{webapps_dir}/mailman
%defattr(-,root,postorius)
%dir %{postorius_basedir}
%{postorius_basedir}/__init__.py
%{postorius_basedir}/manage.py
%{postorius_basedir}/settings.py
%{postorius_basedir}/settings_local.py
%{postorius_basedir}/test_settings.py
%{postorius_basedir}/urls.py
%{postorius_basedir}/wsgi.py
%dir %{srv_www_dir}
%attr(-,root,postorius) %dir %{postorius_basedir}
%attr(-,root,postorius) %{postorius_basedir}/__init__.py
%attr(-,root,postorius) %{postorius_basedir}/manage.py
%attr(-,root,postorius) %{postorius_basedir}/settings.py
%attr(-,root,postorius) %{postorius_basedir}/settings_local.py
%attr(-,root,postorius) %{postorius_basedir}/test_settings.py
%attr(-,root,postorius) %{postorius_basedir}/urls.py
%attr(-,root,postorius) %{postorius_basedir}/wsgi.py
%dir %{postorius_basedir}/static
%{postorius_basedir}/static/admin
%{postorius_basedir}/static/django-mailman3
%{postorius_basedir}/static/postorius
%{postorius_basedir}/static/debug_toolbar
%attr(-,root,postorius) %dir %{postorius_basedir}/static
%attr(-,root,postorius) %{postorius_basedir}/static/admin
%attr(-,root,postorius) %{postorius_basedir}/static/django-mailman3
%attr(-,root,postorius) %{postorius_basedir}/static/postorius
%attr(-,root,postorius) %{postorius_basedir}/static/debug_toolbar
%attr(750,root,postorius) %dir %{postorius_etcdir}
%attr(640,root,postorius) %config(noreplace) %{postorius_etcdir}/settings_local.py