commit:     2692881d69e8aa549d9b8e26bcd5467b3d3a1bb0
Author:     John Turner <jturner.usa+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Dec  7 00:32:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec  8 02:46:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2692881d

app-emacs/projectile: initial import

Signed-off-by: John Turner <jturner.usa+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23206
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emacs/projectile/Manifest                     |  1 +
 app-emacs/projectile/files/50projectile-gentoo.el |  2 ++
 app-emacs/projectile/metadata.xml                 | 16 +++++++++++++++
 app-emacs/projectile/projectile-2.5.0.ebuild      | 25 +++++++++++++++++++++++
 4 files changed, 44 insertions(+)

diff --git a/app-emacs/projectile/Manifest b/app-emacs/projectile/Manifest
new file mode 100644
index 000000000000..1a31170312ff
--- /dev/null
+++ b/app-emacs/projectile/Manifest
@@ -0,0 +1 @@
+DIST projectile-2.5.0.tar.gz 1915860 BLAKE2B 
4d215e2c1e44c7f85121fc36445112f3064129fe95866b4fbb2e14b11d31519057d9cc69bcdf44c82cd516768cc73a031da48a7c5352b9825816db54810cafcb
 SHA512 
3faeb7db70e5e2198ad307c1d5d24a5fadd207765387e7094691e40071411506e6df690995f923bf246b7176173ca41882d369276862b631d7436747bfeae3a3

diff --git a/app-emacs/projectile/files/50projectile-gentoo.el 
b/app-emacs/projectile/files/50projectile-gentoo.el
new file mode 100644
index 000000000000..05c734668e49
--- /dev/null
+++ b/app-emacs/projectile/files/50projectile-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/projectile-autoload.el")

diff --git a/app-emacs/projectile/metadata.xml 
b/app-emacs/projectile/metadata.xml
new file mode 100644
index 000000000000..c74f950ffe52
--- /dev/null
+++ b/app-emacs/projectile/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="person" proxied="yes">
+    <email>[email protected]</email>
+    <name>John Turner</name>
+  </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>[email protected]</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">bbatsov/projectile</remote-id>
+    <doc>https://github.com/bbatsov/projectile/blob/master/README.md</doc>
+  </upstream>
+</pkgmetadata>

diff --git a/app-emacs/projectile/projectile-2.5.0.ebuild 
b/app-emacs/projectile/projectile-2.5.0.ebuild
new file mode 100644
index 000000000000..6a9e19ad606d
--- /dev/null
+++ b/app-emacs/projectile/projectile-2.5.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="25.1"
+
+inherit elisp
+
+DESCRIPTION="A project interaction library for Emacs"
+HOMEPAGE="https://docs.projectile.mx";
+SRC_URI="https://github.com/bbatsov/projectile/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+SITEFILE="50projectile-gentoo.el"
+DOCS=( README.md )
+RESTRICT="test" # tests require buttercup which is not packaged
+
+src_install() {
+       elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/
+       elisp_src_install
+}

Reply via email to