summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-27 21:18:11 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:10 +0200
commit947c94ac51bacd9e410dec4e60c163a85e767784 (patch)
tree57362c9e05f041f60106e71b0963f8f025a27ad3
parenteee5857dbbe0a643284ff15e564b1f7a01ec0728 (diff)
gnu: tryton: Update to 7.4.4.
* gnu/packages/tryton.scm (tryton): Update to 7.4.4. [build-system]: Use pyproject-build-system. [arguments]: Use G-expression. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. Change-Id: Ic68e0ed6df6918c52a71c0a8ef72fdf7db522161
-rw-r--r--gnu/packages/tryton.scm35
1 files changed, 19 insertions, 16 deletions
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 0e5bd585c0..f8d63c2f3f 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -118,30 +118,33 @@ and security.")
(define-public tryton
(package
(name "tryton")
- (version "6.2.7")
+ (version "7.4.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tryton" version))
(sha256
- (base32 "1bvwkrj2mmnddaif60g2np2jpx8lq5ka32xlhd4rlnshnbryrm5q"))))
- (build-system python-build-system)
+ (base32 "0q0qa4pjbpc0h8r9hlnm5dh315w5i7mzqpdrlw1c8qvigpl1rf7g"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'change-home
- (lambda _
- ;; Change from /homeless-shelter to /tmp for write permission.
- (setenv "HOME" "/tmp")))
- (add-after 'install 'wrap-gi-python
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
- (wrap-program (string-append out "/bin/tryton")
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'change-home
+ (lambda _
+ ;; Change from /homeless-shelter to /tmp for write permission.
+ (setenv "HOME" "/tmp")))
+ (add-after 'install 'wrap-gi-python
+ (lambda _
+ (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program (string-append #$output "/bin/tryton")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
(native-inputs
(list `(,glib "bin")
- gobject-introspection))
+ gobject-introspection
+ python-pytest
+ python-setuptools
+ python-wheel))
(inputs (list bash-minimal)) ;for wrap-program
(propagated-inputs
(list (librsvg-for-system)