diff options
Diffstat (limited to 'app-i18n/opencc')
-rw-r--r-- | app-i18n/opencc/Manifest | 14 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-1.0.5.ebuild | 4 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-1.0.6.ebuild | 4 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-1.1.0.ebuild | 4 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-1.1.1.ebuild | 4 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-1.1.2.ebuild | 6 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-1.1.3.ebuild | 69 | ||||
-rw-r--r-- | app-i18n/opencc/opencc-9999.ebuild | 6 |
8 files changed, 91 insertions, 20 deletions
diff --git a/app-i18n/opencc/Manifest b/app-i18n/opencc/Manifest index 2499235eb4cd..dff68a7261cb 100644 --- a/app-i18n/opencc/Manifest +++ b/app-i18n/opencc/Manifest @@ -7,10 +7,12 @@ DIST opencc-1.0.6.tar.gz 1621561 BLAKE2B d58ee0e04e133fbf6a7632788bcaf0f7891bb74 DIST opencc-1.1.0.tar.gz 2209140 BLAKE2B 71cc659976cf30ac0d7dd52cdfa644a85e4e38fed081176bb2f2da2702203c0faeddf76818c8cc89a5fe2a2cfe3eee85fcb27010766db461817b204403cc9b46 SHA512 c5d95e84e0c8edf600f441b79431f721e721b1028619170e27fbc762da32c9ef99c9d28c2c5eaf34226d23a24e2fe5e494cedb28f1182acb06f94b72d7cbb52c DIST opencc-1.1.1.tar.gz 2212256 BLAKE2B 0299023f4c950ebedc0a7bc4ca142fbf737c612aca5c8cba8787bebcf2ac8afcacb056b015fbc151136166f679a4551fc5d6bbc0481b930331228ea7484fbe68 SHA512 48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363 DIST opencc-1.1.2.tar.gz 2804665 BLAKE2B 9b8be92cfdc2f565c9dc27745724c739e674239f2e3925a1ccdfcbf83e0d1857430d72e91a064c09456e69c00d79e47179801b21a4c7c6fd5dc6d0d16f1bcb98 SHA512 56c84bc472b39eb0b23bac6df5aada2c2ed5fd2fbe653c1ae89d392ec0b74741a15de93c748883ec3c0779396e790a1197f6e3b267b524f111459d45daeb5d4b -EBUILD opencc-1.0.5.ebuild 1380 BLAKE2B 8ab9c830656672341c4c8752a5785585719794e8a0413c9f0cccdbc43331a3358f769427d70daa7bde7551abed293fd42eff12a5cf47c08b5bd98e34df3af938 SHA512 6eae458b2987825cf6a38b69a8aad9a062f89358c47a297a29327f6f96ded31d22c0ba45d8e20ebdcea9ec0f185b381d764a0730dbd52350f1c7d7da4b88086a -EBUILD opencc-1.0.6.ebuild 1354 BLAKE2B 948b8d384e4f9af810005a1e44209def5977ebcee6b0ebaeb208b39790f91aa821f63a79c725999a785fdd197fceabf6372bce1f05de4512fb74719aa4fbed88 SHA512 e2537586767a47fbbb22101e9ba22ef45742381fd9f6845b09804bb723407a5578cec62601fae79c4a463bcab339e9adce99179507290c6d67546fa999e873e6 -EBUILD opencc-1.1.0.ebuild 1402 BLAKE2B 56e77f6bb4902bcc6cd6bf1659edcd6f18fdc85566bc22518989670d8f2b2463111cbcce240822bdf2482b413943e67482b7c9d5e11daf5fa6e64deb1f82ea33 SHA512 d83319b58fcf9d05c91c45765afe8856c58784d3bb981dd4ea9cf7b7068dec40d6ddff3bc5619b542ae37d91980f1c2f8a4a23d8fd326558c20718e76fd1f22e -EBUILD opencc-1.1.1.ebuild 1734 BLAKE2B 922fad745e8ae2e058745d015691af86a756ad2d8dbdce509d6f6e8a227acc15cf499066b72b644c36836e9afd219af0972e6d3699003dac04b554b209b3a44c SHA512 a5e721743864204fb4c6f3c866333f44869e527251e8083fee5c04d32330a9dafc567a6db37fd04b8911fb4a5680c0b534dff74a627aacb630ede1c8c500a79a -EBUILD opencc-1.1.2.ebuild 1777 BLAKE2B 390a22708311237b3237ab0cf5755c43d589b4b8a4e7a440bc965c6d84aa45fe5b68e59d204c83af790788b4c94124c59387594c0eb80a831cf634a4b0f03779 SHA512 0153904f97a43c5a440f13a1ae2935600d99bfd4a5587dd97ab945c7b2b67eaa4bdcc8138571824785e7402bc1d3b782e089af1fd5a87331f666f4656128e9f6 -EBUILD opencc-9999.ebuild 1535 BLAKE2B c28ffe1567ffeacfca976ba75b2b908cf262f7596df453427b3e1ca9e8662cf22b3842bad2a7a8799244ecedbfd9e3d809f5add4ee720993cec6961aa890a4cd SHA512 31270fd23ea40983a4559bca08e7179064a958f7e6115be1daf20e715189245d95934c7d11dc4ea63e046f20a9985ffde1258d8ad88b7afd234bbea117c1bae0 +DIST opencc-1.1.3.tar.gz 2805430 BLAKE2B 060ca820676a92ddfddc362488031e1ada538626a1fbeb8d178a0ef059b99f606cb0f1151857579221942183820bf34c6f96517d13d4ae8dc3f81846537b668d SHA512 90da656fa4790c58932ad2240a076cc4a9e8cf70ac73d83e0d299e84472deb6491a823966a7686ed1487ef8405909981b9a12b661d8de7f086bd4b498594abac +EBUILD opencc-1.0.5.ebuild 1377 BLAKE2B 4d38a897f7d9d42be4c9e84bc33342deea38b9cdbd617fc70bde26e3e172c9a8ab27c46547c94d734951b353c9b8a9b506acd25a3c8b14a6ab0dce804256b313 SHA512 5fa0e68dea35abc4c8c5caa567e04c7de16ce705cf1e965cce417d43f8981b29d9d87673c05942406e98f6ada609908a2ba89df8659bc3e9e513de1c3b089fbe +EBUILD opencc-1.0.6.ebuild 1351 BLAKE2B 0e73854d7d5a8123e7c3c4747c706bf46fb2bfb9307d2ccab16c91115f50fafd428a8d7d2e5cfd2263ccef56ee77d231753422042973044b183248ed4361f930 SHA512 d8e4afd560fa281dae57d9aa6ec3afb2d2df319d1270953122f6b4af45d73aca810458aa2eab1b55febb55da7523d0774d08850a9fbd108501467ad0e46015e7 +EBUILD opencc-1.1.0.ebuild 1399 BLAKE2B 3a62cfec833e66c6c7cc7d019d7c08a9ca8b7db380f6ad9f138901341e3a5d5bedf1f3336c69f93ce83da02e701642096b62a02264f9759dcb81fd7c821815d6 SHA512 4a026f2f46f36d6f0bbcae8199ab2e8722b90ac3d42dd0d6f40a2d931c43f3230ae705f18955abc31824e319d668a01300e14360943a7216aea8146d7909452a +EBUILD opencc-1.1.1.ebuild 1731 BLAKE2B 8d4036ca8188734c9ea26d102367aa2a0fe5f8872af458cc77bf2a311724cf53e333721d8f4082443e1edb87b7f0f6429fc6e9ecd1cb777645e747a273b47ba0 SHA512 771469ced34516e39cc7ddd902135d8ed2f6cf5821deb0999a102ad8a7b981819827385cebd3d64f5a1bccf254e990df256f4131a37382c1b8ba38e6b1fcc961 +EBUILD opencc-1.1.2.ebuild 1774 BLAKE2B 51d415dcd35c310b01f518afe4feebb73061cadfebd42b33458353446a894cf7c432afff6f7135c9381ae88314cd981b7335afe0bca81b329d80fa132a75cec8 SHA512 f1746220dbc95041be12f30e34ac439b6e0d7fb9f5c217337112e3592d7521807e39ea77c19224399e1296795dfb9cdebaf01902e76d37af531448063aaafd62 +EBUILD opencc-1.1.3.ebuild 1583 BLAKE2B 40e5f836ec791fd8cc1974671b7a88e6c7ecb5fcd7eba6beb140bf16d09e8f9522207c57bad4798f5c91cfdcae22c208d6bf36a4495fd13a8f8ac6f1ef4bf5bd SHA512 b96738785f54359cefd5f525acbaa7ef6f6a5032edaa1e974d547530b9cd6ca8b81682770be7f48aed5dcb9ad4ffc4488dd10e9e6731a99a7df36c27bf22e15f +EBUILD opencc-9999.ebuild 1533 BLAKE2B 7af70265939b180ea374cdf1f94160257c9bd3ba4c1f26eb70e1a2663e102466d0300ada0008aa29bf8788f1656d8b63475dcfbbb6ef89925b1ef671ff942a2e SHA512 a73dfa1a151602462a0406925963102224874bcff1eebfc277b461d0910310a69dff10ff0c9e5ce0bc5f0acf00f2bd7b9fc293090fbe00cc78c4c67d1e870b27 MISC metadata.xml 624 BLAKE2B 0fc3325d54820e80e6800c408c9590b0ad55587f94f1cde371c1c2f5396eb650dc53e3d568eeab3e92739c5db142e698119dea51ccacaaed106765d03db9242c SHA512 562f4b08443ed1a7e9ff97b412d5e050ebb6d9e89cd6609302fdaa903cacd5a031f12360c7cbc2504b027b08d3690a119568760621cfeea0294916366bf5261c diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild index f512433eb485..3fcb5271474d 100644 --- a/app-i18n/opencc/opencc-1.0.5.ebuild +++ b/app-i18n/opencc/opencc-1.0.5.ebuild @@ -1,8 +1,8 @@ -# Copyright 2010-2020 Gentoo Authors +# Copyright 2010-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=(python{3_7,3_8,3_9}) +PYTHON_COMPAT=( python3_{8..9} ) inherit cmake python-any-r1 diff --git a/app-i18n/opencc/opencc-1.0.6.ebuild b/app-i18n/opencc/opencc-1.0.6.ebuild index 70b4f7a65c7b..c2e8f4fe0450 100644 --- a/app-i18n/opencc/opencc-1.0.6.ebuild +++ b/app-i18n/opencc/opencc-1.0.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 2010-2020 Gentoo Authors +# Copyright 2010-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=(python{3_7,3_8,3_9}) +PYTHON_COMPAT=( python3_{8..9} ) inherit cmake python-any-r1 diff --git a/app-i18n/opencc/opencc-1.1.0.ebuild b/app-i18n/opencc/opencc-1.1.0.ebuild index 0870f67310e8..4d79dde3f84c 100644 --- a/app-i18n/opencc/opencc-1.1.0.ebuild +++ b/app-i18n/opencc/opencc-1.1.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 2010-2020 Gentoo Authors +# Copyright 2010-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=(python{3_7,3_8,3_9}) +PYTHON_COMPAT=( python3_{8..9} ) inherit cmake python-any-r1 diff --git a/app-i18n/opencc/opencc-1.1.1.ebuild b/app-i18n/opencc/opencc-1.1.1.ebuild index 049871a65815..01e3919f675b 100644 --- a/app-i18n/opencc/opencc-1.1.1.ebuild +++ b/app-i18n/opencc/opencc-1.1.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 2010-2021 Gentoo Authors +# Copyright 2010-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=(python{3_7,3_8,3_9}) +PYTHON_COMPAT=( python3_{8..9} ) inherit cmake python-any-r1 diff --git a/app-i18n/opencc/opencc-1.1.2.ebuild b/app-i18n/opencc/opencc-1.1.2.ebuild index 7a09d8d7becb..0f250ab5c041 100644 --- a/app-i18n/opencc/opencc-1.1.2.ebuild +++ b/app-i18n/opencc/opencc-1.1.2.ebuild @@ -1,8 +1,8 @@ # Copyright 2010-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{8,9} ) +EAPI="8" +PYTHON_COMPAT=( python3_{8..10} ) inherit cmake python-any-r1 @@ -22,7 +22,7 @@ fi LICENSE="Apache-2.0" SLOT="0/1.1" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/app-i18n/opencc/opencc-1.1.3.ebuild b/app-i18n/opencc/opencc-1.1.3.ebuild new file mode 100644 index 000000000000..cb2c8e19f174 --- /dev/null +++ b/app-i18n/opencc/opencc-1.1.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 2010-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-any-r1 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/BYVoid/OpenCC" +fi + +DESCRIPTION="Library for conversion between Traditional and Simplified Chinese characters" +HOMEPAGE="https://github.com/BYVoid/OpenCC" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0/1.1" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND="${PYTHON_DEPS} + doc? ( app-doc/doxygen )" +DEPEND="dev-cpp/tclap + dev-libs/darts + dev-libs/marisa:0= + dev-libs/rapidjson + test? ( + dev-cpp/gtest + !hppa? ( !sparc? ( dev-cpp/benchmark ) ) + )" +RDEPEND="dev-libs/marisa:0=" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/OpenCC-ver.${PV}" +fi + +DOCS=(AUTHORS NEWS.md README.md) + +src_prepare() { + rm -r deps || die + + cmake_src_prepare + + sed -e "s:\${DIR_SHARE_OPENCC}/doc:share/doc/${PF}:" -i doc/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_DOCUMENTATION=$(usex doc ON OFF) + -DENABLE_BENCHMARK=$(if use test && has_version -d dev-cpp/benchmark; then echo ON; else echo OFF; fi) + -DENABLE_GTEST=$(usex test ON OFF) + -DUSE_SYSTEM_DARTS=ON + -DUSE_SYSTEM_GOOGLE_BENCHMARK=ON + -DUSE_SYSTEM_GTEST=ON + -DUSE_SYSTEM_MARISA=ON + -DUSE_SYSTEM_RAPIDJSON=ON + -DUSE_SYSTEM_TCLAP=ON + ) + + cmake_src_configure +} diff --git a/app-i18n/opencc/opencc-9999.ebuild b/app-i18n/opencc/opencc-9999.ebuild index 2bcf333bd7cf..984d63857065 100644 --- a/app-i18n/opencc/opencc-9999.ebuild +++ b/app-i18n/opencc/opencc-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 2010-2021 Gentoo Authors +# Copyright 2010-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=(python{3_7,3_8,3_9}) +EAPI="8" +PYTHON_COMPAT=( python3_{8..10} ) inherit cmake python-any-r1 |