X-Git-Url: https://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/eb5e42c65d6e402df87c2cd5cf8a175a9b7949fd..9f4af6aae0b7d7fb6d7e3a8e727bf99ab3fbc519:/net-misc/caa-fetcher/caa-fetcher-1_p20190516-r2.ebuild diff --git a/net-misc/caa-fetcher/caa-fetcher-1_p20190516-r2.ebuild b/net-misc/caa-fetcher/caa-fetcher-1_p20190516-r2.ebuild new file mode 100644 index 0000000..6386e94 --- /dev/null +++ b/net-misc/caa-fetcher/caa-fetcher-1_p20190516-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright © 2018,2020-2021 Nick Bowler +# License GPLv3+: GNU General Public License version 3 or any later version. +# This is free software: you are free to change and redistribute it. +# There is NO WARRANTY, to the extent permitted by law. + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit python-r1 + +SHA1=bb97b6559bf436b1a4bd6ec8303cceb9facf6e56 + +DESCRIPTION="Download album artwork from the Cover Art Archive" +SRC_URI="https://git.draconx.ca/gitweb/scripts.git/snapshot/$SHA1.tar.xz -> scripts-$SHA1.tar.xz" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE=$PYTHON_REQUIRED_USE + +RDEPEND="$PYTHON_DEPS + dev-python/python-musicbrainzngs[$PYTHON_USEDEP]" +DEPEND=$PYTHON_DEPS + +S=$WORKDIR/$SHA1 + +src_install () { + python_foreach_impl python_newscript caa-fetcher.py caa-fetcher +}