From 130bd932dda3e43147a4df0978ef56d838561e18 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Thu, 11 Jul 2024 17:58:31 +0200 Subject: [PATCH] hyperkitty: don't install the example project --- hyperkitty/.footprint | 20 -------------------- hyperkitty/.signature | 6 +++--- hyperkitty/Pkgfile | 3 ++- 3 files changed, 5 insertions(+), 24 deletions(-) diff --git a/hyperkitty/.footprint b/hyperkitty/.footprint index 4752e8f61..402459987 100644 --- a/hyperkitty/.footprint +++ b/hyperkitty/.footprint @@ -7,26 +7,6 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/python3.10/ drwxr-xr-x root/root usr/lib/python3.10/site-packages/ -drwxr-xr-x root/root usr/lib/python3.10/site-packages/example_project/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/.gitignore --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/README.rst --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/__init__.py (EMPTY) -drwxr-xr-x root/root usr/lib/python3.10/site-packages/example_project/__pycache__/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/__pycache__/__init__.cpython-310.opt-2.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/__pycache__/manage.cpython-310.opt-2.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/__pycache__/settings.cpython-310.opt-2.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/__pycache__/urls.cpython-310.opt-2.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/__pycache__/wsgi.cpython-310.opt-2.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/apache.conf --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/crontab -drwxr-xr-x root/root usr/lib/python3.10/site-packages/example_project/logs/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/logs/.keep (EMPTY) --rwxr-xr-x root/root usr/lib/python3.10/site-packages/example_project/manage.py --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/qcluster.service --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/settings.py --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/settings.py.orig --rw-r--r-- root/root usr/lib/python3.10/site-packages/example_project/urls.py --rwxr-xr-x root/root usr/lib/python3.10/site-packages/example_project/wsgi.py drwxr-xr-x root/root usr/lib/python3.10/site-packages/hyperkitty-1.3.11.dist-info/ -rw-r--r-- root/root usr/lib/python3.10/site-packages/hyperkitty-1.3.11.dist-info/METADATA -rw-r--r-- root/root usr/lib/python3.10/site-packages/hyperkitty-1.3.11.dist-info/RECORD diff --git a/hyperkitty/.signature b/hyperkitty/.signature index f56b6a075..b9ba718fb 100644 --- a/hyperkitty/.signature +++ b/hyperkitty/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF32Yrt/fEfIr3c3Zx8yaM1P9JqdDSVeYNEvw6QILr4U06W0GH8ED/C3fV28t3mlw9gawHs3XySiDmq66prjTFBww= -SHA256 (Pkgfile) = 0386720f42ce3b9188554ea8fcc72ecbdeb27572cca45f9d4a68cc2abd8e8aea -SHA256 (.footprint) = 368510fa9d1d4344e55e1f1b4a8d742f8c4d66b55a11824e844d2e081bb90219 +RWSagIOpLGJF312/XyVeYI5xQ9UmPQseDkhFa3ZFlc4ts0tdVx91v7O/WAJ79Mn71Y7uwrZOdUhpDUqUNofAjYxN0S6rgrtlngw= +SHA256 (Pkgfile) = cabaf1deb5aec41c73d422ee1c1f9db673219021c22b72630082c6f7314acc05 +SHA256 (.footprint) = e8cdec5e97d5c4ee82b5d443e604da43be0868667c7d250fb7e2e3448bd1aaa1 SHA256 (hyperkitty-1.3.11.tar.gz) = c32c95b838c81bdae4639aa56dfdcbc946971a99061f0e24a3af381aacc476f6 SHA256 (hyperkitty-1.3.5-settings.patch) = 040dfb80da123bf86817fdf6e0b7c279941671a31d949c98a68f73ccae20d416 diff --git a/hyperkitty/Pkgfile b/hyperkitty/Pkgfile index 2ad9adddd..c8b6147b9 100644 --- a/hyperkitty/Pkgfile +++ b/hyperkitty/Pkgfile @@ -6,7 +6,7 @@ name=hyperkitty version=1.3.11 -release=1 +release=2 source=(https://pypi.org/packages/source/h/hyperkitty/hyperkitty-$version.tar.gz hyperkitty-1.3.5-settings.patch) @@ -16,6 +16,7 @@ build() { local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") patch -Np1 -i $SRC/hyperkitty-1.3.5-settings.patch touch settings_local.py + sed '/example_project/d' -i pyproject.toml /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl