commit: b59fd9cb9056c08444ecb96bf5cf09bbde27e741
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 11 23:00:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 19:10:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59fd9cb
dev-db/sqlite: microoptimize
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/sqlite/sqlite-3.41.2-r1.ebuild | 4 ++--
dev-db/sqlite/sqlite-3.42.0.ebuild | 4 ++--
dev-db/sqlite/sqlite-9999.ebuild | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
b/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
index b123ebe2b644..c7a72617f114 100644
--- a/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
+++ b/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}"/${PN}
PROPERTIES="live"
else
- SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
+ printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
DOC_PV="${SRC_PV}"
- #DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
+ #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
SRC_URI="
https://sqlite.org/2023/${PN}-src-${SRC_PV}.zip
diff --git a/dev-db/sqlite/sqlite-3.42.0.ebuild
b/dev-db/sqlite/sqlite-3.42.0.ebuild
index 8e4f233695fa..e6a1a94de643 100644
--- a/dev-db/sqlite/sqlite-3.42.0.ebuild
+++ b/dev-db/sqlite/sqlite-3.42.0.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}"/${PN}
PROPERTIES="live"
else
- SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
+ printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
DOC_PV="${SRC_PV}"
- #DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
+ #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
SRC_URI="
https://sqlite.org/2023/${PN}-src-${SRC_PV}.zip
diff --git a/dev-db/sqlite/sqlite-9999.ebuild b/dev-db/sqlite/sqlite-9999.ebuild
index 2595b6ad1b89..1075e742ae8f 100644
--- a/dev-db/sqlite/sqlite-9999.ebuild
+++ b/dev-db/sqlite/sqlite-9999.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}"/${PN}
PROPERTIES="live"
else
- SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
+ printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
DOC_PV="${SRC_PV}"
- #DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
+ #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
SRC_URI="
https://sqlite.org/2022/${PN}-src-${SRC_PV}.zip