Update python-platypush
modules/cogd/packages/hardware.scm
6 | 6 | ||
7 | 7 | (use-modules (guix packages) | |
8 | 8 | (guix gexp) | |
9 | - | (guix build-system python) | |
9 | + | (guix build-system pyproject) | |
10 | 10 | ((gnu packages hardware) #:prefix guix:) | |
11 | - | (gnu packages messaging)) | |
11 | + | (gnu packages messaging) | |
12 | + | (gnu packages python-build)) | |
12 | 13 | ||
13 | 14 | (define-public python-usbrelay | |
14 | 15 | (package | |
15 | 16 | (inherit guix:usbrelay) | |
16 | 17 | (name "python-usbrelay") | |
17 | - | (build-system python-build-system) | |
18 | + | (build-system pyproject-build-system) | |
18 | 19 | (inputs (list guix:usbrelay)) | |
20 | + | (native-inputs (list python-setuptools python-wheel)) | |
19 | 21 | (propagated-inputs (list python-paho-mqtt)) | |
20 | 22 | (arguments | |
21 | 23 | (list | |
22 | - | #:phases #~(modify-phases %standard-phases | |
23 | - | (add-after 'unpack 'install-daemon | |
24 | - | (lambda _ | |
25 | - | (install-file "usbrelayd.8" | |
26 | - | (string-append #$output "/share/man/man8")) | |
27 | - | (install-file "usbrelayd" | |
28 | - | (string-append #$output "/sbin")) | |
29 | - | (chmod (string-append #$output "/sbin/usbrelayd") #o555))) | |
30 | - | (add-after 'install-daemon 'chdir-and-set-version | |
31 | - | (lambda _ | |
32 | - | (chdir "usbrelay_py") | |
33 | - | (substitute* "setup.py" | |
34 | - | ((" version = .*") | |
35 | - | (string-append " version = '" | |
36 | - | #$(package-version guix:usbrelay) "',\n"))) | |
37 | - | (substitute* "src/__init__.py" | |
38 | - | (("__version__ = .*") | |
39 | - | (string-append "__version__ = \"" | |
40 | - | #$(package-version guix:usbrelay) "\"\n")))))))))) | |
24 | + | #:phases | |
25 | + | #~(modify-phases %standard-phases | |
26 | + | (add-after 'unpack 'install-daemon | |
27 | + | (lambda _ | |
28 | + | (install-file "usbrelayd.8" | |
29 | + | (string-append #$output "/share/man/man8")) | |
30 | + | (install-file "usbrelayd" | |
31 | + | (string-append #$output "/sbin")) | |
32 | + | (chmod (string-append #$output "/sbin/usbrelayd") #o555))) | |
33 | + | (add-after 'install-daemon 'chdir | |
34 | + | (lambda _ | |
35 | + | (chdir "usbrelay_py")))))))) |
modules/cogd/packages/python-xyz.scm
54 | 54 | (define-public python-platypush | |
55 | 55 | (package | |
56 | 56 | (name "python-platypush") | |
57 | - | (version "1.3.4") | |
57 | + | (version "1.3.5") | |
58 | 58 | (source | |
59 | 59 | (origin | |
60 | 60 | (method git-fetch) | |
… | |||
63 | 63 | (commit (string-append "v" version)))) | |
64 | 64 | (file-name (git-file-name name version)) | |
65 | 65 | (sha256 | |
66 | - | (base32 "0c17hq7frwqjb8rwm949wi1h2y9f4ms06dhr77akf1qdb4lhn5l7")))) | |
66 | + | (base32 "1chd60r4misz2i368435yb6hhnm97v8kncjnchxj8mg3mglw9gy0")))) | |
67 | 67 | (build-system pyproject-build-system) | |
68 | 68 | (arguments | |
69 | 69 | (list | |
… | |||
97 | 97 | python-rsa | |
98 | 98 | python-sqlalchemy | |
99 | 99 | python-tornado | |
100 | - | python-urllib3-for-platypush | |
100 | + | python-urllib3 | |
101 | 101 | python-websocket-client | |
102 | 102 | python-websockets | |
103 | 103 | python-werkzeug | |
104 | 104 | python-zeroconf | |
105 | - | python-zipp-3)) | |
105 | + | python-zipp)) | |
106 | 106 | (home-page "https://platypush.tech/") | |
107 | 107 | (synopsis "General-purpose automation framework") | |
108 | 108 | (description |