summaryrefslogtreecommitdiff
path: root/app-office/calcurse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /app-office/calcurse
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'app-office/calcurse')
-rw-r--r--app-office/calcurse/Manifest2
-rw-r--r--app-office/calcurse/calcurse-4.7.0.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest
index 15122767d76f..ded96dd92fec 100644
--- a/app-office/calcurse/Manifest
+++ b/app-office/calcurse/Manifest
@@ -1,4 +1,6 @@
AUX calcurse-4.2.1-tinfo.patch 644 BLAKE2B e304953d56dc8891138e909f0b7b31b85b89a16800a1e8efc64a199cb884b730c3123f902ffe2095d392c41cbf0f65b88d440fff2133816b2763ea74a5e44770 SHA512 099ead1b288717e9d9eff331c2fbb9ff8deb19b1843109549ebdab30e8e59cc9cbb01a89c87e84e9283003ce70fc595e2305936a8a0918b0996b5fab1854cb5f
DIST calcurse-4.4.0.tar.gz 620263 BLAKE2B 8fbe875f5e757ec3c11b9c23a994260403ee990bfcb3d4c41eefbf06a6db9e76cd5157e32b11c3fdc049896d5db3a9856862724902dab1cb48e0b00ef5df6f73 SHA512 43d30ad68bb39aaa9460644a691e66cbb15b9930737581583da65d00214c70fb1148a0edeca4430abb7a5cef2821b0f4c6fdbed8188d9ea5da5fedc4f95fa07c
+DIST calcurse-4.7.0.tar.gz 699134 BLAKE2B fb50ee3d5fe6a0eebacb557ae6fdc1b49a413b35d53fd8dfb64102bd2ed963bf83f27f1e3c3f454284143d1410f18766b56792252634ad82b1b20c130364a54c SHA512 656f3e74cde923bf7bbe5aca56f0544023b69fd8ff6ac8c851bbe224bf6cbe1fb58eb141b66ba818b1382d705e1a7c82a7e20eda7a1672d513ad54749d5a2bac
EBUILD calcurse-4.4.0-r1.ebuild 806 BLAKE2B 906fc28573ed4e463085c18e686e37dce2ecc4e3006d2364bdafceea4ea225ac2cf2f65cbf04c14aa44e62e5482464d1e0a9c8283d16f9a1cdbdc37c8745fd46 SHA512 2c464b7384b2791d9d41ac2b5e371a124e984634e81a6ac8cdd1e3ccf21695ed47c42447a0e3b8ee2ccc0aa0f5ae5ea771d36e1e01e18b8d455edb3581945bf8
+EBUILD calcurse-4.7.0.ebuild 970 BLAKE2B d4c8f53e7d3a1a71073b47696afd886c3c4909dcccc7f3ab872f5ff1ce77fba8bf83eec22e8f0988895fb821e0ee5ffb4bfdd9a242adddfe7770439f6f4c2dd7 SHA512 0af9b360881b353fafa08c8fbfd4413652ade7b6b3c102bbd16db457058f99d43169ef07ced1740c71433546cff647dd221874b9de0b67163dcb5ba3450fbdd1
MISC metadata.xml 542 BLAKE2B 3b8858b3784dee744d56a735c20ca5faf165a5e9ec1ba4789206aa112b6dacfbe7ae563263eb24fd28da6be5bc02573f9ebfeadda96a9378f577d31a022f623e SHA512 6dcb0459490f73f429bb62201b0168f87c841b66d3e14671628ed6507c57704c16f26fe1ed5a7a0b896087a6847eb76c00680bb76f801d2220c64506d4ba1d2b
diff --git a/app-office/calcurse/calcurse-4.7.0.ebuild b/app-office/calcurse/calcurse-4.7.0.ebuild
new file mode 100644
index 000000000000..aeb9469073ba
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.7.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+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_MULTI_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
+)
+
+pkg_setup() {
+ :
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_compile() {
+ default
+ python_setup
+ python_fix_shebang contrib/caldav/calcurse-caldav
+}
+
+src_install() {
+ default
+ mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+}