diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-musicbrainz |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-musicbrainz')
-rw-r--r-- | dev-python/python-musicbrainz/Manifest | 5 | ||||
-rw-r--r-- | dev-python/python-musicbrainz/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild | 52 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/python-musicbrainz/Manifest b/dev-python/python-musicbrainz/Manifest new file mode 100644 index 000000000000..75db80a2acaf --- /dev/null +++ b/dev-python/python-musicbrainz/Manifest @@ -0,0 +1,5 @@ +DIST python-musicbrainz2-0.7.4.tar.gz 76939 SHA256 728fbe415da98dad5c4d462e56cf106cf50cc28eb6a9f46b8ebabc3029f37fb9 SHA512 dbf72a6f2dfa945398f390f20cbf75a5099ea69075b419ece37f1994c816ae36a62c1bf1d7490110e446b3ce441a7d486002c1e91ea4872aba3f4cc183bbf88e WHIRLPOOL 94568d845ab56939a9c476d16ea76cc7176900bd26d8f47d998597462179ec2a320365986113bd26807d67dec47e74127fd02d90197ae8270ab25b1a42dc0679 +EBUILD python-musicbrainz-0.7.4-r1.ebuild 1001 SHA256 cb15208a0c8bd7b4558db1aac65cbdeabd5a6a83a26862ae4dbf86c8dd26e619 SHA512 cdff7e39e32dd9a7bee04edadf3cb2cafae7467361b52adfbfef383b10fb170c3b7b616372f414173bdea7b332cce006ee4d7d31f2ea029210d33c6a2dc541f1 WHIRLPOOL 79a2ed2ac9958d70a74c4426c3ef1ec59e6582cd1d9d370520e87ffa09c9540f50d2831f37360b31c9a513d82c2f95e0d636e337be497959c44559549c645621 +MISC ChangeLog 2468 SHA256 b94d5a74551547d40e37f4a56a315b791d32c08b5a895ca8c19ee9fb40c10138 SHA512 6da8ad7611529d1873b25c28111e24df21508075d54e0a74a38c998de04b82370214c29cc1e56b84277b509eb3ad89cf0358b66a5b9df0d9815889fae6c5762e WHIRLPOOL 2d0d361536b58d47e8862293215a7436200b2dab4f02767e855a63ffc109356479e0b0d0329597f303319ac80704323f4ce8c7ed70d0328b47a4ffd190e37170 +MISC ChangeLog-2015 3522 SHA256 c5ca6e5e2874e04ecfabe66620da06394995e2e52df77f4d9aba873df394eb14 SHA512 f17f58046f3739180656d1157199d8b7f49052bb008ba27b141f753af203f2e20cbbdbe283f823e486907dab3e33f127e42bef0b220485c3b5b6be139d7a03a4 WHIRLPOOL a8bbc4345c71f2c2191a30d61fb6691efe6b48de83d1b9b9054255d497e22474f49be98d3c5a1445a92f24d639368fa3b1d9a22ad55a0ba766e1cbe22673a471 +MISC metadata.xml 353 SHA256 bc8c169ee6d20b278e4fa97db9855aba0706b54053977d69e9dd925b0bbba6b6 SHA512 5d9b0061aaffcdcaa374f9ebe83ac47d7d6acdd28a51452f68d3f43a5e7b866639b9edebd82c20a440fe4e7f54a93567219a91cbf524218276c6c17df8b605c1 WHIRLPOOL 03d7dba44d17d9499312e3a29c1a0cea78c9b5276f788784d77e47d52b5caff6ac11acf985dc6d3f57fd13095bc7dcafec7e7503494c62ccea08d060ecebede6 diff --git a/dev-python/python-musicbrainz/metadata.xml b/dev-python/python-musicbrainz/metadata.xml new file mode 100644 index 000000000000..d0913ee5d1cb --- /dev/null +++ b/dev-python/python-musicbrainz/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> +<maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild new file mode 100644 index 000000000000..2e4cf4af8b07 --- /dev/null +++ b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +MY_PN="${PN}2" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python Bindings for the MusicBrainz XML Web Service" +HOMEPAGE="http://musicbrainz.org" +SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 x86" +IUSE="doc examples" + +RDEPEND="media-libs/libdiscid" +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc )" +# epydoc is called as a script, so no PYTHON_USEDEP + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + if use doc; then + einfo "Generation of documentation" + esetup.py docs + fi +} + +python_test() { + esetup.py test +} + +python_install_all() { + dodoc AUTHORS.txt CHANGES.txt README.txt + + if use doc; then + dohtml html/* + fi + + if use examples; then + docinto examples + dodoc examples/*.txt + insinto /usr/share/doc/${PF}/examples + doins examples/*.py + fi +} |