diff options
Diffstat (limited to 'app-emacs/elpa-mirror')
-rw-r--r-- | app-emacs/elpa-mirror/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/elpa-mirror/elpa-mirror-2.2.2.ebuild | 31 | ||||
-rw-r--r-- | app-emacs/elpa-mirror/files/50elpa-mirror-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/elpa-mirror/metadata.xml | 13 |
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/elpa-mirror/Manifest b/app-emacs/elpa-mirror/Manifest new file mode 100644 index 000000000000..d1597e960c97 --- /dev/null +++ b/app-emacs/elpa-mirror/Manifest @@ -0,0 +1,4 @@ +AUX 50elpa-mirror-gentoo.el 153 BLAKE2B 7377238d4ecfa8d6474c396f2c69cc1843d245a261ae37086ee4a2993e5f240e9db7bf4f8ce7cb6311da64c5476124e2664ac4a1914494276b38495f54417c4f SHA512 fa6b49573a95fe40f971c2b5d5016337723c1d61cd645098c02bf46b602a3a7eb4e69e444f072cbfb446b230d89cd9e8a3da459bb8f4339e64fbcd1e11e96a40 +DIST elpa-mirror-2.2.2.tar.gz 9225 BLAKE2B 2f72fdb33384fc3b38db8b3b404b018b7e01989a410f30e7872c19e6b3b3eb8873c07c1751f7367d237c8117bbe548407dd0af7b301d2837a87aeccd3e704f5a SHA512 2927b40ea6f7ea0c6de6abf3367bdb2826021b7a70206611430f19ed4538814777980ede10946a6e0da258677de146f860467a2f88093491e34dce4279575042 +EBUILD elpa-mirror-2.2.2.ebuild 685 BLAKE2B 9e18ed4b778104de1d84878a363c98fbb144e45bb7547cb74a9cdaeb375786a067ef2a321c8a32ee26693f7df651419436f5341a71eca1ccdf88a890512247e1 SHA512 13083e1dbb15d622c25c44d29483f37893581d229a82349d1b27261693a729c59b259863cde2132b2e6b5f64f334325c15728941c17be818bd17244fb3182a6a +MISC metadata.xml 435 BLAKE2B 20404a933a51931bc5f403174ef7b838050144617a01c5476dcc1d48784517bea19fc6774185edce18e90984123c77575cebd7139b30be76d0c05b8d4b680685 SHA512 e58947474249fe88267490e9e00b261bd7454f6176ab1aa961bbb4ad894927d806564868ca58166fc13f384949efd661d4df1d5dbb6b7ad220fcb2990b189b6c diff --git a/app-emacs/elpa-mirror/elpa-mirror-2.2.2.ebuild b/app-emacs/elpa-mirror/elpa-mirror-2.2.2.ebuild new file mode 100644 index 000000000000..eaeb33c0fb7f --- /dev/null +++ b/app-emacs/elpa-mirror/elpa-mirror-2.2.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Create local package repository from installed Emacs Lisp packages" +HOMEPAGE="https://github.com/redguardtoo/elpa-mirror/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/redguardtoo/${PN}.git" +else + SRC_URI="https://github.com/redguardtoo/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +# Tests require network access. +PROPERTIES="test_network" +RESTRICT="test" + +DOCS=( README.org ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + emake EMACS="${EMACS}" test +} diff --git a/app-emacs/elpa-mirror/files/50elpa-mirror-gentoo.el b/app-emacs/elpa-mirror/files/50elpa-mirror-gentoo.el new file mode 100644 index 000000000000..fa406fe42af2 --- /dev/null +++ b/app-emacs/elpa-mirror/files/50elpa-mirror-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'elpamr-create-mirror-for-installed "elpa-mirror" + "Export installed packages into a new directory." t) diff --git a/app-emacs/elpa-mirror/metadata.xml b/app-emacs/elpa-mirror/metadata.xml new file mode 100644 index 000000000000..3bd3ebbdd830 --- /dev/null +++ b/app-emacs/elpa-mirror/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <upstream> + <bugs-to>https://github.com/redguardtoo/elpa-mirror/issues/</bugs-to> + <remote-id type="github">redguardtoo/elpa-mirror</remote-id> + </upstream> +</pkgmetadata> |