1 |
commit: 09f9a88a7ecc21e0306e7fa4e6668a98a1c2f8d5 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 08:58:56 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 08:58:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f9a88a |
7 |
|
8 |
dev-python/mygpoclient: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-python/mygpoclient/Manifest | 1 - |
14 |
dev-python/mygpoclient/files/tests.patch | 34 ------------------ |
15 |
dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild | 46 ------------------------ |
16 |
3 files changed, 81 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/mygpoclient/Manifest b/dev-python/mygpoclient/Manifest |
19 |
index 06c908eee9a..d2bd8cc299c 100644 |
20 |
--- a/dev-python/mygpoclient/Manifest |
21 |
+++ b/dev-python/mygpoclient/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST mygpoclient-1.7.tar.gz 36423 BLAKE2B 6331eff9d095a705cb805a8984f530b418d8f8f61dcb239fd3dba4236c8f376dcb329747887c4f22f66ca657525c3333ea260d5e2d2093a37d33dea43d2ca93d SHA512 618c94cea37f427fbef333a7cecade12fadda33bd727814b4ce904e74aae65d4ba85d7d09578b9e5b6b9fb0b2f6fe0f73abbd7f60d66b3d9b51dabb554169e9f |
24 |
DIST mygpoclient-1.8.tar.gz 43671 BLAKE2B 0a1c10c00a9ee034acc17bb5e28d1ebab50a14f3eea534f4a4277172251ce567a26e7ab66859a66d89d4adc06f44dfe5899edb0aeec45e90e461a4a8cb3ff337 SHA512 1edecd5ccb116c7f4017ebe6572439d87ff76501ed0628934e548dc0c9c041127a11ec9f4def4a54a6f7fabe46a461c863ec2ff2f8c14c3c67b5d1fd9285bb9f |
25 |
|
26 |
diff --git a/dev-python/mygpoclient/files/tests.patch b/dev-python/mygpoclient/files/tests.patch |
27 |
deleted file mode 100644 |
28 |
index 041cee501a0..00000000000 |
29 |
--- a/dev-python/mygpoclient/files/tests.patch |
30 |
+++ /dev/null |
31 |
@@ -1,34 +0,0 @@ |
32 |
-diff -ur mygpoclient-1.7.orig/mygpoclient/locator_test.py mygpoclient-1.7/mygpoclient/locator_test.py |
33 |
---- mygpoclient-1.7.orig/mygpoclient/locator_test.py 2013-02-08 19:39:32.000000000 +0800 |
34 |
-+++ mygpoclient-1.7/mygpoclient/locator_test.py 2013-03-09 23:33:37.137651841 +0800 |
35 |
-@@ -16,7 +16,7 @@ |
36 |
- # along with this program. If not, see <http://www.gnu.org/licenses/>. |
37 |
- |
38 |
- from mygpoclient import locator |
39 |
--import unittest |
40 |
-+import unittest, sys |
41 |
- |
42 |
- class Test_Exceptions(unittest.TestCase): |
43 |
- def setUp(self): |
44 |
-@@ -54,18 +54,21 @@ |
45 |
- podcast='http://example.org/episodes.rss', |
46 |
- device_id='gpodder') |
47 |
- |
48 |
-+ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy doesn't raise ValueError") |
49 |
- def test_device_settings_uri_exception(self): |
50 |
- """Test if using no parameter for a device Setting raises a ValueError""" |
51 |
- self.assertRaises(ValueError, |
52 |
- self.locator.settings_uri, type='device', |
53 |
- scope_param1=None, scope_param2=None) |
54 |
- |
55 |
-+ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy doesn't raise ValueError") |
56 |
- def test_podcast_settings_uri_exception(self): |
57 |
- """Test if using no parameter for a podcast Setting raises a ValueError""" |
58 |
- self.assertRaises(ValueError, |
59 |
- self.locator.settings_uri, type='podcast', |
60 |
- scope_param1=None, scope_param2=None) |
61 |
- |
62 |
-+ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy doesn't raise ValueError") |
63 |
- def test_episode_settings_uri_exception(self): |
64 |
- """Test if only using one parameter for a episode Setting raises a ValueError""" |
65 |
- self.assertRaises(ValueError, |
66 |
|
67 |
diff --git a/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild b/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild |
68 |
deleted file mode 100644 |
69 |
index e91e9b673f7..00000000000 |
70 |
--- a/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,46 +0,0 @@ |
73 |
-# Copyright 1999-2018 Gentoo Foundation |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
- |
76 |
-EAPI=5 |
77 |
- |
78 |
-PYTHON_COMPAT=( python2_7 pypy ) |
79 |
- |
80 |
-inherit distutils-r1 eutils |
81 |
- |
82 |
-DESCRIPTION="A gpodder.net client library" |
83 |
-HOMEPAGE="https://github.com/gpodder/mygpoclient |
84 |
- https://mygpoclient.readthedocs.io/en/latest/" |
85 |
-SRC_URI="https://github.com/gpodder/mygpoclient/archive/${PV}.tar.gz -> ${P}.tar.gz" |
86 |
- |
87 |
-LICENSE="GPL-3" |
88 |
-SLOT="0" |
89 |
-KEYWORDS="amd64 x86" |
90 |
-IUSE="test" |
91 |
- |
92 |
-RDEPEND="dev-python/simplejson" |
93 |
-DEPEND="${RDEPEND} |
94 |
- test? ( |
95 |
- dev-python/coverage[${PYTHON_USEDEP}] |
96 |
- dev-python/minimock |
97 |
- )" |
98 |
- |
99 |
-PATCHES=( "${FILESDIR}"/tests.patch ) |
100 |
- |
101 |
-src_prepare() { |
102 |
- distutils-r1_src_prepare |
103 |
- # Disable tests requring network connection. |
104 |
- rm -f mygpoclient/http_test.py |
105 |
-} |
106 |
- |
107 |
-python_test() { |
108 |
- if [[ "${EPYTHON:0:4}" == "pypy" ]]; then |
109 |
- nosetests --cover-erase --with-coverage --cover-package=mygpoclient "${BUILD_DIR}"/lib/${PN}/ |
110 |
- else |
111 |
- nosetests --cover-erase --with-coverage --with-doctest --cover-package=mygpoclient "${BUILD_DIR}"/lib/${PN}/ |
112 |
- fi |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- distutils-r1_src_install |
117 |
- rm -f $(find "${D}" -name "*_test.py") |
118 |
-} |