Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/meilisearch Replace Python autogen with YAML-based generator…
… for Meilisearch - replaced the Python autogen script with a YAML generator - adjusted templates - - added network-sandbox restriction as custom build command of lindera-ko-dic building requests a download during compiling ``` workstation-mark-repo ~ # cat /var/tmp/portage/app-misc/meilisearch-1.12.0/work/cargo_home/gentoo/lindera-ko-dic-0.32.2/build.rs use std::error::Error; #[cfg(feature = "ko-dic")] fn main() -> Result<(), Box<dyn Error>> { lindera_assets::fetch( lindera_assets::FetchParams { file_name: "mecab-ko-dic-2.1.1-20180720.tar.gz", input_dir: "mecab-ko-dic-2.1.1-20180720", output_dir: "lindera-ko-dic", download_url: "https://dlwqk3ibdg1xh.cloudfront.net/mecab-ko-dic-2.1.1-20180720.tar.gz", dummy_input: "테스트,1785,3543,4721,NNG,행위,F,테스트,*,*,*,*\n", }, lindera_ko_dic_builder::ko_dic_builder::KoDicBuilder::new(), ) } #[cfg(not(feature = "ko-dic"))] fn main() -> Result<(), Box<dyn Error>> { Ok(()) } ``` (cherry picked from commit f6603f1c79600a254002dd1ad11e9f11d4724150) (cherry picked from commit 355c931721d2818d83ea13d075b70c88acdb69e4)
- Loading branch information