summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-16 19:23:15 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-16 21:18:16 +0100
commitcdfb39f5a07ff96ca1743646c60af555680a5dd5 (patch)
tree23f8eaaf4af3d73ab4c0bfa6b1bd2c483caa9fcf /dev-python/python-musicbrainzngs
parentvirtual/dist-kernel: Stabilize 6.1.12 ppc64, #894458 (diff)
downloadgentoo-cdfb39f5a07ff96ca1743646c60af555680a5dd5.tar.gz
gentoo-cdfb39f5a07ff96ca1743646c60af555680a5dd5.tar.bz2
gentoo-cdfb39f5a07ff96ca1743646c60af555680a5dd5.zip
dev-python/python-musicbrainzngs: EAPI 8, PEP517, py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-musicbrainzngs')
-rw-r--r--dev-python/python-musicbrainzngs/Manifest1
-rw-r--r--dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1-r1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/python-musicbrainzngs/Manifest b/dev-python/python-musicbrainzngs/Manifest
index d822a2016c42..594037489815 100644
--- a/dev-python/python-musicbrainzngs/Manifest
+++ b/dev-python/python-musicbrainzngs/Manifest
@@ -1 +1,2 @@
+DIST python-musicbrainzngs-0.7.1.gh.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9
DIST python-musicbrainzngs-0.7.1.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9
diff --git a/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1-r1.ebuild b/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..b93028f858eb
--- /dev/null
+++ b/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices"
+HOMEPAGE="
+ https://github.com/alastair/python-musicbrainzngs/
+ https://pypi.org/project/musicbrainzngs/
+"
+SRC_URI="
+ https://github.com/alastair/python-musicbrainzngs/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2 ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+distutils_enable_sphinx docs
+distutils_enable_tests unittest
+
+python_install_all() {
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ distutils-r1_python_install_all
+}