summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/ht/Manifest1
-rw-r--r--app-emacs/ht/files/50ht-gentoo.el4
-rw-r--r--app-emacs/ht/ht-2.3.ebuild28
-rw-r--r--app-emacs/ht/metadata.xml12
4 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/ht/Manifest b/app-emacs/ht/Manifest
new file mode 100644
index 000000000000..08d6fee7e9e9
--- /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 000000000000..27c5fc4bb404
--- /dev/null
+++ b/app-emacs/ht/files/50ht-gentoo.el
@@ -0,0 +1,4 @@
+;;; ht site-lisp configuration
+
+(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 000000000000..2b56bec9cad3
--- /dev/null
+++ b/app-emacs/ht/ht-2.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="The missing hash table library for Emacs"
+HOMEPAGE="https://github.com/Wilfred/ht.el"
+SRC_URI="https://github.com/Wilfred/ht.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+DOCS="CHANGELOG.md README.md"
+
+SITEFILE="50${PN}-gentoo.el"
+
+RDEPEND="
+ >=app-emacs/dash-2.12.0
+"
+DEPEND=${RDEPEND}
+
+S="${WORKDIR}/ht.el-${PV}"
+
+# Requires unpackaged dependencies, e.g. Cask
+RESTRICT="test"
diff --git a/app-emacs/ht/metadata.xml b/app-emacs/ht/metadata.xml
new file mode 100644
index 000000000000..295f15c6108f
--- /dev/null
+++ b/app-emacs/ht/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<stabilize-allarches/>
+<upstream>
+ <remote-id type="github">Wilfred/ht.el</remote-id>
+</upstream>
+</pkgmetadata>