diff options
author | David Seifert <soap@gentoo.org> | 2019-06-05 10:58:56 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-06-05 10:58:56 +0200 |
commit | 09f9a88a7ecc21e0306e7fa4e6668a98a1c2f8d5 (patch) | |
tree | 98d81b148b7e9ff2c647681f045fcad26219c245 /dev-python/mygpoclient | |
parent | media-sound/paprefs: Remove old (diff) | |
download | gentoo-09f9a88a7ecc21e0306e7fa4e6668a98a1c2f8d5.tar.gz gentoo-09f9a88a7ecc21e0306e7fa4e6668a98a1c2f8d5.tar.bz2 gentoo-09f9a88a7ecc21e0306e7fa4e6668a98a1c2f8d5.zip |
dev-python/mygpoclient: Remove old
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/mygpoclient')
-rw-r--r-- | dev-python/mygpoclient/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mygpoclient/files/tests.patch | 34 | ||||
-rw-r--r-- | dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild | 46 |
3 files changed, 0 insertions, 81 deletions
diff --git a/dev-python/mygpoclient/Manifest b/dev-python/mygpoclient/Manifest index 06c908eee9ab..d2bd8cc299cc 100644 --- a/dev-python/mygpoclient/Manifest +++ b/dev-python/mygpoclient/Manifest @@ -1,2 +1 @@ -DIST mygpoclient-1.7.tar.gz 36423 BLAKE2B 6331eff9d095a705cb805a8984f530b418d8f8f61dcb239fd3dba4236c8f376dcb329747887c4f22f66ca657525c3333ea260d5e2d2093a37d33dea43d2ca93d SHA512 618c94cea37f427fbef333a7cecade12fadda33bd727814b4ce904e74aae65d4ba85d7d09578b9e5b6b9fb0b2f6fe0f73abbd7f60d66b3d9b51dabb554169e9f DIST mygpoclient-1.8.tar.gz 43671 BLAKE2B 0a1c10c00a9ee034acc17bb5e28d1ebab50a14f3eea534f4a4277172251ce567a26e7ab66859a66d89d4adc06f44dfe5899edb0aeec45e90e461a4a8cb3ff337 SHA512 1edecd5ccb116c7f4017ebe6572439d87ff76501ed0628934e548dc0c9c041127a11ec9f4def4a54a6f7fabe46a461c863ec2ff2f8c14c3c67b5d1fd9285bb9f diff --git a/dev-python/mygpoclient/files/tests.patch b/dev-python/mygpoclient/files/tests.patch deleted file mode 100644 index 041cee501a00..000000000000 --- a/dev-python/mygpoclient/files/tests.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -ur mygpoclient-1.7.orig/mygpoclient/locator_test.py mygpoclient-1.7/mygpoclient/locator_test.py ---- mygpoclient-1.7.orig/mygpoclient/locator_test.py 2013-02-08 19:39:32.000000000 +0800 -+++ mygpoclient-1.7/mygpoclient/locator_test.py 2013-03-09 23:33:37.137651841 +0800 -@@ -16,7 +16,7 @@ - # along with this program. If not, see <http://www.gnu.org/licenses/>. - - from mygpoclient import locator --import unittest -+import unittest, sys - - class Test_Exceptions(unittest.TestCase): - def setUp(self): -@@ -54,18 +54,21 @@ - podcast='http://example.org/episodes.rss', - device_id='gpodder') - -+ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy doesn't raise ValueError") - def test_device_settings_uri_exception(self): - """Test if using no parameter for a device Setting raises a ValueError""" - self.assertRaises(ValueError, - self.locator.settings_uri, type='device', - scope_param1=None, scope_param2=None) - -+ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy doesn't raise ValueError") - def test_podcast_settings_uri_exception(self): - """Test if using no parameter for a podcast Setting raises a ValueError""" - self.assertRaises(ValueError, - self.locator.settings_uri, type='podcast', - scope_param1=None, scope_param2=None) - -+ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy doesn't raise ValueError") - def test_episode_settings_uri_exception(self): - """Test if only using one parameter for a episode Setting raises a ValueError""" - self.assertRaises(ValueError, diff --git a/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild b/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild deleted file mode 100644 index e91e9b673f70..000000000000 --- a/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 pypy ) - -inherit distutils-r1 eutils - -DESCRIPTION="A gpodder.net client library" -HOMEPAGE="https://github.com/gpodder/mygpoclient - https://mygpoclient.readthedocs.io/en/latest/" -SRC_URI="https://github.com/gpodder/mygpoclient/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" - -RDEPEND="dev-python/simplejson" -DEPEND="${RDEPEND} - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/minimock - )" - -PATCHES=( "${FILESDIR}"/tests.patch ) - -src_prepare() { - distutils-r1_src_prepare - # Disable tests requring network connection. - rm -f mygpoclient/http_test.py -} - -python_test() { - if [[ "${EPYTHON:0:4}" == "pypy" ]]; then - nosetests --cover-erase --with-coverage --cover-package=mygpoclient "${BUILD_DIR}"/lib/${PN}/ - else - nosetests --cover-erase --with-coverage --with-doctest --cover-package=mygpoclient "${BUILD_DIR}"/lib/${PN}/ - fi -} - -src_install() { - distutils-r1_src_install - rm -f $(find "${D}" -name "*_test.py") -} |