dev-libs/libdatrie: add 0.2.14, drop 0.2.13-r2

Closes: https://bugs.gentoo.org/932264
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2025-12-13 14:30:02 +08:00
parent bdb8dbca21
commit 84526dd48f
4 changed files with 11 additions and 32 deletions

View File

@@ -1 +1 @@
DIST libdatrie-0.2.13.tar.gz 109963 BLAKE2B e4314a8ba78067963fdc3dc948238fda2ef4b1692fb4c5213ad4f1d082d0393bccc2c15d686e7e06d2d264c56e93048461e481e0807c4996d5d395e2ed6f58d4 SHA512 38f5a3ee1f3ca0f0601a5fcfeec3892cb34857d4b4720b8e018ca1beb6520c4c10af3bd2f0e4d64367cb256e8e2bca4d0a59b1c81fb36782613d2c258b64df59
DIST libdatrie-0.2.14.tar.xz 325696 BLAKE2B 2d5036d360df09293d61f8233a737b80f41526c7f3d9a49a724817751ca0a3445fb161bdd86678d54d910053516dbe391d506eae166c9f3034a750a6928af3f7 SHA512 c5df387a1c9b5fae65eff69102651f4f054d873194d97faa8e329282353156fa4fb41a1ea771b24ade3f0ad2a548d85d7950a4aa6ed4e5c356bc504720e792d1

View File

@@ -1,26 +0,0 @@
From 2d8744283f0a8055ccd3c8d26be04bbce22a0870 Mon Sep 17 00:00:00 2001
From: Theppitak Karoonboonyanan <theppitak@gmail.com>
Date: Thu, 15 May 2025 17:13:36 +0700
Subject: [PATCH] Fix "make --shuffle=reverse" failure.
See Debian #1105545 for the report.
* tools/Makefile.am:
- Make sure $(bindir) exists before installing old program
symlink.
---
tools/Makefile.am | 1 +
1 files changed, 1 insertions(+)
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 992530bc..6bdb8274 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -10,6 +10,7 @@ trietool_LDADD = \
OLD_PROG_NAME=trietool-0.2
install-data-hook:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
rm -f $(DESTDIR)$(bindir)/$(OLD_PROG_NAME)
$(LN_S) trietool $(DESTDIR)$(bindir)/$(OLD_PROG_NAME)

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
else
SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/tlwg/${PN}/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
@@ -22,8 +22,6 @@ IUSE="doc"
BDEPEND="doc? ( app-text/doxygen )"
PATCHES=( "${FILESDIR}/${P}-fix-bindir-exists.patch" )
src_prepare() {
default
# Fixed version if in non git project

View File

@@ -9,7 +9,7 @@
<remote-id type="github">tlwg/libdatrie</remote-id>
</upstream>
<longdescription lang="en">
This is an implementation of double-array structure for representing trie,
This is an implementation of double-array structure for representing trie,
as proposed by Junichi Aoe.
Trie is a kind of digital search tree, an efficient indexing method in which
search time is independent of database size. It only takes O(m) search time,
@@ -18,4 +18,11 @@
manipulation. This makes it ideal for lexical analyzers, as well as spelling
dictionaries.
</longdescription>
<longdescription lang="zh">
这是由 Junichi Aoe 提出的用于表示 Trie字典树的双数组结构实现。
Trie 是一种数字搜索树,是一种高效的索引方法,其搜索时间与数据库大小无关。
它只需要 O(m) 的搜索时间,其中 m 是搜索字符串的长度。与哈希一样高效的同时,
Trie 还提供了增量匹配和键拼写操作的灵活性。这使其非常适合用于词法分析器和
拼写词典。
</longdescription>
</pkgmetadata>