mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
app-emacs/emacsql: drop old 4.2.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST emacsql-4.2.0.tar.gz 32330 BLAKE2B d52ce56b1cfee6ab570efcfbe79ee6001f925637d36214471a842089cb741bc71c2ce1f2afadfab0d88fc585d0d601f7ff44ed535dcd71f117e21339794bfe74 SHA512 7a60e7524d5d939ea18e9dd00d372420b79efb6d26aa6403427c51c19be0a3526bba3054cf5b73a0ff1d54100dcdf5eb3e4330a2b90b175cffa8cedb05366ae5
|
||||
DIST emacsql-4.3.0.tar.gz 31823 BLAKE2B efe6b21e5e39eacdf80bcfc8e920366e227f127dcd5f7060c9b0f8ca34a2fbc0887d6c700607813cc631da1487114d7b14864d779a8a8bde7de2e03a99324305 SHA512 a8cbe557d05c9d1dd7d54e0feb602e658fa426e7abab084bf286e42365479e11101ef4bfdfeb29760fe1f2d01a957d6d5408052694dea690033fc26b52d5528f
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=26.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
|
||||
HOMEPAGE="https://github.com/magit/emacsql"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/magit/${PN}.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/magit/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
|
||||
IUSE="postgres mysql"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
postgres? (
|
||||
dev-db/postgresql
|
||||
)
|
||||
mysql? (
|
||||
virtual/mysql
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Not packaged.
|
||||
rm emacsql-pg.el || die
|
||||
|
||||
local -A backends=(
|
||||
[postgres]=psql
|
||||
[mysql]=mysql
|
||||
)
|
||||
|
||||
for useflag in "${!backends[@]}"; do
|
||||
if ! use "${useflag}"; then
|
||||
rm emacsql-"${backends[${useflag}]}".el || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user