summaryrefslogtreecommitdiff
path: root/app-office/calcurse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-07 00:08:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-07 00:08:01 +0100
commit941687623283212199cbe6e36f7d61b89d6222b2 (patch)
treeba7fb5198fd46b0b501a9c4362be2c26738408ad /app-office/calcurse
parent44cec61076bf2bbb3cea1fc89943dd6818a5acc5 (diff)
gentoo auto-resync : 07:06:2024 - 00:08:01
Diffstat (limited to 'app-office/calcurse')
-rw-r--r--app-office/calcurse/Manifest1
-rw-r--r--app-office/calcurse/calcurse-4.8.1-r1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest
index 599008417cdf..dc8e1d026907 100644
--- a/app-office/calcurse/Manifest
+++ b/app-office/calcurse/Manifest
@@ -1,5 +1,6 @@
DIST calcurse-4.8.0.tar.gz 716234 BLAKE2B 3fc703626d5e17b78ff42c0ef4f554585efd8223c2bd9d8c2f7add681602dc585cf066ed7c55a040b2585ad07513b26a5297b3b41f4c94a043f61ad2ad9094c2 SHA512 ea156c4320abf97fdb5abc29ff1f9bc659a3cab0e571295ed04b42dd742c4c45a7d5958dc2d386fc0ee7bd733969a6275405d5cf10cd645c75cb97b6b9e571d6
DIST calcurse-4.8.1.tar.gz 730787 BLAKE2B 0c34b85313c3414dffc08635f6f37feb0a1e0f6c03bcf3b71a6cc95ed8fb4430ab1339abce72850364251884d707acb6cbbed0143d930f8bb76310ca5951b779 SHA512 a0a0bcfceb28a4e363168711a3c2de8f6e94d7f12aa78ff40f157c247ea6a41646bd218a1defba2d128b131ed0ab71c4d417820a0af0adbaa215011b11f0a040
EBUILD calcurse-4.8.0-r1.ebuild 1061 BLAKE2B b004d683f1e131fc8dda1956bde6b6821dd1a0312476b7aa46bbd773797dc500f25e94a62ab120386d3536bf3b0d86e85728e8927d041700fd55c95b27d4acb9 SHA512 d3c088aa8ed0dc78ea08e24f307b8c744a72d8daf62b37493737865831668fb356b519d0175c3c84a6b00c27ee018b79d27946981c4c4ae8b7cc00bb7c3f11fb
+EBUILD calcurse-4.8.1-r1.ebuild 1054 BLAKE2B dc0ca1d53f20997f475b60d77e5d1dd269e39d9e1daec2c2858d8dedc6ebf24051243d6b811dbd4252a7bc3079de021edbc9a9658a021fafa1bfd82c3037374b SHA512 1f0e8e3e9e4894715d5e650c73e9ea31550e05191abcd9e0639a9ed51a625f5ac45998b74f582e425697f40719f1402d29f632065db5aee2c10deeb11b3fc3ed
EBUILD calcurse-4.8.1.ebuild 1063 BLAKE2B feca2d1e872f50d0e042a51970bde37eab337a3de960a6c58331876fc47d34506b2dcc14be41ef0ad6c113dd729cc411de3473ae8e2f61eef204022ac88235aa SHA512 27718c221d554853ec5831967c030bfcb209f1e1fda419777987835a43561d9250baa0f21bd4273528040a17cc205e16457034c3d0e8c9d3d2bd5b0d1aa3ddb1
MISC metadata.xml 876 BLAKE2B b99953f6a4226dddb885201957911e1df6105e5bcbb2f69bbf20d35ef275d4c2a59388534ff1fc960285b9df8e96a4c9ce49a1aba945eab275fb418ee764d98c SHA512 c02a99a6f9ceeb94eee3f58d285f97e3d31d1bfaab82c410b9b48d0c9462190e834df8e3a8d634f8474a3ff519f2189d01ab02d6c2383fad54a8f4e6bd19c229
diff --git a/app-office/calcurse/calcurse-4.8.1-r1.ebuild b/app-office/calcurse/calcurse-4.8.1-r1.ebuild
new file mode 100644
index 000000000000..0b35c3f066f2
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.8.1-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit 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 ~arm64 ~ppc ~ppc64 x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="caldav doc"
+
+RDEPEND="
+ sys-libs/ncurses:0=
+ sys-libs/timezone-data
+ ${PYTHON_DEPS}
+ caldav? (
+ $(python_gen_cond_dep '
+ dev-python/httplib2[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local myconf=(
+ $(use_enable doc docs)
+ --without-asciidoc # do not use AsciiDoc to regenerate docs
+ )
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+src_compile() {
+ default
+ if use caldav; then
+ python_fix_shebang contrib/caldav/calcurse-caldav
+ fi
+}
+
+src_install() {
+ docompress -x /usr/share/doc # decompress text files
+ default
+}