diff options
author | Akinori Hattori <hattya@gentoo.org> | 2023-05-13 11:24:36 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2023-05-13 11:24:36 +0900 |
commit | f2be0fde37b13cd6022e57d0813a5f97cf2b1c4e (patch) | |
tree | f508b561393e18fe99672c44ed3fe87c47dd73b0 /app-i18n/yaskkserv2 | |
parent | app-i18n/ibus-typing-booster: drop old (diff) | |
download | gentoo-f2be0fde37b13cd6022e57d0813a5f97cf2b1c4e.tar.gz gentoo-f2be0fde37b13cd6022e57d0813a5f97cf2b1c4e.tar.bz2 gentoo-f2be0fde37b13cd6022e57d0813a5f97cf2b1c4e.zip |
app-i18n/yaskkserv2: new upstream release
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/yaskkserv2')
-rw-r--r-- | app-i18n/yaskkserv2/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/yaskkserv2/yaskkserv2-0.1.6.ebuild | 223 |
2 files changed, 226 insertions, 0 deletions
diff --git a/app-i18n/yaskkserv2/Manifest b/app-i18n/yaskkserv2/Manifest index 4e88ac5bbafe..c7ddfcbfe522 100644 --- a/app-i18n/yaskkserv2/Manifest +++ b/app-i18n/yaskkserv2/Manifest @@ -4,6 +4,7 @@ DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c5 DIST backtrace-0.3.37.crate 67955 BLAKE2B af9deeda806a9c47084df102ed6f5e6d57a81db9ac410678684c7026069be43bc4efd15bbf4b042d5aea9d85d619168484396d1dfc2ed83a69eeb29d750b6158 SHA512 d32ef8fa11cffeee298f7468f8f9b6d3492cdd805679fa72600115df7dd7e0ae65378ed7aa767a75a90743e278018cfb9631842e7eb633869d77485405dc520b DIST backtrace-sys-0.1.31.crate 518877 BLAKE2B 397f3c4053eeabd7216c4373e6457637e22ee124d8a864c2587a78ebd8d619745dece654357cb9cd970ee20d7c41d53c84ecb3ed92beefaacbcfddfaca804ce5 SHA512 6aa8c7a2694f4e953a0e9bbd07dc8b7e218719de5aef2adaecfae81beb919deffde6f184675dc6b6c1a330bb81dc9611c256f7f63caef5e301101dbe3bbaafe0 DIST base64-0.13.0.crate 62070 BLAKE2B b957f65cdb1e28baeca0cefc92fa98be797409b7dabd15e0e88db6cdfb89779b662cba9f2270fbf3b7b66948fdc46c118b8040a78ab72049c48a928fa802bee0 SHA512 991a72999839daa232f508c5b24e7d3225e8a26db8d1d0e747881b115af9e408b92374e163b31e0b0d324c1c2e57e8e38d66861b61eb0a1dba87bb5871940151 +DIST base64-0.21.0.crate 72180 BLAKE2B c7aeaf671bdeac67703f9c4ee1be003eb8d6f46fbaa0adf61a4da304458742938db04291d5f626115e3fcc901eb3abb3f9baf8247f6344b4d49f60a200fc6fd2 SHA512 60bcc157c6449a2160e083611e6d53e07bbff7db8cd550d9056cb804e99e990d4a20092ba4347306a3c6b6c42474a06d92cb3895125c50cef9b74cd3cbd83a2f DIST bincode-1.3.3.crate 28958 BLAKE2B ea01d2efd8149ecba5e240ed989268b683d542a5f369902d316a4fd1ae4b8edd94e2d4a8cbff0e96646eb29facb04a84b249d74f0781dc3d29c8797ac975aa9f SHA512 49e39d71214dbb623a18e3852f6f2f2a5c3f951b64107d66c8adaa95a442a3283fba978bca41b126c9879b12833b945f478d2c77d35482b3577fc1a894e8e5f3 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST block-buffer-0.10.2.crate 10258 BLAKE2B d3ad2f9f0379e04320e954e1a2226949d83cc1acdda806b98329a5ddcfdbbafdf511907d99ad7daae271a2981ad0c39de218968c22c3487e21a32817d41c23fa SHA512 8f1d99af7c08bf3b54ba7383cf0272eb5a8137f6244bc2d7e6d6761016614514ad7d27c5c51946c5cd7becd84b320f62fc2770e7aa07038d370505c29e032078 @@ -89,6 +90,7 @@ DIST regex-1.5.6.crate 238593 BLAKE2B d2b200d9d3d8924e7dd7a1f96c769a5bdf01d9bcd3 DIST regex-syntax-0.6.26.crate 293912 BLAKE2B b0ea1ea1f87a493c770265a8d9371e3c532bf5ca20330b5946f5c922292d4420ddcfc30105a4ec3c1b154b5a77e55e86987f7edd61ef34c12eb0b4bbcaf23d2b SHA512 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634 DIST remove_dir_all-0.5.2.crate 8907 BLAKE2B 585f49f83db3ace90dd0b4fc77aab7525844194c82d36cc33ab8999aaa6226d24a130c30f55e2c46a08273cc554d9d4c8bc51958aa7dbf1045085b2e22639e4e SHA512 d19a45398a93adbcef9f233f6b3eaf4a63ae95f5bbae00c880b40c5edd34449e7f798ebcd4d11843c68ddfa15e11bed21d434b224e4a175dcb64ae011c13c8cd DIST reqwest-0.11.11.crate 142667 BLAKE2B a246903e1cf6e6d5f5262df99cd22b2d363bf2bdefd96456d3d818ce70523263c1487cc2352a60914476e301224438f0691d1ad21ad7ceeb4ec925245e145adc SHA512 62b59d6114b6aa1c2fc936940e940ce9f66416024ea046970deb30dbf5f261edd5b073b3890b6ef11edc41b4e414429eaea391ff1dddffafe178d71605a7f447 +DIST reqwest-0.11.17.crate 153775 BLAKE2B e2b94a229d6fd77d15ebe8851cf4b78758f3fe960c978497a23d210e881c5b69fcd0cf06dd6effbc1e1cc1f9a6a9a68411af112091d5ab284d47a8cac22c561a SHA512 99ac0f0d044f798b2fe079ba256c3153af953ff536d5d696d24fbc669e42920c5ee3173f078e8cac27910a1236e110da8c65333035e0e7c42b1c936ed2e2a16b DIST rustc-demangle-0.1.16.crate 19137 BLAKE2B 04226ff97786b81c90130b48cf6542ea448661af9ea7afed179e71d04abf52cfd3c53fab26d4d35bdf2c1d5a735882da7703527aa48ba7b77f337599c2324150 SHA512 36a63a28a72c710d08524adbb7d11def37db23fe123fb6ea848623b4207c7f80d8415bbbe951488ceccfb8f4f1cdb66a8edfc4c0eecdaa62c87df9e032f4c063 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 DIST ryu-1.0.0.crate 40170 BLAKE2B 5938a70fe991ac71974a38172acff9e559ec457aa12775ac53305742696a7ccf8f4619734b1d7b0e2db01b548ef2945aaebca605c186dd0b599f47dfb3fbf536 SHA512 b5dd360611fdf76ff13d377c1c79ce09a4fab90a8b7fc917a4424b8246c8a0da7d3ec515b8c69b695d936b1207072d173b9f40fd5cb218f1eab947862112caf0 @@ -151,4 +153,5 @@ DIST windows_x86_64_gnu-0.36.1.crate 790934 BLAKE2B 9dec5d966bdc89efbc81989acca2 DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac967598168752d1996b4ddf5278a8fca53360566c37c1a014bfb4dfdc0ae2d96e01196c42eb4906ea80d8e9dd23b9e9f3163631c9e253e SHA512 89c22ed51a74f531662d80ae0fa5e0215728db1e6caf3c13eaeba95a93548b43c00b8474f52553ac866ac83c203b6c22dc44fbc870e882a4c9c97ba54b87c631 DIST winreg-0.10.1.crate 25725 BLAKE2B db536f2a098e4ff6ae4ff80a19bd2029030d68007c3d6100f5135da1a7c223463fc17640f533bc1d4e8c53e9becb186d98351719b3b6276802c68cc755b9ba4e SHA512 09f2d18f62c3c427ebed40d667b672bb778629502ad3c39541f324b2d5ac41f0822c98b7e5320314144130580da46f1e8e51928941850e7d4af28455a564360c DIST yaskkserv2-0.1.5.tar.gz 178515 BLAKE2B 7f7eeea27b6de1740c56c3cd3383b0e8779e3b40728cbfbb4dc9a967ce3fee043fb339e51814b776d9e633a9c8fcde0bc05b14f0f471031b0e849239381eca56 SHA512 25d93736f3c86d5c3d3ba7b4a6c263a5cb6f00397416c4e7e3bd0a1e361d62dbfbc5e20af529da143dcde72e9540c39b4f8eaebe63585357037e6bd50d4a42ce +DIST yaskkserv2-0.1.6.tar.gz 178515 BLAKE2B b1dc27898939235569bc5df8c84b2b18727c96eb08f05c6e4a21ee4c9ce9df3fc1491b5a175c0f6f7554c38f824fda19c8cd07eba5d1a89746de5058ac8f20ac SHA512 6c9ac3440c4de13526491db050d990be2d1318ef4b082145d19b8df4a6e2890acf351db433358f0860b43748006f1897ad75390ee550146e4d4eca9c3b5524df DIST yaskkserv2-testdata-202110.tar.xz 6789332 BLAKE2B fc7c44ca9899972095f37f01e9c08c95c763ff3fa027a785f8d979e4a8c6f0ad2defc965e1d3263d9fbc595368ab83022a2b615712b0795854538a68c138fc93 SHA512 351a5a67014bfcf0f8ed16ba171c59936e26c3aad960a44484304a0df86d26b2a6f75a3c4762149c5dbcc7c7717cc29559e7ce1b2f0e79f913c33501ee63e3c2 diff --git a/app-i18n/yaskkserv2/yaskkserv2-0.1.6.ebuild b/app-i18n/yaskkserv2/yaskkserv2-0.1.6.ebuild new file mode 100644 index 000000000000..19ea8859a2f4 --- /dev/null +++ b/app-i18n/yaskkserv2/yaskkserv2-0.1.6.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +CRATES=" + aho-corasick-0.7.18 + atty-0.2.13 + autocfg-1.1.0 + backtrace-0.3.37 + backtrace-sys-0.1.31 + base64-0.21.0 + bincode-1.3.3 + bitflags-1.3.2 + block-buffer-0.10.2 + boxfnonce-0.1.1 + bumpalo-3.10.0 + bytes-1.1.0 + c2-chacha-0.2.2 + cc-1.0.45 + cfg-if-0.1.9 + cfg-if-1.0.0 + clap-3.2.4 + clap_lex-0.2.2 + core-foundation-0.9.3 + core-foundation-sys-0.8.3 + cpufeatures-0.2.2 + crypto-common-0.1.3 + daemonize-0.4.1 + digest-0.10.3 + encoding_rs-0.8.20 + env_logger-0.7.1 + error-chain-0.11.0 + fastrand-1.7.0 + fnv-1.0.6 + foreign-types-0.3.2 + foreign-types-shared-0.1.1 + form_urlencoded-1.1.0 + futures-channel-0.3.21 + futures-core-0.3.21 + futures-io-0.3.21 + futures-sink-0.3.21 + futures-task-0.3.21 + futures-util-0.3.21 + generic-array-0.14.5 + getrandom-0.1.12 + h2-0.3.13 + hashbrown-0.11.2 + hermit-abi-0.1.19 + http-0.2.8 + http-body-0.4.5 + httparse-1.7.1 + httpdate-1.0.2 + humantime-1.3.0 + hyper-0.14.19 + hyper-tls-0.5.0 + idna-0.3.0 + indexmap-1.8.2 + instant-0.1.12 + ipnet-2.5.0 + itoa-0.4.4 + itoa-1.0.2 + js-sys-0.3.58 + json-0.12.4 + lazy_static-1.4.0 + libc-0.2.126 + log-0.4.11 + matches-0.1.8 + memchr-2.5.0 + mime-0.3.16 + mio-0.8.3 + native-tls-0.2.10 + num_cpus-1.13.1 + once_cell-1.12.0 + openssl-0.10.40 + openssl-macros-0.1.0 + openssl-probe-0.1.5 + openssl-sys-0.9.74 + os_str_bytes-6.1.0 + percent-encoding-2.2.0 + pin-project-lite-0.2.9 + pin-utils-0.1.0 + pkg-config-0.3.25 + ppv-lite86-0.2.5 + proc-macro2-1.0.39 + quick-error-1.2.3 + quote-1.0.2 + rand-0.7.2 + rand_chacha-0.2.1 + rand_core-0.5.1 + rand_hc-0.2.0 + redox_syscall-0.1.56 + redox_syscall-0.2.13 + regex-1.5.6 + regex-syntax-0.6.26 + remove_dir_all-0.5.2 + reqwest-0.11.17 + rustc-demangle-0.1.16 + rustc-hash-1.1.0 + ryu-1.0.0 + schannel-0.1.20 + security-framework-2.6.1 + security-framework-sys-2.6.1 + serde-1.0.137 + serde_derive-1.0.137 + serde_json-1.0.40 + serde_urlencoded-0.7.1 + sha1-0.10.1 + slab-0.4.2 + socket2-0.4.4 + strsim-0.10.0 + syn-1.0.96 + syslog-4.0.1 + tempfile-3.3.0 + termcolor-1.1.3 + textwrap-0.15.0 + thiserror-1.0.31 + thiserror-impl-1.0.31 + time-0.1.42 + tinyvec-1.6.0 + tinyvec_macros-0.1.0 + tokio-1.19.2 + tokio-native-tls-0.3.0 + tokio-util-0.7.3 + tower-service-0.3.1 + tracing-0.1.35 + tracing-core-0.1.27 + try-lock-0.2.2 + twoway-0.2.2 + typenum-1.15.0 + unchecked-index-0.2.2 + unicode-bidi-0.3.4 + unicode-ident-1.0.1 + unicode-normalization-0.1.22 + url-2.3.1 + vcpkg-0.2.15 + version_check-0.9.4 + want-0.3.0 + wasi-0.7.0 + wasi-0.11.0+wasi-snapshot-preview1 + wasm-bindgen-0.2.81 + wasm-bindgen-backend-0.2.81 + wasm-bindgen-futures-0.4.31 + wasm-bindgen-macro-0.2.81 + wasm-bindgen-macro-support-0.2.81 + wasm-bindgen-shared-0.2.81 + web-sys-0.3.58 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + windows-sys-0.36.1 + windows_aarch64_msvc-0.36.1 + windows_i686_gnu-0.36.1 + windows_i686_msvc-0.36.1 + windows_x86_64_gnu-0.36.1 + windows_x86_64_msvc-0.36.1 + winreg-0.10.1 +" +TESTDATA="${PN}-testdata-202110" + +inherit cargo systemd + +DESCRIPTION="Yet Another SKK server" +HOMEPAGE="https://github.com/wachikun/yaskkserv2" +SRC_URI="https://github.com/wachikun/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES}) + test? ( https://dev.gentoo.org/~hattya/distfiles/${TESTDATA}.tar.xz )" +RESTRICT="!test? ( test )" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-libs/openssl:0=" +RDEPEND="${DEPEND} + app-i18n/skk-jisyo" +BDEPEND="test? ( + app-emacs/ddskk + app-i18n/yaskkserv +)" + +QA_FLAGS_IGNORED=".*" + +src_prepare() { + default + + sed -i "/^dictionary =/s|= .*|= ${EPREFIX}/usr/lib/${PN}/default.euc|" etc/${PN}.conf + export OPENSSL_NO_VENDOR=true + # skip network tests + sed -i "s/^fn ${PN}.*_google_/#[ignore]\n&/" src/skk/test_unix/${PN}.rs +} + +src_test() { + export YASKKSERV2_TEST_DIRECTORY="${T}"/${PN} + mkdir -p "${YASKKSERV2_TEST_DIRECTORY}" || die + cp -r "${WORKDIR}"/${TESTDATA}/* "${YASKKSERV2_TEST_DIRECTORY}" || die + cargo_src_test +} + +src_install() { + cargo_src_install + dodir /usr/sbin + mv "${ED}"/usr/{,s}bin/${PN} || die + rm "${ED}"/usr/bin/test_wrapper || die + einstalldocs + + keepdir /usr/lib/${PN} + + insinto /etc + doins etc/${PN}.conf + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + + systemd_dounit "${FILESDIR}"/${PN}.service +} + +pkg_preinst() { + "${ED}"/usr/bin/${PN}_make_dictionary --dictionary-filename "${ED}"/usr/lib/${PN}/default.euc "${EPREFIX}"/usr/share/skk/SKK-JISYO.L || die + "${ED}"/usr/bin/${PN}_make_dictionary --dictionary-filename "${ED}"/usr/lib/${PN}/default.utf8 --utf8 "${EPREFIX}"/usr/share/skk/SKK-JISYO.L || die +} |