]> jturnerusa.dev Git - ebuilds/commitdiff
app-emacs/projectile: new ebuild for projectile
authorJohn Turner <jturner.usa+gentoo@gmail.com>
Tue, 7 Dec 2021 01:08:11 +0000 (20:08 -0500)
committerJohn Turner <jturner.usa+gentoo@gmail.com>
Tue, 7 Dec 2021 01:08:11 +0000 (20:08 -0500)
app-emacs/projectile/Manifest [new file with mode: 0644]
app-emacs/projectile/files/50projectile-gentoo.el [new file with mode: 0644]
app-emacs/projectile/metadata.xml [new file with mode: 0644]
app-emacs/projectile/projectile-2.5.0.ebuild [new file with mode: 0644]

diff --git a/app-emacs/projectile/Manifest b/app-emacs/projectile/Manifest
new file mode 100644 (file)
index 0000000..1a31170
--- /dev/null
@@ -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 (file)
index 0000000..d9cf199
--- /dev/null
@@ -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 (file)
index 0000000..c74f950
--- /dev/null
@@ -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>jturner.usa+gentoo@gmail.com</email>
+    <name>John Turner</name>
+  </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</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 (file)
index 0000000..6a9e19a
--- /dev/null
@@ -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
+}