commit:     971b4d67227a613394f776f95d22f8b7a4888565
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 18:00:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 24 18:11:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971b4d67

dev-python/cangjie: add 1.5.0

Depending on the new releases of the cangjie suite as some binaries
got renamed and wouldn't be surprised if other issues are there w/
mismatching too.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/cangjie/Manifest             |  1 +
 dev-python/cangjie/cangjie-1.5.0.ebuild | 49 +++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/cangjie/Manifest b/dev-python/cangjie/Manifest
index 323ea31781e0..8d38919de141 100644
--- a/dev-python/cangjie/Manifest
+++ b/dev-python/cangjie/Manifest
@@ -1 +1,2 @@
 DIST cangjie-1.3.tar.xz 237156 BLAKE2B 
a94f51df82136edddeeeecb729737a7be1cf4677c86df153ba86b436a404615156e6fe43d6efbb6ae602982763a4cd8ea09850882942a70a3a3737075bde0c01
 SHA512 
633b0040740105573fe72811c2f763756b67784330520ecadd5e0b24fc51e414f54a71f03444940f20c8a4943a14b65e2f1d18339696e2ea5cf659de8592df2a
+DIST pycangjie-1.5.0.tar.xz 26312 BLAKE2B 
deddb5fbcf9d1538ef77f420ad1f123af713e58fed1629242f8a861c8fd343c564e8e3ca99489d3ffcf0e9ca9cea1ceb78f669d1aa26a432a66a85dde7180495
 SHA512 
a68fd2cbfcdd6a240a1438e620152a39650580b953a6ffc2070bac02a6d5c0e6082e3c55b005ff2bf976415b4bb96e6ecbad207a91f72ecae7ebebfcddddcb91

diff --git a/dev-python/cangjie/cangjie-1.5.0.ebuild 
b/dev-python/cangjie/cangjie-1.5.0.ebuild
new file mode 100644
index 000000000000..d91fd71e2ac8
--- /dev/null
+++ b/dev-python/cangjie/cangjie-1.5.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit meson python-r1
+
+DESCRIPTION="Python wrapper for libcangjie"
+HOMEPAGE="https://cangjie.pages.freedesktop.org/projects/pycangjie/";
+SRC_URI="https://gitlab.freedesktop.org/cangjie/pycangjie/-/jobs/66354698/artifacts/raw/builddir/meson-dist/py${P}.tar.xz";
+S="${WORKDIR}"/py${P}
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       >=app-i18n/libcangjie-1.4.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       >=dev-build/meson-1.3.2
+       dev-python/cython[${PYTHON_USEDEP}]
+       virtual/pkgconfig
+"
+
+src_configure() {
+       python_foreach_impl run_in_build_dir meson_src_configure
+}
+
+src_compile() {
+       python_foreach_impl run_in_build_dir meson_src_compile
+}
+
+src_test() {
+       python_foreach_impl run_in_build_dir meson_src_test
+}
+
+src_install() {
+       python_install() {
+               meson_src_install
+               python_optimize
+       }
+       python_foreach_impl run_in_build_dir python_install
+       einstalldocs
+}

Reply via email to