diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-03-09 15:47:25 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-03-09 15:47:25 +0000 |
commit | c185bf7796aaaaebb499876ecc3409e6c821d8ae (patch) | |
tree | 304f70cba8579769ed247b5ec8c69eb75be8cbd3 /dev-python/mygpoclient | |
parent | Version bump. Bug #460898 (diff) | |
download | historical-c185bf7796aaaaebb499876ecc3409e6c821d8ae.tar.gz historical-c185bf7796aaaaebb499876ecc3409e6c821d8ae.tar.bz2 historical-c185bf7796aaaaebb499876ecc3409e6c821d8ae.zip |
revbump
Package-Manager: portage-2.1.11.40/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/mygpoclient')
-rw-r--r-- | dev-python/mygpoclient/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mygpoclient/Manifest | 14 | ||||
-rw-r--r-- | dev-python/mygpoclient/files/tests.patch | 34 | ||||
-rw-r--r-- | dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild | 46 |
4 files changed, 100 insertions, 2 deletions
diff --git a/dev-python/mygpoclient/ChangeLog b/dev-python/mygpoclient/ChangeLog index cc7fa712debe..39b6ad4575d1 100644 --- a/dev-python/mygpoclient/ChangeLog +++ b/dev-python/mygpoclient/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mygpoclient # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mygpoclient/ChangeLog,v 1.4 2013/02/22 05:57:48 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mygpoclient/ChangeLog,v 1.5 2013/03/09 15:47:03 idella4 Exp $ + +*mygpoclient-1.7-r1 (09 Mar 2013) + + 09 Mar 2013; Ian Delaney <idella4@gentoo.org> +files/tests.patch, + +mygpoclient-1.7-r1.ebuild: + revbump *mygpoclient-1.7 (22 Feb 2013) diff --git a/dev-python/mygpoclient/Manifest b/dev-python/mygpoclient/Manifest index f25c615b0ac5..dda0cedc58e1 100644 --- a/dev-python/mygpoclient/Manifest +++ b/dev-python/mygpoclient/Manifest @@ -1,8 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX tests.patch 1727 SHA256 86f27b2954a77e23856df3a93298161b7bf97f0053bbcca0f128ef06b50c084f SHA512 dfd7f07575cf0816ac1072757e5ee64d696fda020ec7baaa492f97309a55f8c8758f87b1aa75752550beb2fc83a953b2937b746f8672ecd1370d283c20a4c21e WHIRLPOOL 6cfe92316f13853e0837d3e701970063f2f825dcf9049ba4725153fa095e78c024a486ae70eea6b32d2f54244d32a8c6f586fc7d8db3cf2990007d15998b6bbd DIST mygpoclient-1.5.tar.gz 30719 SHA256 bd3f31fa082965e3005cf725a09444bcc77600de355e1ee795e7af53fcae568b SHA512 5cd17af5b0bbe38c2f6d40775022e619362cfd2fafb2500856c0239dc237ca34e8a274b888c96913c81ac90caf6ffaa3f31e40a0290fee20d6c3b5ff0e1fcf12 WHIRLPOOL 244e56d6ce3dd82db9c9c43b1f160906bd8350c49f82d28481aa0bc71e895fa4204ddd667ce99acdd76f5ea1a7340b83cb268c1c186fbcd5718e391ca751ed6a DIST mygpoclient-1.6.tar.gz 32203 SHA256 0554bf1ab2fe4c6b7c3a7c1cdac7088be4427e77c4b63d797e722789d90c7cf7 SHA512 b7a3dd5b85258df1fc0487b9afaf52d52f5e76e3980e2f94f025228d7fdfb5ccce79f91585bbbb3f519b67eb0957772612b38c58207ff2cbcad3f3b7c0e66a28 WHIRLPOOL 932b83cd763f5e9267792762e5dad748f976b0de5372ca757d748290ba27bad00a0519bdddac09ad15757c98daa5d695f864b0c81ae3e591f0d0569498201837 DIST mygpoclient-1.7.tar.gz 35890 SHA256 6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e SHA512 95e5920799300590830be6fba9d48fcd0398cab9eb07e34c9f07254f01f0fd483a3f117434a536c82fa8b1c846017919c9e3cbb7e848109912d9c38a347f896c WHIRLPOOL bb325dc6d824c7f8bc46d216011607314485f8065277e40b4521360b0fcf23b9c66804cf173a9f21d4000621df158c48c7f1f4f57f1fc175c70df1bff5338a25 EBUILD mygpoclient-1.5.ebuild 1055 SHA256 2942252a0cb8186c720ea1253489e99382db028831e2af4fdbba3dce8b8e008d SHA512 e9cb50e0229a2ed3919c3b159bfe097753986c23709297b08c4a9935d4cb8033167260c7e4f8e4aa76736b19eebbfd5eb84c5cbf4235d3ff47fafb90ce517e45 WHIRLPOOL 767c7680279f0bbdc699bca2b0d0e41526482e036fa5109ebcd115634b540746267880b0302675b6918356f6e15f6fdcd67dad9531839cd2ee3dbf9b777c62d3 EBUILD mygpoclient-1.6.ebuild 1054 SHA256 191f973c1e4acacf342b6539189cfe64fa9926101b6e8e4138dba7def7b980b4 SHA512 b87b9c90d4c0b09bedbf978920b3a0fd90ccee23a6349e4553051b41c68d7a83a9a946bfcd36cc51e0cdf6c740fee3c33622220cc0b6c6c503e4004c755eb62b WHIRLPOOL e07606fecf9e1c05d50f9715cd265839ae5c4f5f8e75406619d8768cd4618a59424b1aa6c7fa07e8b9ed3201c7ec2c642810812f8c0aaf4c8101fb334dabd552 +EBUILD mygpoclient-1.7-r1.ebuild 1159 SHA256 d5fa1e2739430f10e260d3e719bffcbfbfbdc73c9d7cc27ce2aa34c735dec6ad SHA512 cede77cb167bd78b8fc045ce085b7e9d0f211701e8a6a5bc6db1b07ee3213e044d07b07f24fdcd990d07a753d468508fcbfa2373a1c58f79b4c1b0df3c21b499 WHIRLPOOL 73fe07d1d9e430f1d7a0de003412ec1b6dec3b6e65f5e2707237e75cdac2ad7ba2cb0d5a2c9f6033aa32f011608ddea5581f6fb06c9b2b78bd80adf65d19cefb EBUILD mygpoclient-1.7.ebuild 1054 SHA256 4e95f2ca5b688f53bb561e78d223053355aa86cf58ca15d374dbfa3b7f856eb2 SHA512 a1928fadf3994cd7e27ef0b780094946a3613cfc2b5adfbe62493a7470f46ee95628c8685932b5d7df695c7a37462ba30d0c2dfc9d6dd51e7c3fc13d152dcc64 WHIRLPOOL 6d4fbc36fda315b98621cb191c5a5b75a0bc4439f15a8bd3900b51b3448f613944a8ebbe0578634a9940115b028efbe706aa652067f5966ae32f148a00139132 -MISC ChangeLog 837 SHA256 363516e9f2d656ba936fcb2258bebea1fb3b8a05828ff23ac4057f0a140939ae SHA512 39ce3436f85e4e6fa120a04cbd99f66a4776130b0a767abd08f3eeedd4e6692ae5f4ad2b4469795711527d8e9c128090c785e806cace5782a1073e13656bbc18 WHIRLPOOL acfcab6c4db2a408ca2006f1b9b80e65359089356fc51325fc17db9f88d9cdf517976171675fabf4d6761e894039fec1071815248e7bc8bdddce2083a2aaa1bc +MISC ChangeLog 981 SHA256 776decedc10ca95043bfe862c51a56a685c5a121ab0d47f85d55d9cbfc25154d SHA512 bba9f41e2d76ddef8950291773ff68662a9973ce03e0ec7c73ce5135700649cca4bcb65a500311273af3cb74187401f4ded87947fe4d4047c9ef6454b38039b3 WHIRLPOOL 5310b89680f6541175640565fda22a756d4863ac4a04d5f1ae9f21579268f83b5e120ce14f8eb3c111e3d7d949f8e69fd23172b19e0593fe613b078e278f34cd MISC metadata.xml 178 SHA256 fa8725e24d90081ca3ae39f5c5501553bb2911d4f0f12157aeaeddad6ccb8189 SHA512 953968f768c9e64988670e2109a262c170381d8bba4bc887a54e17565b13d1c8fa911bdc59610f49d96b37f324aa0488471019695e3ac4b4a6c8383763a843e0 WHIRLPOOL 66136702093e4ae35b666e1f7287f80f5ccc21abf90ae30e5199a379e840e009a456b6038ebbcb3b963c548046d25bcfcc4071063f8aca6a7297b33a7628f896 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlE7WYEACgkQso7CE7gHKw0XmACfRXDorPHXqzKV9lq/nTsKi+0p +WksAn136uYA0EBREiF0qINWtsJTamowk +=Jnj9 +-----END PGP SIGNATURE----- diff --git a/dev-python/mygpoclient/files/tests.patch b/dev-python/mygpoclient/files/tests.patch new file mode 100644 index 000000000000..041cee501a00 --- /dev/null +++ b/dev-python/mygpoclient/files/tests.patch @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..366a044f2997 --- /dev/null +++ b/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mygpoclient/mygpoclient-1.7-r1.ebuild,v 1.1 2013/03/09 15:47:03 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy{1_9,2_0} ) + +inherit distutils-r1 eutils + +DESCRIPTION="A gpodder.net client library" +HOMEPAGE="http://thp.io/2010/mygpoclient/" +SRC_URI="http://thp.io/2010/${PN}/${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") +} |