diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-20 16:24:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-20 16:28:52 +0200 |
commit | 9d16dbeb3dc544d53ddadd44b85f1076057e70c0 (patch) | |
tree | 98602aefa5b5af5033bf35ddd712cca289e6f29e /dev-python/musicbrainzngs | |
parent | dev-python/python-musicbrainzngs: Prepare for rename (diff) | |
download | gentoo-9d16dbeb3dc544d53ddadd44b85f1076057e70c0.tar.gz gentoo-9d16dbeb3dc544d53ddadd44b85f1076057e70c0.tar.bz2 gentoo-9d16dbeb3dc544d53ddadd44b85f1076057e70c0.zip |
Rename dev-python/{python-musicbrainzngs → musicbrainzngs}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/musicbrainzngs')
-rw-r--r-- | dev-python/musicbrainzngs/Manifest | 2 | ||||
-rw-r--r-- | dev-python/musicbrainzngs/metadata.xml | 22 | ||||
-rw-r--r-- | dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild | 38 |
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-python/musicbrainzngs/Manifest b/dev-python/musicbrainzngs/Manifest new file mode 100644 index 000000000000..594037489815 --- /dev/null +++ b/dev-python/musicbrainzngs/Manifest @@ -0,0 +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/musicbrainzngs/metadata.xml b/dev-python/musicbrainzngs/metadata.xml new file mode 100644 index 000000000000..33ce9f0483c7 --- /dev/null +++ b/dev-python/musicbrainzngs/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>gerion.entrup@flump.de</email> + <name>Gerion Entrup</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + This library implements webservice bindings for the Musicbrainz NGS site, also known as /ws/2 and the Cover Art Archive. + With this library you can retrieve all kinds of music metadata from the MusicBrainz database. + The library can retrieve and submit both, the XML and JSON based webservice and provides the data in native Python. + </longdescription> + <stabilize-allarches/> + <upstream> + <remote-id type="github">alastair/python-musicbrainzngs</remote-id> + <remote-id type="pypi">musicbrainzngs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild new file mode 100644 index 000000000000..16c5b836b431 --- /dev/null +++ b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild @@ -0,0 +1,38 @@ +# 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_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=python-musicbrainzngs-${PV} +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 + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +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 +} diff --git a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild new file mode 100644 index 000000000000..f1467c24aa57 --- /dev/null +++ b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..10} pypy3 ) +inherit distutils-r1 + +MY_P=python-musicbrainzngs-${PV} +DESCRIPTION="Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices" +HOMEPAGE="https://github.com/alastair/python-musicbrainzngs" +SRC_URI=" + https://github.com/alastair/python-musicbrainzngs/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2 ISC" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + +python_prepare_all() { + # Prevent un-needed d'loading + sed -e "s/^ *'sphinx.ext.intersphinx'//" -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} |