summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-10 14:34:47 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-10 14:34:47 +0100
commitb5e29107e611baebfaae4c80732062262a8b56e8 (patch)
tree16e1c524a8dc3567577c1bcb0c6329c1cf61f389 /app-emacs/emacs-el-fetch
parentapp-emacs/emacs-openrc: bump to 1.0.0 (diff)
downloadgentoo-b5e29107e611baebfaae4c80732062262a8b56e8.tar.gz
gentoo-b5e29107e611baebfaae4c80732062262a8b56e8.tar.bz2
gentoo-b5e29107e611baebfaae4c80732062262a8b56e8.zip
app-emacs/emacs-el-fetch: bump to 3.3.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/emacs-el-fetch')
-rw-r--r--app-emacs/emacs-el-fetch/Manifest1
-rw-r--r--app-emacs/emacs-el-fetch/emacs-el-fetch-3.3.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-emacs/emacs-el-fetch/Manifest b/app-emacs/emacs-el-fetch/Manifest
index cf940a518fac..b86561d1e642 100644
--- a/app-emacs/emacs-el-fetch/Manifest
+++ b/app-emacs/emacs-el-fetch/Manifest
@@ -1 +1,2 @@
DIST emacs-el-fetch-3.2.1.tar.bz2 18093 BLAKE2B b09d9bb77834f77597e92115f5055b0f17fa466ec695b5e8855cbc445ae2fda00f9a951a8b45b43e12eaf0846b7e2e3533091e9b2a879b2220edaeb40050029d SHA512 c46713d1d51c55715d7ffc165d89b5ae56a7f93aea894111da24547d02ed0c8cf3bc9c2deaa5a9a762ac5d699a6558b6215c55c207413d25bbfe52624ba86148
+DIST emacs-el-fetch-3.3.0.tar.bz2 18166 BLAKE2B b55001eebc706954cf017cc56ed4d16a9f7309d36103d1bce94458ea8bdcb7a301201ff50f11d2f1b515ea63469ed8be00e4755dc8b1f9713158aa18a0788383 SHA512 7df309f4432b6490552654e4e68e1c01cf6c158a9759057421c879ce46b15a55092c3c17cd5d130c9de5425f6294ab5402c7684c2125c5f959e6a0973fcdcc64
diff --git a/app-emacs/emacs-el-fetch/emacs-el-fetch-3.3.0.ebuild b/app-emacs/emacs-el-fetch/emacs-el-fetch-3.3.0.ebuild
new file mode 100644
index 000000000000..c7e8c1954775
--- /dev/null
+++ b/app-emacs/emacs-el-fetch/emacs-el-fetch-3.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Show system information in Neofetch-like style inside Emacs"
+HOMEPAGE="https://gitlab.com/xgqt/emacs-el-fetch/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/xgqt/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( app-emacs/buttercup )"
+
+src_compile() {
+ emake compile
+}
+
+src_install() {
+ einstalldocs
+ elisp-install ${PN} "${S}"/src/el-fetch/*.el{,c}
+ elisp-site-file-install "${S}"/extras/gentoo/50el-fetch-gentoo.el
+}