]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
Add ebuild for caa-fetcher
authorNick Bowler <nbowler@draconx.ca>
Sat, 1 Dec 2018 17:06:45 +0000 (12:06 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 1 Dec 2018 17:06:45 +0000 (12:06 -0500)
net-misc/caa-fetcher/Manifest [new file with mode: 0644]
net-misc/caa-fetcher/caa-fetcher-0.ebuild [new file with mode: 0644]

diff --git a/net-misc/caa-fetcher/Manifest b/net-misc/caa-fetcher/Manifest
new file mode 100644 (file)
index 0000000..fa2c3b6
--- /dev/null
@@ -0,0 +1,2 @@
+DIST scripts-4ff20e03039c9e4abda2adf838b3ed323c766532.tar.xz 17528 BLAKE2B 93899c226ce79dd6ee82df5d09b55d8abd1143276503cef40b4535c0d470d06a88066a96de44c694db3d67496cf361b743f82cd5c7abeb78eb088e3c8b0b29d9 SHA512 c16296ba9aade0bc367db9554030c585a48814ba92bce80030ccb2c8dc247660301dff145aa7a548facfbd471611295d5917834657489f435b8772983ea92239
+EBUILD caa-fetcher-0.ebuild 752 BLAKE2B e04b8c50fdda47282fda2561428fdb89e144d4a2386498b0f93e70aa9e55a861feb0fe167fe5ed941a87af4d4f6fe73acc0f25a897492d6045737f4f1fca7120 SHA512 da1d6867b3dbbd093eb24510d3873c2ec574c06eeeae7d7744426b7969a21db1718aa3a2d33ed194a2ffd94699d61ffd10c28a5f79d6437e69f96f36779c7787
diff --git a/net-misc/caa-fetcher/caa-fetcher-0.ebuild b/net-misc/caa-fetcher/caa-fetcher-0.ebuild
new file mode 100644 (file)
index 0000000..4944daf
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright © 2018 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=6
+PYTHON_COMPAT=( python3_6 )
+
+inherit python-r1
+
+SHA1=4ff20e03039c9e4abda2adf838b3ed323c766532
+
+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"
+
+RDEPEND="$PYTHON_DEPS
+       dev-python/python-musicbrainz-ngs[$PYTHON_USEDEP]"
+DEPEND=$PYTHON_DEPS
+
+S=$WORKDIR/$SHA1
+
+src_install () {
+       python_foreach_impl python_newscript caa-fetcher.py caa-fetcher
+}