commit: a08b91c39bd84c6b76c27d2de47e8db47bc257d5
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 14:29:58 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 14:34:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a08b91c3
dev-db/sqlcmd: make DOCS local to avoid variable pollution
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
dev-db/sqlcmd/sqlcmd-1.7.0.ebuild | 11 +++++------
dev-db/sqlcmd/sqlcmd-1.8.0.ebuild | 11 ++++++-----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild
b/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild
index e4c60d445..ddc5c2180 100644
--- a/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild
+++ b/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,11 +19,6 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-DOCS=(
- "README.md"
- "SECURITY.md"
-)
-
src_compile() {
ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern
}
@@ -39,5 +34,9 @@ src_install() {
dofishcomp "completions/${PN}.fish"
dozshcomp "completions/_${PN}"
+ local DOCS=(
+ "README.md"
+ "SECURITY.md"
+ )
einstalldocs
}
diff --git a/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild
b/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild
index d6c9071a8..af122c844 100644
--- a/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild
+++ b/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,9 +34,10 @@ src_install() {
dofishcomp "completions/${PN}.fish"
dozshcomp "completions/_${PN}"
-DOCS=(
- "README.md"
- "SECURITY.md"
-)
+ local DOCS=(
+ "README.md"
+ "SECURITY.md"
+ )
+
einstalldocs
}