From aeb34c47a1042b074096bacb85205617c8a14d3a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 25 Jul 2022 02:55:08 +0100 Subject: gentoo auto-resync : 25:07:2022 - 02:55:08 --- dev-python/mygpoclient/Manifest | 4 --- .../files/mygpoclient-1.8-fix-literal.patch | 35 -------------------- .../mygpoclient/files/mygpoclient-1.8-tests.patch | 34 -------------------- dev-python/mygpoclient/mygpoclient-1.8.ebuild | 37 ---------------------- 4 files changed, 110 deletions(-) delete mode 100644 dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch delete mode 100644 dev-python/mygpoclient/files/mygpoclient-1.8-tests.patch delete mode 100644 dev-python/mygpoclient/mygpoclient-1.8.ebuild (limited to 'dev-python/mygpoclient') diff --git a/dev-python/mygpoclient/Manifest b/dev-python/mygpoclient/Manifest index 666e3ccd1914..d19d085727b7 100644 --- a/dev-python/mygpoclient/Manifest +++ b/dev-python/mygpoclient/Manifest @@ -1,7 +1,3 @@ -AUX mygpoclient-1.8-fix-literal.patch 1376 BLAKE2B e538cd673ae420e86cc68a8e8a93a20ab5714e2e44f864b62dfa2b2944fc5ba2c4df780079fac1db1ec531fc819b6c005bb727cd7ec95163f82d82ed6e6d256d SHA512 80409bb7419561e35f6200d0788e4e82c67b29114a5822c18f8559a280c5aab4bdfd3a263c1eeb3ab67ef17e95430e19723a8a8fc890644427811be6cc6ef9c2 -AUX mygpoclient-1.8-tests.patch 1635 BLAKE2B fb92cd995755013dbb2b35424de88d5c949485e818be45e00c89192bb60b9506690b971fd586c08d7be31e7680c54586a015cd8dee299320fbbccf87c9ea70ab SHA512 9036f3328ed4980858db07f57661300e429c15ca8159118067d1385f8cf0ed5fcbcb7ef498dd12336c9fe2b8e5d22c944b8cd1f4043d418c5ce2b706a47aa239 -DIST mygpoclient-1.8.tar.gz 43671 BLAKE2B 0a1c10c00a9ee034acc17bb5e28d1ebab50a14f3eea534f4a4277172251ce567a26e7ab66859a66d89d4adc06f44dfe5899edb0aeec45e90e461a4a8cb3ff337 SHA512 1edecd5ccb116c7f4017ebe6572439d87ff76501ed0628934e548dc0c9c041127a11ec9f4def4a54a6f7fabe46a461c863ec2ff2f8c14c3c67b5d1fd9285bb9f DIST mygpoclient-1.9.gh.tar.gz 44998 BLAKE2B 5feb17fbcdd02c632a11d9ae685b099addd2fed056e72d532e6391b707cfc46e694182ea4e5d7334be10796b5bb19b2d8cbceafe0b69798206f5ec41ca337913 SHA512 57502295725d3a1351e877998442141dd596927215d3746786c12db061ebe3bdf8282e8b2d554997515a558f608c0815e4caad311ad3f1ea9f5b62321e8d6635 -EBUILD mygpoclient-1.8.ebuild 836 BLAKE2B fda0a3569b1d605497bf10d6499806acdaf57bbbf70c783e2b35fcc1617535c6ec224ebb3c335d5e11a8b7f03f2bf26b86c3f3aef595ec601f25d8764c2d87d1 SHA512 d694c61cf3b353fc86b00367fd4a8d3d3e8b49b829d1447ffe7b571e567fa9996effa71dc46408d8a4e3e2731e13f99677f74f4972f7a5a553fb53ca020d3563 EBUILD mygpoclient-1.9.ebuild 621 BLAKE2B 5c5bb166631ee5080fc2590fd17341a7b617b3cc74ca88b288b4fae13750c78631f590bf01b1a70005e7c1b16a98e7c0430b34d371a64e6eef95b099602e0620 SHA512 35f725551ab26d95780cee8417bbecd143a8e3b51abe8fbd2539d9308a42fd8354b83b514581e58e694570075584c13b529e10ec211558564f24f81fd76ad3cd MISC metadata.xml 512 BLAKE2B 2ff1435acc5efe1b4390e91957781baa2d555f127de82ceeefb7349f5c4b553a56924e0ecfe698e8a570da8a6d5ef462240a4c5b2f00c65918f2a175596fa9d5 SHA512 c89fef8499773f751d23d33d7c4407be85286ccf88f93f5fdc630a86602de024e2f3cb014837877f7b70012a3dac8625263fa8898aaf5c0675f0fa3afac31b20 diff --git a/dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch b/dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch deleted file mode 100644 index 372d0bc2bc40..000000000000 --- a/dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch +++ /dev/null @@ -1,35 +0,0 @@ -From bdf8c8ce38cff8938bab3544c6dbb0d509ce7720 Mon Sep 17 00:00:00 2001 -From: Eric Le Lay -Date: Sun, 22 Mar 2020 16:19:08 +0100 -Subject: [PATCH] use == for comparison with literal - -See https://bugs.python.org/issue34850 ---- - mygpoclient/locator.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/mygpoclient/locator.py b/mygpoclient/locator.py -index c0dc9d7..810f973 100644 ---- a/mygpoclient/locator.py -+++ b/mygpoclient/locator.py -@@ -317,17 +317,17 @@ def settings_uri(self, type, scope_param1, scope_param2): - - filename = self._username + '/%(type)s.json' % locals() - -- if type is 'device': -+ if type == 'device': - if scope_param1 is None: - raise ValueError('Devicename not specified') - filename += '?device=%(scope_param1)s' % locals() - -- if type is 'podcast': -+ if type == 'podcast': - if scope_param1 is None: - raise ValueError('Podcast URL not specified') - filename += '?podcast=%s' % quote(scope_param1) - -- if type is 'episode': -+ if type == 'episode': - if (scope_param1 is None) or (scope_param2 is None): - raise ValueError('Podcast or Episode URL not specified') - filename += '?podcast=%s&episode=%s' % (quote(scope_param1), quote(scope_param2)) diff --git a/dev-python/mygpoclient/files/mygpoclient-1.8-tests.patch b/dev-python/mygpoclient/files/mygpoclient-1.8-tests.patch deleted file mode 100644 index 94a37be8232f..000000000000 --- a/dev-python/mygpoclient/files/mygpoclient-1.8-tests.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -Naur a/mygpoclient/locator_test.py b/mygpoclient/locator_test.py ---- a/mygpoclient/locator_test.py 2018-03-27 02:18:57.711105496 -0300 -+++ b/mygpoclient/locator_test.py 2018-03-27 02:22:02.201109125 -0300 -@@ -16,7 +16,7 @@ - # along with this program. If not, see . - - 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.8.ebuild b/dev-python/mygpoclient/mygpoclient-1.8.ebuild deleted file mode 100644 index 7992f3b024a2..000000000000 --- a/dev-python/mygpoclient/mygpoclient-1.8.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -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" - -BDEPEND="test? ( dev-python/minimock[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/${P}-fix-literal.patch - "${FILESDIR}"/${PN}-1.8-tests.patch -) - -distutils_enable_tests nose - -src_prepare() { - # Disable tests requring network connection. - rm mygpoclient/http_test.py || die - - distutils-r1_src_prepare -} - -src_install() { - distutils-r1_src_install - find "${D}" -name "*_test.py" -delete || die -} -- cgit v1.2.3