hyperkitty: don't install the example project

This commit is contained in:
Tim Biermann 2024-07-11 17:58:31 +02:00
parent 4357341773
commit 130bd932dd
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 5 additions and 24 deletions

View File

@ -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

View File

@ -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

View File

@ -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