summaryrefslogtreecommitdiff
path: root/app-emacs/ht
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/ht')
-rw-r--r--app-emacs/ht/Manifest1
-rw-r--r--app-emacs/ht/files/50ht-gentoo.el1
-rw-r--r--app-emacs/ht/ht-2.3.ebuild22
3 files changed, 24 insertions, 0 deletions
diff --git a/app-emacs/ht/Manifest b/app-emacs/ht/Manifest
new file mode 100644
index 0000000..08d6fee
--- /dev/null
+++ b/app-emacs/ht/Manifest
@@ -0,0 +1 @@
+DIST ht-2.3.tar.gz 8890 BLAKE2B 661163b22e4910ebf0116c22e8a3972def74bc88b467cd70118174ce6bf07cd225007bea9859c8379a46389088792fbbb9985ccf8da89c04c1ad556b3b99cccc SHA512 c66ef8c05a6b164728f1d61e7d4298a5f30545fb57a90dd7ff0d382be2ef083da8a60bfbf2da225e670bf25b98d938afa1c8ac7e5cd1dbd8486d7981ab31c7a2
diff --git a/app-emacs/ht/files/50ht-gentoo.el b/app-emacs/ht/files/50ht-gentoo.el
new file mode 100644
index 0000000..431f7e9
--- /dev/null
+++ b/app-emacs/ht/files/50ht-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/ht/ht-2.3.ebuild b/app-emacs/ht/ht-2.3.ebuild
new file mode 100644
index 0000000..88ababf
--- /dev/null
+++ b/app-emacs/ht/ht-2.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="The missing hash table library for Emacs."
+HOMEPAGE="https://github.com/Wilfred/ht.el"
+SRC_URI="https://github.com/Wilfred/ht.el/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}.el-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # test requires cask and ert-runner which are not packaged yet
+
+RDEPEND=">=app-emacs/dash-2.12.0"
+DEPEND="${RDEPEND}"
+
+SITEFILE="50ht-gentoo.el"
+DOCS=( README.md CHANGELOG.md )