commit:     0bbf0b6b62190421ecf524686a1986b98dc0a959
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 15:11:39 2023 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 15:30:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bbf0b6b

dev-libs/tree-sitter: adjust upstream version mismatch in QA_PKGCONFIG_VERSION

- Upstream tried to fix previous version mismatch, with "0.6.3" instead
  of real version, but ocasionally messed up with number again.
  Let's keep an eye on it and hope they'll be luck on next release.

- Also this fixes indentation in src_install (removed redundant spaces)

Closes: https://bugs.gentoo.org/903866
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>

 dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild 
b/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
index 9ced4782ca5c..689bc0e731a3 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
@@ -20,8 +20,13 @@ SLOT="0"
 
 PATCHES=( "${FILESDIR}/${PN}-No-static-libs-gentoo.patch" )
 
-# see Makefile:1
-QA_PKGCONFIG_VERSION="0.6.3"
+# see Makefile:1
+QA_PKGCONFIG_VERSION="0.20.9"
+
+# XXX: Please, don't forget to check this on next version bump.
+# And, maybe remove as non-needed, if version in Makefile will
+# match the release.
+# ref: https://github.com/tree-sitter/tree-sitter/issues/2210
 
 src_prepare() {
        default
@@ -36,9 +41,9 @@ src_compile() {
 
 src_install() {
        emake DESTDIR="${D}" \
-                 PREFIX="${EPREFIX}/usr" \
-                 LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
-                 install
+               PREFIX="${EPREFIX}/usr" \
+               LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+               install
 }
 
 pkg_postinst() {

Reply via email to