17
0

Compare commits

17 Commits

Author SHA256 Message Date
055c461672 Accepting request 1324685 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1324685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=35
2025-12-29 14:17:40 +00:00
7cdee4b3c0 - If possible build for primary_python (fixes Leap 16.0)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=99
2025-12-29 10:58:02 +00:00
5f55119204 Accepting request 1323532 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1323532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=34
2025-12-18 17:37:27 +00:00
267e4cb3ab - Add upstream django52.patch to officially support Django 5.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=97
2025-12-18 14:41:42 +00:00
55c8032131 cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=96
2025-07-17 12:50:53 +00:00
d9d44050d5 Accepting request 1252100 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1252100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=33
2025-03-11 19:47:05 +00:00
3549166672 Add reproducible.patch for reproducible builds
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=94
2025-03-11 15:14:01 +00:00
5d04f3250b Accepting request 1223454 from devel:languages:python:mailman
Forwarded request #1222139 from mcalabkova

- Minor tweaks in spec to fix build

OBS-URL: https://build.opensuse.org/request/show/1223454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=32
2024-11-12 18:21:47 +00:00
afc29cc395 Accepting request 1222139 from home:mcalabkova:branches:devel:languages:python:mailman
- Minor tweaks in spec to fix build

OBS-URL: https://build.opensuse.org/request/show/1222139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=92
2024-11-12 00:49:39 +00:00
f66d65b3b0 Accepting request 1202860 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1202860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=31
2024-09-24 15:34:11 +00:00
8c9151924f Accepting request 1202328 from home:gladiac:mailman
- Update to version 1.3.12
  * https://gitlab.com/mailman/hyperkitty/-/blob/1.3.12/doc/news.rst
    or packaged news.rst
- Removed gl-mr635-empty_attachment.patch

OBS-URL: https://build.opensuse.org/request/show/1202328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=90
2024-09-24 09:00:26 +00:00
101ecc4f03 Accepting request 1202271 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1202271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=30
2024-09-22 09:06:17 +00:00
4c0ac3fbd5 Accepting request 1201859 from home:gladiac:mailman
- Update to version 1.3.11
  * https://gitlab.com/mailman/hyperkitty/-/blob/1.3.11/doc/news.rst
- Removed GPG signature as the download links don't work
- Removed requirement for pytz

OBS-URL: https://build.opensuse.org/request/show/1201859
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=88
2024-09-20 21:50:26 +00:00
7c4a082a1a Accepting request 1188491 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1188491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=29
2024-07-19 13:29:01 +00:00
8b64fc4fc6 Accepting request 1188489 from home:crameleon:branches:devel:languages:python:mailman
Add gl-mr635-empty_attachment.patch to resolve corrupted archive
downloads on mails with empty attachments

OBS-URL: https://build.opensuse.org/request/show/1188489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=86
2024-07-18 20:45:59 +00:00
c08c9f9599 Accepting request 1183122 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1183122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=28
2024-07-02 16:16:18 +00:00
dc2568b6bf Accepting request 1182740 from home:gladiac:mailman
- Update to version 1.3.10
  * https://gitlab.com/mailman/hyperkitty/-/releases/1.3.10

OBS-URL: https://build.opensuse.org/request/show/1182740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=84
2024-06-25 08:47:56 +00:00
8 changed files with 136 additions and 34 deletions

25
django52.patch Normal file
View File

@@ -0,0 +1,25 @@
From b8b7536c2cb7380ec55ed62140617cff8ae36b1d Mon Sep 17 00:00:00 2001
From: SATOH Fumiyasu <fumiyas@osstech.co.jp>
Date: Fri, 1 Aug 2025 23:18:30 +0000
Subject: [PATCH] feat: Add Python 3.13 and Django 5.2 (LTS) support
---
.gitlab-ci.yml | 43 ++++++++++++++++---------------------------
doc/news.rst | 2 ++
pyproject.toml | 3 +--
tox.ini | 4 ++--
4 files changed, 21 insertions(+), 31 deletions(-)
Index: hyperkitty-1.3.12/pyproject.toml
===================================================================
--- hyperkitty-1.3.12.orig/pyproject.toml
+++ hyperkitty-1.3.12/pyproject.toml
@@ -23,7 +23,7 @@ dependencies = [
"django-gravatar2>=1.0.6",
"django-haystack>=2.8.0",
"django-q2>=1.0.0",
- "django>=4.2,<5.1",
+ "django>=4.2,<5.3",
"django_mailman3>=1.3.13",
"djangorestframework>=3.0.0",
"flufl.lock>=4.0",

3
hyperkitty-1.3.12.tar.gz Normal file
View File

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

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmbueWwACgkQnZsroGHQ
pnxsWRAAzB3qp5jEdyUzUI28ptQFdFPQrYfOESVGTwsYzQ88/MxDGnbjhcbs4Ch6
OGt/xATlxbIeiO1fYIYryBO/ZyP3JiwC6PUTaHYnGFGi9rEgJKqaAg2JC10fKBsA
EOKd/Rda9RONZTf54BvODpGl8OgUXGPqblr/xuaddewGfn3pcCiVD3juND8Eromz
U4smsonht08F64jaWGO5Ki2sPaUrXIYfKJdzUMCC5GTwRQLafPEgomamrgfBMcwa
G5LyZt6DXHGEBf0gQKtdR5ixKv4Y6Hk4l2U0NKT3gi5fb6YRF9ftXBZGlRpGEVrj
58xLL4B41ltisf4S5xvZbHidhfvD1hnSpp2RDZtocjkozfk5y71wOSpCZ1/Py19l
keS8Dh4ey90R121+8fa9SBTowIZW3cD4IxlmcJwfNPsuy6wHCv8SJx2I91eiN6rA
z3XTIhk30VFLky7qDLDodH5KucQop0jF+TbvqtJ45HTb4HV30Fx+5eYJMSW5eQAR
SjuYnJih2T/n3o07mRxqhpl9awpdhhLyVsKTevqBLCFES/pmSpwun+bX++JLx4kg
trIVqVYYi+4uUyF7EH0ixOOYVmCx9rJzdLXyX8c9BxKp23zcQcWsxffZzwNpa0N2
9BpT9w/Vn6wdoKqzsyen6CXgRSDVv9kpgpLZtJ85Y6PfcwroJnY=
=R3Fq
-----END PGP SIGNATURE-----

View File

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

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmXdpUoACgkQnZsroGHQ
pnyY9g//RnBU9jWIctSQSxpU5KkSigsznJ98WfrZDt8bJus/AIt9heMSKHsnOo7s
DkU6Bd+W92bk685nUJxLws4AncsWXqGnyANI2N8BWdTCTXDBgAPSlr9cryqO7rM7
n95eIMX8N40nS9WUeIV3qlHuDR0eBaNB0GseLu24W+JbB+JCKbxLn/nQT3MVeno4
WbAhq8NAQsE1IFbUTVyyoaETTuHbCkNoetmpz+OPR70zKs57as78FAYaGrOPdWpL
10DxIDOqQS4SZu9Ca1pv5avDOuP+1dkyR584mY462GX1yjb5m2IIIocBnOGbgqaL
Mz7cuc186e9KHWk43uPecj5i02D1oyoQ2HqswNkeT/p1It0H0vO86UI79wuewes6
WOvLibO0FnbINjv3ckLTi0JzpLSe4tVkJhzt59NeYkB0S8X9LXGM7MTXxiJYQhDP
orVGGTd7AFtA0QLqKH75ZgI1/vlpSeAJe5+tYORByPWCfeKZCyhe6sDEgqj4E+Fc
XDZov5gyS/b1yhvpU1OeaWKUh613PLnfSVpo8lS0mbYENAApkMNZkXGbssqXnDZP
Gtkj6PGHVBEN1rZWhKehMjPBvGuyfu1Jt0BxS99SbMKnKuUbPgm1MCUCgBvTZ3P0
1Ca6l2n06RJ7G+7jorPQhkPXOLJiG/73+Cj4K2uqhZe3pxwooh8=
=Ww80
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,51 @@
-------------------------------------------------------------------
Fri Dec 19 07:17:03 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- If possible build for primary_python (fixes Leap 16.0)
-------------------------------------------------------------------
Thu Dec 18 09:09:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream django52.patch to officially support Django 5.2
-------------------------------------------------------------------
Tue Mar 11 13:19:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible.patch for reproducible builds
-------------------------------------------------------------------
Thu Nov 7 11:33:38 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Minor tweaks in spec to fix build
-------------------------------------------------------------------
Sat Sep 21 12:05:35 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.12
* https://gitlab.com/mailman/hyperkitty/-/blob/1.3.12/doc/news.rst
or packaged news.rst
- Removed gl-mr635-empty_attachment.patch
-------------------------------------------------------------------
Wed Sep 11 18:35:28 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.11
* https://gitlab.com/mailman/hyperkitty/-/blob/1.3.11/doc/news.rst
- Removed GPG signature as the download links don't work
- Removed requirement for pytz
-------------------------------------------------------------------
Thu Jul 18 20:22:39 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
- Add gl-mr635-empty_attachment.patch to resolve corrupted archive
downloads on mails with empty attachments
-------------------------------------------------------------------
Sun Jun 23 08:37:43 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.10
* https://gitlab.com/mailman/hyperkitty/-/releases/1.3.10
-------------------------------------------------------------------
Sat Mar 2 07:57:47 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-HyperKitty
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,14 @@
%bcond_without testsuite
# keep in sync with setup.py
%global django_min_version 3.2
%global django_max_version 4.3
%global django_mailman3_min_version 1.3.10
%global django_min_version 4.2
%global django_max_version 5.3
%global django_mailman3_min_version 1.3.13
%global django_gravatar2_min_version 1.0.6
%global djangorestframework_min_version 3.0.0
%global robot_detection_min_version 0.3
%global pytz_min_version 2012
%global django_compressor_min_version 1.3
%global mailmanclient_min_version 3.3.3
# original this was >= 2.0.0, < 3.0 but overwritten by mistune3.patch
%global mistune_min_version 3.0
%global python_dateutil_min_version 2.0
%global networkx_min_version 2.0
@@ -54,11 +52,13 @@
%global hyperkitty_services hyperkitty-qcluster.service hyperkitty-runjob-daily.service hyperkitty-runjob-daily.timer hyperkitty-runjob-hourly.service hyperkitty-runjob-hourly.timer hyperkitty-runjob-minutely.service hyperkitty-runjob-minutely.timer hyperkitty-runjob-monthly.service hyperkitty-runjob-monthly.timer hyperkitty-runjob-quarter-hourly.service hyperkitty-runjob-quarter-hourly.timer hyperkitty-runjob-weekly.service hyperkitty-runjob-weekly.timer hyperkitty-runjob-yearly.service hyperkitty-runjob-yearly.timer
# keep in sync with python-postorius/python-mailman-web
# Always only build one flavor: primary python for TW, python311 from the SLE15 python module for 15.x
%if 0%{?suse_version} >= 1550
%define pythons python3
%else
# Always only build one flavor
%if 0%{?sle_version} && 0%{?sle_version} < 160000
%{?sle15_python_module_pythons}
%elif %{defined primary_python}
%define pythons %{primary_python}
%else
%define pythons python3
%endif
%global mypython %pythons
%global mypython_sitelib %{expand:%%{%{mypython}_sitelib}}
@@ -66,7 +66,7 @@
%define plainpython python
Name: python-HyperKitty
Version: 1.3.9
Version: 1.3.12
Release: 0
Summary: A web interface to access GNU Mailman v3 archives
License: GPL-3.0-only
@@ -94,7 +94,10 @@ Patch0: hyperkitty-settings.patch
Patch98: gl-mr300-add-opengraph-metadata.patch
# PATCH-FIX-UPSTREAM gl-mr470-introduce-feed-filtering.patch gl#mailman/hyperkitty#470
Patch99: gl-mr470-introduce-feed-filtering.patch
Patch100: reproducible.patch
#
# PATCH-FIX-UPSTREAM django52.patch feat: Add Python 3.13 and Django 5.2 (LTS) support
Patch101: django52.patch
BuildRequires: %{python_module Django >= %{django_min_version} with %python-Django < %{django_max_version}}
BuildRequires: %{python_module Whoosh}
BuildRequires: %{python_module django-compressor >= %{django_compressor_min_version}}
@@ -104,7 +107,7 @@ BuildRequires: %{python_module django-gravatar2 >= %{django_gravatar2_min_versi
BuildRequires: %{python_module isort}
BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}}
BuildRequires: %{python_module mistune >= %{mistune_min_version}}
BuildRequires: %{python_module pdm}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -136,7 +139,6 @@ BuildRequires: %{python_module networkx >= %{networkx_min_version}}
BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= %{python_dateutil_min_version}}
BuildRequires: %{python_module pytz >= %{pytz_min_version}}
BuildRequires: %{python_module robot-detection >= %{robot_detection_min_version}}
# /SECTION
@@ -160,7 +162,6 @@ Requires: %{mypython}-mailmanclient >= %{mailmanclient_min_version}
Requires: %{mypython}-mistune >= %{mistune_min_version}
Requires: %{mypython}-networkx >= %{networkx_min_version}
Requires: %{mypython}-python-dateutil >= %{python_dateutil_min_version}
Requires: %{mypython}-pytz >= %{pytz_min_version}
Requires: %{mypython}-robot-detection >= %{robot_detection_min_version}
Requires: %{mypython}-xapian-haystack >= %{django_haystack_min_version}
# help in replacing any previously installed flavor package back to the unprefixed package
@@ -361,7 +362,7 @@ fi
%service_del_postun %{hyperkitty_services}
%files -n %{hyperkitty_pkgname}
%doc AUTHORS.txt README.rst example_project
%doc AUTHORS.txt README.rst doc/news.rst example_project
%license COPYING.txt
%{mypython_sitelib}/hyperkitty
%{mypython_sitelib}/hyperkitty-%{version}*-info
@@ -371,6 +372,7 @@ fi
%{_sbindir}/hyperkitty-manage
%{_sbindir}/rchyperkitty-qcluster
%{_sbindir}/rchyperkitty-runjob-*
%dir /srv/www
%dir %{webapps_dir}
%dir %{webapps_dir}/mailman
%{_unitdir}/hyperkitty-qcluster.service

27
reproducible.patch Normal file
View File

@@ -0,0 +1,27 @@
https://gitlab.com/mailman/hyperkitty/-/merge_requests/656
From 3961ea048f00da1004bbfe22f43ea2a494279d49 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Mon, 16 Dec 2024 16:08:45 +0100
Subject: [PATCH] Use content based hashing
for deterministic .css files
Without this patch, the mode defaulted to `mtime`
and caused variations between builds.
Fixes #527
This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.
diff --git a/example_project/settings.py b/example_project/settings.py
index ec7f742..1c53df6 100644
--- a/build_static_files/settings.py
+++ b/build_static_files/settings.py
@@ -304,6 +304,7 @@ SOCIALACCOUNT_PROVIDERS = {
# django-compressor
# https://pypi.python.org/pypi/django_compressor
#
+COMPRESS_CSS_HASHING_METHOD = 'content'
COMPRESS_PRECOMPILERS = (
('text/x-scss', 'sassc -t compressed {infile} {outfile}'),
('text/x-sass', 'sassc -t compressed {infile} {outfile}'),