Subject: [alpine-aports] [PATCH] testing/cherrytree: new aport

From: Paul Bredbury <[email-masked]>
Date: Wed, 19 Dec 2018 22:51:54 +0000

Hierarchical note-taking app featuring rich text.
---
 testing/cherrytree/APKBUILD | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testing/cherrytree/APKBUILD

diff --git a/testing/cherrytree/APKBUILD b/testing/cherrytree/APKBUILD
new file mode 100644
index 0000000000..eefd7e9ab2
--- /dev/null
+++ b/testing/cherrytree/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Paul Bredbury <[email-masked]>
+pkgname=cherrytree
+pkgver=0.38.7
+pkgrel=0
+pkgdesc="Hierarchical note-taking app featuring rich text"
+url="https://www.giuspen.com/cherrytree/"
+arch="noarch"
+license="GPL-3.0-or-later"
+depends="py-dbus py-gtk py-pygtksourceview2"
+makedepends="gettext"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://www.giuspen.com/software/$pkgname-$pkgver.tar.xz"
+options="!check" # No test suite
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	python2 setup.py build
+}
+
+package() {
+	cd "$builddir"
+	python2 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="3b52b0a5f1bc7d2aa5eb7622c31ded85f7cf1c0361f9bfa1842c7a07f8f3fb694b27f8d6fe8486482bf293b0300a383cf02ba2dc79d520a1862ae439a17cc371  cherrytree-0.38.7.tar.xz"
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Leonardo Arena <[email-masked]>
Date: Tue, 5 Feb 2019 11:04:20 +0100

Hi,

>  create mode 100644 testing/cherrytree/APKBUILD
it fails here with:

compiling locale/es.po -> build/mo/es/cherrytree.mo
Traceback (most recent call last):
  File "setup.py", line 208, in <module>
    subprocess.call("update-desktop-database")
  File "/usr/lib/python2.7/subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Thanks!

/eo

---

From: Paul Bredbury <[email-masked]>
Date: Tue, 5 Feb 2019 19:47:24 +0000

https://www.giuspen.com/cherrytree/
Hierarchical note-taking app featuring rich text.
---
 testing/cherrytree/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/cherrytree/APKBUILD

index 0000000000..1507efd44c
@@ -0,0 +1,33 @@
+prepare() {
+	default_prepare
+	# Run by desktop-file-utils.trigger instead
+	sed -e "/subprocess.*update-desktop-database/d" -i setup.py

---