summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-01-27 21:28:20 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-01-27 22:26:10 +0100
commit75d6bab1d51daf28df21a095ccba4009cca7937d (patch)
tree42a783a2f61e29661b5fcf487d205401aea77b9d /app-emacs
parentapp-emacs/eldev: bump to 1.8.2 (diff)
downloadgentoo-75d6bab1d51daf28df21a095ccba4009cca7937d.tar.gz
gentoo-75d6bab1d51daf28df21a095ccba4009cca7937d.tar.bz2
gentoo-75d6bab1d51daf28df21a095ccba4009cca7937d.zip
app-emacs/no-littering: new package; add 1.5.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/no-littering/Manifest1
-rw-r--r--app-emacs/no-littering/metadata.xml26
-rw-r--r--app-emacs/no-littering/no-littering-1.5.0.ebuild33
3 files changed, 60 insertions, 0 deletions
diff --git a/app-emacs/no-littering/Manifest b/app-emacs/no-littering/Manifest
new file mode 100644
index 000000000000..0cf6a4aabc17
--- /dev/null
+++ b/app-emacs/no-littering/Manifest
@@ -0,0 +1 @@
+DIST no-littering-1.5.0.tar.gz 25036 BLAKE2B af09461841e178944810f796049693ba191a6ee5197487741826285a1a8d4e3e22e425f27528f6c1ffa986203fd4151fe9d91d3b9882e5304c92ddfe721db205 SHA512 e9a0141429fbeee90aacd9bda9ce59c3077380d0f508ac39286520561f70238609dc5eb682ac7449af1313aa186c52ffe05b2c3c33ffced4347beaa216b957ac
diff --git a/app-emacs/no-littering/metadata.xml b/app-emacs/no-littering/metadata.xml
new file mode 100644
index 000000000000..903a899d5533
--- /dev/null
+++ b/app-emacs/no-littering/metadata.xml
@@ -0,0 +1,26 @@
+<?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>
+ Some packages put files directly in user-emacs-directory or $HOME or in a
+ subdirectory of either of the two or elsewhere. Furthermore sometimes file
+ names are used that don’t provide any insight into what package might have
+ created them. This package sets out to fix this by changing the values of
+ path variables to put configuration files in no-littering-etc-directory
+ (defaulting to “etc/” under user-emacs-directory, thus usually
+ “$HOME/.config/emacs/etc/”) and persistent data files in
+ no-littering-var-directory (defaulting to “var/” under
+ user-emacs-directory, thus usually “$HOME/.config/emacs/var/”), and by
+ using descriptive file names and subdirectories when appropriate.
+ </longdescription>
+ <stabilize-allarches />
+ <upstream>
+ <bugs-to>https://github.com/emacscollective/no-littering/</bugs-to>
+ <remote-id type="github">emacscollective/no-littering</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/no-littering/no-littering-1.5.0.ebuild b/app-emacs/no-littering/no-littering-1.5.0.ebuild
new file mode 100644
index 000000000000..604af65ad8d7
--- /dev/null
+++ b/app-emacs/no-littering/no-littering-1.5.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="ELisp library that helps keeping Emacs configuration directory clean"
+HOMEPAGE="https://github.com/emacscollective/no-littering/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/emacscollective/${PN}.git"
+else
+ SRC_URI="https://github.com/emacscollective/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ app-emacs/compat
+"
+BDEPEND="
+ ${RDEPEND}
+"
+
+DOCS=( README.org migrate.org )
+SITEFILE="50${PN}-gentoo.el"