~alpine/aports

2 2

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

Paul Bredbury
Details
Message ID
<20181219225154.17698-1-brebs@sent.com>
Sender timestamp
1545259914
DKIM signature
missing
Download raw message
Patch: +26 -0
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 <brebs@sent.com>
+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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<CAGG_d8Bj_eojN5KsMo_zSqCYqSj1wP6-zEbuhEZyeD2T-pDfrQ@mail.gmail.com>
In-Reply-To
<20181219225154.17698-1-brebs@sent.com> (view parent)
Sender timestamp
1549361060
DKIM signature
missing
Download raw message
Hi,

On Wed, Dec 19, 2018 at 11:52 PM Paul Bredbury <brebs@sent.com> wrote:

> Hierarchical note-taking app featuring rich text.
> ---
>  testing/cherrytree/APKBUILD | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  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

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

Paul Bredbury
Details
Message ID
<20190205194725.6415-1-brebs@sent.com>
In-Reply-To
<20181219225154.17698-1-brebs@sent.com> (view parent)
Sender timestamp
1549396044
DKIM signature
missing
Download raw message
Patch: +33 -0
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

diff --git a/testing/cherrytree/APKBUILD b/testing/cherrytree/APKBUILD
new file mode 100644
index 0000000000..1507efd44c
--- /dev/null
+++ b/testing/cherrytree/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Paul Bredbury <brebs@sent.com>
+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"
+
+prepare() {
+	default_prepare
+
+	# Run by desktop-file-utils.trigger instead
+	sed -e "/subprocess.*update-desktop-database/d" -i setup.py
+}
+
+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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---