From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/calcurse/files/, app-office/calcurse/
Date: Wed, 6 Oct 2021 01:10:07 +0000 (UTC) [thread overview]
Message-ID: <1633482562.977a9e516eb47bfe30028ea3b024f5a0bf43b129.sam@gentoo> (raw)
commit: 977a9e516eb47bfe30028ea3b024f5a0bf43b129
Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
AuthorDate: Tue Oct 5 22:48:31 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 01:09:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977a9e51
app-office/calcurse: add 4.7.1 and fix documentation
calcurse 4.7.1 is a bug-fixing release.
Also updated PYTHON_COMPAT (used by /usr/bin/calcurse-{vdir,caldav}).
Thanks-to: Marco Sirabella <marco <AT> sirabella.org>
Closes: https://bugs.gentoo.org/813438
Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
Closes: https://github.com/gentoo/gentoo/pull/22498
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-office/calcurse/Manifest | 1 +
app-office/calcurse/calcurse-4.7.1.ebuild | 50 ++++++++++++++++++++++
.../files/calcurse-4.7.1-respect-docdir.patch | 13 ++++++
3 files changed, 64 insertions(+)
diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest
index 9979b9f27f6..d435446267b 100644
--- a/app-office/calcurse/Manifest
+++ b/app-office/calcurse/Manifest
@@ -1 +1,2 @@
DIST calcurse-4.7.0.tar.gz 699134 BLAKE2B fb50ee3d5fe6a0eebacb557ae6fdc1b49a413b35d53fd8dfb64102bd2ed963bf83f27f1e3c3f454284143d1410f18766b56792252634ad82b1b20c130364a54c SHA512 656f3e74cde923bf7bbe5aca56f0544023b69fd8ff6ac8c851bbe224bf6cbe1fb58eb141b66ba818b1382d705e1a7c82a7e20eda7a1672d513ad54749d5a2bac
+DIST calcurse-4.7.1.tar.gz 701563 BLAKE2B 438741b9e0f61438d235fa60d13816d83c19f7d1b612619fe20a78812e77657b003ad0b9416bcc766f0e38e7868b3543972ed65eee43d8f9d6b1d80ba1872091 SHA512 8b5574d2909128c745b2d6367b517c5fb04a1c451e666dc9ee0652b3793b519576af5700d4fd073de0ccd5e5dced6b69c45dbfaf98b35a99784093208512b68e
diff --git a/app-office/calcurse/calcurse-4.7.1.ebuild b/app-office/calcurse/calcurse-4.7.1.ebuild
new file mode 100644
index 00000000000..a8060b73a4a
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.7.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="A text-based calendar and scheduling application"
+HOMEPAGE="https://calcurse.org/"
+SRC_URI="https://calcurse.org/files/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/httplib2[${PYTHON_USEDEP}]')
+ sys-libs/ncurses:0="
+
+DEPEND="
+ ${RDEPEND}"
+
+# Some tests fail, mostly those pertaining to ical, perhaps due to requiring network?
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.2.1-tinfo.patch
+ "${FILESDIR}"/${PN}-4.7.1-respect-docdir.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_compile() {
+ default
+ python_setup
+ python_fix_shebang contrib/caldav/calcurse-caldav
+}
+
+src_install() {
+ # calcurse likes to read the text files uncompressed
+ docompress -x /usr/share/doc
+ default
+}
diff --git a/app-office/calcurse/files/calcurse-4.7.1-respect-docdir.patch b/app-office/calcurse/files/calcurse-4.7.1-respect-docdir.patch
new file mode 100644
index 00000000000..8619b4d8d67
--- /dev/null
+++ b/app-office/calcurse/files/calcurse-4.7.1-respect-docdir.patch
@@ -0,0 +1,13 @@
+# Gentoo bug "app-office/calcurse: Unable to find documentation"
+# https://bugs.gentoo.org/813438
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -57,8 +57,6 @@ CLEANFILES = \
+ submitting-patches.html \
+ calcurse.1
+
+-docdir = $(datadir)/doc/$(PACKAGE)
+-
+ .txt.html:
+ if HAVE_ASCIIDOC
+ $(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_ARGS) $<
next reply other threads:[~2021-10-06 1:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-06 1:10 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-20 12:32 [gentoo-commits] repo/gentoo:master commit in: app-office/calcurse/files/, app-office/calcurse/ Joonas Niilola
2018-04-09 22:29 Patrice Clement
2017-02-08 22:15 Patrice Clement
2016-11-21 12:43 Patrice Clement
2016-04-19 8:55 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1633482562.977a9e516eb47bfe30028ea3b024f5a0bf43b129.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox