diff --git a/net-analyzer/metagoofil/Manifest b/net-analyzer/metagoofil/Manifest index 387c7a0f9..d41b914a1 100644 --- a/net-analyzer/metagoofil/Manifest +++ b/net-analyzer/metagoofil/Manifest @@ -1 +1 @@ -DIST metagoofil-2.2_p20201005.zip 17037 BLAKE2B 6ab87f9f19153d7ba96d76b8b724b6eeaa783bd407480325ec28db913fb0eea757a986fdd96dacfef969b7ef1640197934f42103b4d8ed0d9e386b8850d2a873 SHA512 dd2f81e72ad96792cc31c6ad436f08de7f8a1911c295ca07bf4f4eadc984a1c7268427705ea2033a0b7900893064394b6648de8a4cea949d2a3e7baf0feb7e82 +DIST metagoofil-2.2_p20221009.zip 17037 BLAKE2B 6ab87f9f19153d7ba96d76b8b724b6eeaa783bd407480325ec28db913fb0eea757a986fdd96dacfef969b7ef1640197934f42103b4d8ed0d9e386b8850d2a873 SHA512 dd2f81e72ad96792cc31c6ad436f08de7f8a1911c295ca07bf4f4eadc984a1c7268427705ea2033a0b7900893064394b6648de8a4cea949d2a3e7baf0feb7e82 diff --git a/net-analyzer/metagoofil/metagoofil-2.2_p20201005.ebuild b/net-analyzer/metagoofil/metagoofil-2.2_p20221009.ebuild similarity index 83% rename from net-analyzer/metagoofil/metagoofil-2.2_p20201005.ebuild rename to net-analyzer/metagoofil/metagoofil-2.2_p20221009.ebuild index cf1a5ab92..6a696f3d3 100644 --- a/net-analyzer/metagoofil/metagoofil-2.2_p20201005.ebuild +++ b/net-analyzer/metagoofil/metagoofil-2.2_p20221009.ebuild @@ -18,8 +18,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" -RDEPEND="media-libs/libextractor - $(python_gen_cond_dep ' +RDEPEND="$(python_gen_cond_dep ' dev-python/requests[${PYTHON_USEDEP}] dev-python/googlesearch[${PYTHON_USEDEP}] ') @@ -32,9 +31,6 @@ src_configure() { # Add the following line, so metagoofil.py can be executed directly. sed -i '1i#!\/usr\/bin\/python' "${PN}".py || die - # change libextractor default location -# sed -i -e "s:/opt/local/bin/extract:/usr/bin/extract:g" "${PN}".py || die - #relax deps sed -i "s|==|>=|g" requirements.txt } @@ -42,8 +38,13 @@ src_configure() { src_install() { dobin "${FILESDIR}/${PN}" + # remove things we don't need on disk + rm Dockerfile || die + rm requirements.txt || die + rm LICENSE || die + rm .gitignore || die dodir /usr/share/"${PN}" cp -r . "${ED}"/usr/share/${PN}/ - dodoc README.md LICENSE + dodoc README.md }