diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-09 22:25:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-09 22:25:44 +0100 |
commit | 796e724b5ace96ff70d918765662edf62f1d8c85 (patch) | |
tree | b09742996db0de2a2414587542b1b91d4ae5c522 /net-misc/lyricwikia | |
parent | cd7ab3ad114e9777d85ced67abdd5b25d0bd4efe (diff) |
gentoo auto-resync : 09:07:2023 - 22:25:43
Diffstat (limited to 'net-misc/lyricwikia')
-rw-r--r-- | net-misc/lyricwikia/Manifest | 3 | ||||
-rw-r--r-- | net-misc/lyricwikia/lyricwikia-0.1.11-r2.ebuild | 48 | ||||
-rw-r--r-- | net-misc/lyricwikia/metadata.xml | 3 |
3 files changed, 53 insertions, 1 deletions
diff --git a/net-misc/lyricwikia/Manifest b/net-misc/lyricwikia/Manifest index 23712d550f6d..6560e37445b6 100644 --- a/net-misc/lyricwikia/Manifest +++ b/net-misc/lyricwikia/Manifest @@ -1,4 +1,5 @@ AUX lyricwikia-0.1.11-skip-online-test.patch 506 BLAKE2B 92bf9826dd35d483fdabae057884e36847e2be273e668adae281962ec26ec05338b5fe53debb01655136af6a1325a20d043f023e756ee674c876c40d08095915 SHA512 6bb6d2960c39bee05e1d5b3a01656d78bce4fe07038758029274cf7e4d8495a29ffd2b79a7f3e02902a5e73fce03b505d1fed48a75e3681ab004a95cd6466416 DIST lyricwikia-0.1.11.tar.gz 5571 BLAKE2B 1e2fb5400b4c0ed07d419e577e3c12c6b8eca749ce1a5b7dea51d6d055979722b82d003eac20402da873d3011d1b444c0783935adbc01ec99dd6079b234e6bc7 SHA512 53ff9a2837ccc10be62c2a92240e9849a9c88b7979f8058deff87ce6eda6e98e39fb86c78052de9a885db679cd87a6c5749af2f9502d3316fbbf2c0796718805 EBUILD lyricwikia-0.1.11-r1.ebuild 1319 BLAKE2B 88b2507dd610d72229663cbb154f75882237909a009be8aa33195bcb5b92214bfae169a0420d164b1bb0f386f97c635fc63a39cd11cc4218556673ab1bf94244 SHA512 358906eba20db0ff3bbda15496d77a638947eb8f78902fc386798c9cb42e48037e3673a6606d90b506f1562df7e8aa8d64ed1d6df7f0c7e502c21e9ec94e2dbc -MISC metadata.xml 284 BLAKE2B 6ea63280a95dc3b6ebb3a35ce1f2de07164e12774246db1f4117fa0d70dbd903633a24240fa1475a93b87610068c84cb52360037cd8d1dad231b1738e6bfcca2 SHA512 53b66619d17399f0d78bcc6586d0cbed9edc88d0f815822b1bd55dd3dcf85b4c0fae6bb377a060d1a188016eaac9af14e0eb7003aae47a74ce4ac14839cfc07f +EBUILD lyricwikia-0.1.11-r2.ebuild 1350 BLAKE2B 754185ce161f5ecfad79ef6878e60d8630ee207b22dae048146a7866a30ea1841cacd582d870eb8a23afbdd321482db10ed542b0412c96a6bf01b61ebe05998b SHA512 39fb244209f3876fc37a7bb560d5a8e44fd0a34b256023eece44608938b302ef3249cfaef850480d89a41805f2c3ed3f446a31f44e49889bcfd05a8b9de6fc9d +MISC metadata.xml 371 BLAKE2B 1c361d1b40b41a7ff164b8edbfbe2629b8145c39a33a05d601281ec23b8a02d866f502e5e2660544e209191373970a1b99d86ded2ecdc2f923779d5df9772820 SHA512 808b26a8659941b6dddb268cbfcd09604335a0172fc8df2e5dc0d123c9903fd9b67e7bf3aebeaba7929fe7fb84ba98163b6efb7c949bf05038d43b6f4e89df1a diff --git a/net-misc/lyricwikia/lyricwikia-0.1.11-r2.ebuild b/net-misc/lyricwikia/lyricwikia-0.1.11-r2.ebuild new file mode 100644 index 000000000000..e5c93282a1f9 --- /dev/null +++ b/net-misc/lyricwikia/lyricwikia-0.1.11-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Python API to get song lyrics from LyricWikia" +HOMEPAGE="https://github.com/enricobacis/lyricwikia" +SRC_URI="https://github.com/enricobacis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +PATCHES="${FILESDIR}/${P}-skip-online-test.patch" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on deprecated dep + sed -i -e '/pytest-runner/d' setup.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + # rename the executable to avoid file conflict with net-im/lyrics-in-terminal + find "${D}" -name 'lyrics' -execdir mv {} lyricwikia \; || die +} + +pkg_postinst() { + elog "Note that access to LyricWikia through this API (and products that use this API) should comply to the LyricWikia terms of use" + elog "" + elog "LyricWikia is now offline, this package is provided solely for the purpose of satisfying media-video/vidify's dependencies" +} diff --git a/net-misc/lyricwikia/metadata.xml b/net-misc/lyricwikia/metadata.xml index 270110553011..264f58e3938d 100644 --- a/net-misc/lyricwikia/metadata.xml +++ b/net-misc/lyricwikia/metadata.xml @@ -7,4 +7,7 @@ <name>Andrew Ammerlaan</name> </maintainer> <stabilize-allarches/> + <upstream> + <remote-id type="github">enricobacis/lyricwikia</remote-id> + </upstream> </pkgmetadata> |