summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-12 18:44:38 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-12 18:54:54 +0200
commit49d30d02ba56ae67937f376b782b29725b92641f (patch)
tree6491106d11a34c75374dc566c1e7131d4a2ad260 /dev-python/python-musicbrainz-ngs
parentdev-python/python-mimeparse: Remove redundant versions (diff)
downloadgentoo-49d30d02ba56ae67937f376b782b29725b92641f.tar.gz
gentoo-49d30d02ba56ae67937f376b782b29725b92641f.tar.bz2
gentoo-49d30d02ba56ae67937f376b782b29725b92641f.zip
dev-python/python-musicbrainz-ngs: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-musicbrainz-ngs')
-rw-r--r--dev-python/python-musicbrainz-ngs/Manifest1
-rw-r--r--dev-python/python-musicbrainz-ngs/files/0.6-fix-test-submit.patch32
-rw-r--r--dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild52
3 files changed, 0 insertions, 85 deletions
diff --git a/dev-python/python-musicbrainz-ngs/Manifest b/dev-python/python-musicbrainz-ngs/Manifest
index 2217919071a1..fbebf1a80bc0 100644
--- a/dev-python/python-musicbrainz-ngs/Manifest
+++ b/dev-python/python-musicbrainz-ngs/Manifest
@@ -1,2 +1 @@
-DIST python-musicbrainzngs0.6.tar.gz 110948 BLAKE2B 9528d966565f7c927a98d311dcbb6db73a84614efa3eb071fe944b29b655526f9dd6e8a4a217428883d30b93c18e45c3d752d321d3c0689e5af00423b5fd7faa SHA512 901729f736b207f2f086e3d44a3515d405f6621706ad9c7ca07dd304349e048c5790bb16b054393651808bac4905ceb9493dd66d9fb17a1612692427c0bd3bd4
DIST python-musicbrainzngs0.7.1.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9
diff --git a/dev-python/python-musicbrainz-ngs/files/0.6-fix-test-submit.patch b/dev-python/python-musicbrainz-ngs/files/0.6-fix-test-submit.patch
deleted file mode 100644
index 4881936c80b1..000000000000
--- a/dev-python/python-musicbrainz-ngs/files/0.6-fix-test-submit.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/test/test_submit.py b/test/test_submit.py
-index bce5362..2d13811 100644
---- a/test/test_submit.py
-+++ b/test/test_submit.py
-@@ -1,13 +1,23 @@
- import unittest
--import os
--import sys
--sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
--
- import musicbrainzngs
- from musicbrainzngs import musicbrainz
- from test import _common
-
-+
- class SubmitTest(unittest.TestCase):
-+
-+ def setUp(self):
-+ self.orig_opener = musicbrainzngs.compat.build_opener
-+ musicbrainz.set_useragent("test_client", "1.0")
-+ musicbrainz.auth("user", "password")
-+
-+ def tearDown(self):
-+ musicbrainzngs.compat.build_opener = self.orig_opener
-+ musicbrainz._useragent = ""
-+ musicbrainz._client = ""
-+ musicbrainz.user = ""
-+ musicbrainz.password = ""
-+
- def test_submit_tags(self):
- self.opener = _common.FakeOpener("<response/>")
- musicbrainzngs.compat.build_opener = lambda *args: self.opener
diff --git a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
deleted file mode 100644
index 35e315ca5825..000000000000
--- a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1
-
-MY_PN="${PN/%-ngs/ngs}"
-
-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/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}${PV}.tar.gz"
-
-LICENSE="BSD-2 ISC"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-PATCHES="${FILESDIR}/0.6-fix-test-submit.patch"
-
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-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_compile_all() {
- use doc && emake -C docs html
-}
-
-python_test() {
- esetup.py test --verbosity=2
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- distutils-r1_python_install_all
-}