diff options
author | Wilhelm Schuster | 2024-01-01 19:58:34 +0100 |
---|---|---|
committer | Wilhelm Schuster | 2024-01-01 19:58:34 +0100 |
commit | 086dd2a524dbc1cf569a381cfe50fc8788bca680 (patch) | |
tree | bd7ccf6e9b2ba4810610701d0305070d300361fa | |
parent | 3f1780821b075b5eba379adc30f58d07155944a4 (diff) | |
download | aur-086dd2a524dbc1cf569a381cfe50fc8788bca680.tar.gz |
Update libgpio dependency to python-periphery
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | moonraker.conf | 9 |
3 files changed, 25 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = moonraker-git pkgdesc = HTTP frontend for Klipper 3D printer firmware - pkgver = r1845.fe12095 + pkgver = r1950.84a8538 pkgrel = 1 url = https://github.com/Arksine/moonraker install = moonraker.install @@ -23,12 +23,13 @@ pkgbase = moonraker-git depends = python-paho-mqtt depends = python-jinja depends = python-dbus-next + depends = python-periphery depends = curl - depends = libgpiod optdepends = polkit: enable service and machine control through moonraker optdepends = python-preprocess-cancellation: enables exclude object processing optdepends = python-apprise: enable [notifier] module for sending notifications optdepends = python-ldap3: [authorization] using LDAP + optdepends = python-msgspec: potentially improves moonraker performance optdepends = python-zeroconf: enable zeroconf announcements optdepends = wireless_tools: network detection provides = moonraker @@ -46,7 +47,7 @@ pkgbase = moonraker-git source = moonraker-klipper.cfg sha256sums = SKIP sha256sums = b118f346ec57228add79b9c37555adc5dbae4cb6de0e39659912376b5ad2e932 - sha256sums = 85855665ec1ff10c95529f456d8b00314d8909db4d83be48bb76d0fc2a5fd3d0 + sha256sums = 16ac5116ff18e67b7334cf9baf4c404734aede0b1d56d5bed8bde90fbd926e8c sha256sums = c9ab1efe9e225fddaaa20b82ff33d9b00c7e7fffe06d0a27502c17d5484131fc sha256sums = 5611f1a48bb18d0d95a31eaead4f59d84c0ae5e3c407f3488770e2236b97c3bf sha256sums = cef040e973a9bb697659d1506a37a5f829551d5cc96e3f81ff588d5bd67cf1d0 @@ -1,7 +1,7 @@ # Maintainer: Wilhelm Schuster <aur [aT] rot13 dot io> _pkgname=moonraker pkgname="${_pkgname}-git" -pkgver=r1845.fe12095 +pkgver=r1950.84a8538 pkgrel=1 pkgdesc="HTTP frontend for Klipper 3D printer firmware" arch=(any) @@ -19,14 +19,17 @@ depends=(klipper python-paho-mqtt python-jinja python-dbus-next - curl - libgpiod) + python-periphery + curl) #checkdepends=("python-pytest>=7.0" python-pytest-asyncio python-pytest-timeout) makedepends=(git python-build python-installer python-wheel python-pdm) optdepends=("polkit: enable service and machine control through moonraker" "python-preprocess-cancellation: enables exclude object processing" "python-apprise: enable [notifier] module for sending notifications" "python-ldap3: [authorization] using LDAP" + "python-msgspec: potentially improves moonraker performance" + # Leave the following off for now as moonraker used methods deprecated in py3.12 + #"python-uvloop: potentially improves moonraker performance" "python-zeroconf: enable zeroconf announcements" "wireless_tools: network detection") provides=("$_pkgname") @@ -36,7 +39,7 @@ install=moonraker.install source=('git+https://github.com/Arksine/moonraker.git#branch=master' 'moonraker.install' 'moonraker.conf' 'moonraker.service' 'moonraker.env' 'moonraker.rules' 'sysusers.conf' 'tmpfiles.conf' 'moonraker-klipper.cfg') sha256sums=('SKIP' 'b118f346ec57228add79b9c37555adc5dbae4cb6de0e39659912376b5ad2e932' - '85855665ec1ff10c95529f456d8b00314d8909db4d83be48bb76d0fc2a5fd3d0' + '16ac5116ff18e67b7334cf9baf4c404734aede0b1d56d5bed8bde90fbd926e8c' 'c9ab1efe9e225fddaaa20b82ff33d9b00c7e7fffe06d0a27502c17d5484131fc' '5611f1a48bb18d0d95a31eaead4f59d84c0ae5e3c407f3488770e2236b97c3bf' 'cef040e973a9bb697659d1506a37a5f829551d5cc96e3f81ff588d5bd67cf1d0' @@ -65,6 +68,11 @@ package() { cd "$srcdir/$_pkgname" python -m installer --destdir="${pkgdir}" --prefix="/opt/$_pkgname" dist/*.whl + # clean wheel after installation to prevent later package() runs from erroring + # due to `dist/*.whl` expanding to multiple files (which `python -m install` + # doesn't support) + rm -f dist/*.whl + rm -rf "$pkgdir/opt/$_pkgname/bin" # clean bin/moonraker as it doesn't work with /opt prefix install -Dm644 "$srcdir/moonraker.conf" "$pkgdir/etc/klipper/moonraker.conf" diff --git a/moonraker.conf b/moonraker.conf index c65da9da72ac..78e9ea06e5b0 100644 --- a/moonraker.conf +++ b/moonraker.conf @@ -13,7 +13,16 @@ klippy_uds_address: /run/klipper/ud_sock #max_upload_size: 200 [file_manager] +# When set to True the file manager will add uploads to the job_queue when +# the `start_print` flag has been set. The default if False. #queue_gcode_uploads: False +# By default Moonraker will validate that Klipper's configuration file exists +# within the data path's "config" folder, as this is a requirement for +# Moonraker to write to the configuration. If this validation check fails +# Moonaker will warn the user. Installations that do not wish to use Moonraker +# to manage Klipper's configuration may set this option to False to bypass the +# location check. The default is True. +check_klipper_config_path: False # When set to True gcode files will be run through a "preprocessor" # during metdata extraction if object tags are detected. This preprocessor # replaces object tags with G-Code commands compatible with Klipper's |