summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/repology/Manifest1
-rw-r--r--app-emacs/repology/files/50repology-gentoo.el2
-rw-r--r--app-emacs/repology/metadata.xml16
-rw-r--r--app-emacs/repology/repology-1.2.3.ebuild26
4 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/repology/Manifest b/app-emacs/repology/Manifest
new file mode 100644
index 000000000000..1456bbef739d
--- /dev/null
+++ b/app-emacs/repology/Manifest
@@ -0,0 +1 @@
+DIST repology-1.2.3.tar.xz 18632 BLAKE2B 952398f43cc20120b30f692d1aee9b7ebeefa9d7d655bbbb1ff059a728816d4091bb754674dd145517c4d29a208d486327eb7e9987750155708425061bf09292 SHA512 2773b03237d7cd5615bf3c081b8dd20a683c94fffe8ac710713c9185f11e490c7f782d3bc41f318ef33614d760cbb2896a19cd69b3f37352542200fa0e2a4e74
diff --git a/app-emacs/repology/files/50repology-gentoo.el b/app-emacs/repology/files/50repology-gentoo.el
new file mode 100644
index 000000000000..273b33e72922
--- /dev/null
+++ b/app-emacs/repology/files/50repology-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "repology-autoloads" nil t)
diff --git a/app-emacs/repology/metadata.xml b/app-emacs/repology/metadata.xml
new file mode 100644
index 000000000000..13f32c8c0e47
--- /dev/null
+++ b/app-emacs/repology/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ <longdescription>
+ This package provides tools to query Repology API, process results, and
+ display them. The results of a query revolve around three types of objects:
+ projects, packages and problems. Using this library, you can find projects
+ matching certain criteria, packages in a given project, and possible
+ problems in some repository.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-emacs/repology/repology-1.2.3.ebuild b/app-emacs/repology/repology-1.2.3.ebuild
new file mode 100644
index 000000000000..9702d3439d24
--- /dev/null
+++ b/app-emacs/repology/repology-1.2.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=26.1
+
+inherit elisp
+
+DESCRIPTION="Repology API access via Emacs Lisp"
+HOMEPAGE="https://elpa.gnu.org/packages/repology.html"
+SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+ELISP_REMOVE="${PN}-pkg.el"
+SITEFILE="50${PN}-gentoo.el"
+
+elisp-enable-tests ert "${S}" -l ${PN}-tests.el
+
+src_compile() {
+ elisp_src_compile
+ elisp-make-autoload-file
+}