summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNoƩ Lopez <noelopez@free.fr>2026-01-05 14:11:10 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-22 09:35:22 +0100
commit33516f757fac7d5257a7009dc00a051d00eb9c26 (patch)
treeae22ad279e85f49ea47f4a9f75032aabe795ee10 /gnu/packages
parenta39c0d38c87e6d46f16e8cf13b286ff9206d9915 (diff)
gnu: apostrophe: Update to 3.4.
* gnu/packages/gnome-circle.scm (apostrophe): Update to 3.4. [arguments]<#:phases>: Run tests. [inputs]: Sort alphabetically. Replace gtk+ with gtk, libhandy with libadwaita, and webkitgtk-with-libsoup2 with webkitgtk. Add adwaita-icon-theme, gtksourceview and libspelling. Remove python-levenshtein. [native-inputs]: Add gobject-introspection, python, python-pytest, and python-pylint. Change-Id: Ia51839e7b611c77ded6eb24221ad032cce6b931a Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnome-circle.scm35
1 files changed, 22 insertions, 13 deletions
diff --git a/gnu/packages/gnome-circle.scm b/gnu/packages/gnome-circle.scm
index 01e81909d9c..718daf0ce0d 100644
--- a/gnu/packages/gnome-circle.scm
+++ b/gnu/packages/gnome-circle.scm
@@ -37,6 +37,7 @@
#:use-module (gnu packages aidc)
#:use-module (gnu packages backup)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages enchant)
#:use-module (gnu packages fonts)
@@ -79,7 +80,7 @@
(define-public apostrophe
(package
(name "apostrophe")
- (version "2.6.3")
+ (version "3.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -88,7 +89,7 @@
(file-name (git-file-name name version))
(sha256
(base32
- "0wsvq2434p650cf3vq5w7a6czbk8in0ra7nji45mvwyfahdyn6j4"))))
+ "1qndv40vvlzgyybhg30130v8b8zazddqjgmmbpfsnqfc0ghmhgja"))))
(build-system meson-build-system)
(arguments
(list
@@ -104,6 +105,12 @@
(lambda _
(substitute* "build-aux/meson_post_install.py"
(("gtk-update-icon-cache") "true"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "../source"
+ (setenv "PYTHONPATH" (getcwd))
+ (invoke "pytest" "tests/")))))
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/apostrophe")
@@ -114,27 +121,29 @@
(search-input-file inputs
"/bin/pandoc"))))))))))
(inputs
- (list bash-minimal
- glib
- gobject-introspection
- gspell
- gtk+
- libhandy
+ (list adwaita-icon-theme
+ bash-minimal
+ gtk
+ gtksourceview
+ libadwaita
+ libspelling
pandoc
python
python-chardet
- python-levenshtein
- python-regex
python-pycairo
- python-pygobject
python-pyenchant
+ python-pygobject
python-pypandoc
- webkitgtk-with-libsoup2))
+ python-regex
+ webkitgtk))
(native-inputs
(list gettext-minimal
`(,glib "bin")
+ gobject-introspection
pkg-config
- sassc))
+ python
+ python-pytest
+ python-pylint))
(home-page "https://gitlab.gnome.org/World/apostrophe")
(synopsis "Markdown editor written in Python with GTK+")
(description "Apostrophe is a GTK+ based distraction-free Markdown editor.