summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2012-11-25 12:49:23 +0000
committerIan Delaney <idella4@gentoo.org>2012-11-25 12:49:23 +0000
commit06ba14b74d606474d436572adda6821f36f3440d (patch)
tree96e889d712a03ea2e6d58c1c740ccbc29259e3b3 /dev-python
parentVersion bump, fix bug 441834 (diff)
downloadgentoo-2-06ba14b74d606474d436572adda6821f36f3440d.tar.gz
gentoo-2-06ba14b74d606474d436572adda6821f36f3440d.tar.bz2
gentoo-2-06ba14b74d606474d436572adda6821f36f3440d.zip
Change skiptest patch to delete test in place of skip subsequent to tip from Arfrever, leaving patch name as is
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/vatnumber/ChangeLog7
-rw-r--r--dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch34
-rw-r--r--dev-python/vatnumber/vatnumber-1.0.ebuild4
3 files changed, 21 insertions, 24 deletions
diff --git a/dev-python/vatnumber/ChangeLog b/dev-python/vatnumber/ChangeLog
index b78155f8b115..1239a374ba6b 100644
--- a/dev-python/vatnumber/ChangeLog
+++ b/dev-python/vatnumber/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/vatnumber
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/ChangeLog,v 1.2 2012/11/16 14:59:27 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/ChangeLog,v 1.3 2012/11/25 12:49:23 idella4 Exp $
+
+ 26 Nov 2012; Ian Delaney <idella4@gentoo.org>
+ files/vatnumber-1.0-skiptest.patch, vatnumber-1.0.ebuild:
+ Change skiptest patch to delete test in place of skip subsequent to tip from
+ Arfrever, leaving patch name as is
17 Nov 2012; Ian Delaney <idella4@gentoo.org>
+files/vatnumber-1.0-skiptest.patch, vatnumber-1.0.ebuild:
diff --git a/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
index 51a64790ff4d..9c99901cd45b 100644
--- a/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
+++ b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
@@ -1,26 +1,18 @@
+Remove test that accesses network, bug 440964
diff -ur vatnumber-1.0.orig/vatnumber/tests.py vatnumber-1.0/vatnumber/tests.py
--- vatnumber/tests.py 2011-09-28 18:32:09.000000000 +0800
-+++ vatnumber/tests.py 2012-11-17 14:07:12.965811387 +0800
-@@ -4,7 +4,11 @@
- Unit test for vatnumber
- '''
++++ vatnumber/tests.py 2012-11-26 12:32:46.177509425 +0800
+@@ -198,13 +198,6 @@
+ test = self.assertFalse
+ test(vatnumber.check_vat(code + number), code + number)
--import unittest
-+try:
-+ import unittest
-+except:
-+ import unittest2 as unittest
-+
- import vatnumber
-
- VAT_NUMBERS = [
-@@ -198,6 +202,7 @@
- test = self.assertFalse
- test(vatnumber.check_vat(code + number), code + number)
-
- def test_vies(self):
-+ @unittest.skip("test attempts to access network")
-+ def test_vies(self):
- '''
- Test vies
+- '''
+- Test vies
+- '''
+- for vat in VIES_NUMBERS:
+- self.assert_(vatnumber.check_vies(vat))
+-
+ def test_countries(self):
'''
+ Test countries
diff --git a/dev-python/vatnumber/vatnumber-1.0.ebuild b/dev-python/vatnumber/vatnumber-1.0.ebuild
index 7148997cf615..e75191f14058 100644
--- a/dev-python/vatnumber/vatnumber-1.0.ebuild
+++ b/dev-python/vatnumber/vatnumber-1.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/vatnumber-1.0.ebuild,v 1.2 2012/11/16 14:59:27 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/vatnumber-1.0.ebuild,v 1.3 2012/11/25 12:49:23 idella4 Exp $
EAPI="3"
-PYTHON_DEPEND="2"
+PYTHON_DEPEND="2:2.6"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils eutils