summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2012-11-16 14:59:55 +0000
committerIan Delaney <idella4@gentoo.org>2012-11-16 14:59:55 +0000
commit823cc37782518996cdd86d989061b66a8632a4c0 (patch)
tree8127f8b441e400476408aff6256923d70dd0496b /dev-python/vatnumber
parentRemove now unnecessary toolchain-funcs inherit (diff)
downloadhistorical-823cc37782518996cdd86d989061b66a8632a4c0.tar.gz
historical-823cc37782518996cdd86d989061b66a8632a4c0.tar.bz2
historical-823cc37782518996cdd86d989061b66a8632a4c0.zip
files/patch added to skip test acessing network, fixes Bug #440964 by flameeyes
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/vatnumber')
-rw-r--r--dev-python/vatnumber/ChangeLog7
-rw-r--r--dev-python/vatnumber/Manifest15
-rw-r--r--dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch26
-rw-r--r--dev-python/vatnumber/vatnumber-1.0.ebuild8
4 files changed, 51 insertions, 5 deletions
diff --git a/dev-python/vatnumber/ChangeLog b/dev-python/vatnumber/ChangeLog
index 1c08d2d8425c..b78155f8b115 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.1 2012/10/30 09:09:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/ChangeLog,v 1.2 2012/11/16 14:59:27 idella4 Exp $
+
+ 17 Nov 2012; Ian Delaney <idella4@gentoo.org>
+ +files/vatnumber-1.0-skiptest.patch, vatnumber-1.0.ebuild:
+ files/patch added to skip test acessing network, fixes Bug #440964 by
+ flameeyes
*vatnumber-1.0 (30 Oct 2012)
diff --git a/dev-python/vatnumber/Manifest b/dev-python/vatnumber/Manifest
index 4f1018724b34..9e1acb4881dc 100644
--- a/dev-python/vatnumber/Manifest
+++ b/dev-python/vatnumber/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX vatnumber-1.0-skiptest.patch 654 SHA256 ea7580681527bcdd0c40ce34edb2e57bbeebd493d43f8127068f37850756d9d6 SHA512 11a5ecfb4b199fd167f850cc112615b140eeb92b26a9092927ce066326f8319e1f165e4d8adfe39856760de7c86cd73b7d235adea307c7fcdbd96797bf3e651a WHIRLPOOL 435cdb5747d7a9f68b9ebbb7dbc8633535ac766e3e90e95dd17c680c445d519e6cff5b99a2d2136aa27dcbe9ff9353ec776009b984693880c0da13489e929ef5
DIST vatnumber-1.0.tar.gz 21693 SHA256 6ef6103f7ecf09cdf32b87bb1c87616b72b9546e4b364a3b66d2b0b4b340665a SHA512 b21a4afd63e2070b7934d19bf28e5f722a3135e165e438ff68080c1a66719d4dfe7da7b33880d684be6d872ef6bc3aab77a05c3cd7ed5790c3d04f26d563ec10 WHIRLPOOL 42efc62182c8037c1ff44c68e5052d33a50c356d1b71833843f292e444b68b78cecb091bda4c179bb2c7c87a9c852851d5472e21a1a5d76d759ccf4a07871739
-EBUILD vatnumber-1.0.ebuild 731 SHA256 d9dde7c2d9e307451151e391feb77497b9ab242d03c5dd75bdf067c0cbf71117 SHA512 2897b1b35a3ceb6105d9a4db799eef8bd2903152c80f67b5edc5dadfdd8acaa441f24ac4a75ff37a93e629599cd0fdef03525304b4a4a796bec064ce2f2ac53b WHIRLPOOL 2a9f4e68d52f50738f700acf4cc1be44338562c6b2c94a403673a4fb53072086cdfbc2b33d2db0c1727fa02c471ae6c2857e4c16c36393df6804bd06ce87ef0b
-MISC ChangeLog 380 SHA256 f622b85b4ea6d2fa207cb57e18b3bce9a0b87fd223dfd0967fe12abc91c78e10 SHA512 dd818ccc77b77221c26f2328e1a07dcc402330c540aa5cc04c4c6bc3c111bd490f414ef7891831d17926bced497e7169a71c2064020ffc801d03216948fa4345 WHIRLPOOL 5a29c9067085329f02f399939b1c6ac62b98dd9389c5d3c7f95a9a5ffd41247364cac94a0c05355dd3af49d160a46b232a5148873f18463dbc9c87365ea6c00f
+EBUILD vatnumber-1.0.ebuild 799 SHA256 f1ee73cd1970c1ad6ba2a3d1f86e4fe38bb6311dcec0e9544431101a455910de SHA512 260e5ea341cf22c33823d697aaefed5fb312db88ee0c8f4791279fd931e3553d2eeb37083c413558a858481c199faaf2823c063da1d7f06f009fc4859ae4d02d WHIRLPOOL ff2b24e6673c6ef3b25bf7e441c7d6cc90fbc778feb4760a8c41c8866b9321cc2d4359cd7fa59eed5182f6a4b536bf4071311711fc1383c7ae673215907197f9
+MISC ChangeLog 574 SHA256 55637bfb81f280229b0fdf35a0c27e4b2c211079fa44c30ab28cbc633fc6f1ef SHA512 c6ada01da2fe9b70de464f1e3d00e53e7ce460f2ad7f6259f2ee91edef9ac4807bea3e032b9014cecca770556ecd838576896ada3d7fe68e54f73e292d1d06e2 WHIRLPOOL 162eb31371f93fedad7f34a4de29b61cca6f8ca1bbb8d363a3b05a74bf764ee0ce3f71f83388eb3a2a56286aca4f14f567389f6c58d3835453d2a18925b3da7d
MISC metadata.xml 304 SHA256 ad334509395a72a9fcd88ef53ed1da79852790604b1a99936005cad60fa8627f SHA512 4a9fa8f8b806637e5c437cb5678f9d8fdb5663d2862be1a99bf04f25c3de1a14176c4d736fd0a0f9d3cfbbaaaf06ae9315a4544665b7d38042b9638ccf15534f WHIRLPOOL 0e8b8468f019ffd7a08c761dae2393cae63189a0b9cc9a63528b5979b2c9cc0661b27f1472c98eb8a6a0a8abb7bc9f1c7b93905bbe60b7b41123a0239cc9e60d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlCnNcYACgkQso7CE7gHKw1uQwCdHpDJqUFQb1OcyT28DqLttQOR
++kEAnj2dQzC57+vifbTlECyLRM1dW8JG
+=ajZW
+-----END PGP SIGNATURE-----
diff --git a/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
new file mode 100644
index 000000000000..51a64790ff4d
--- /dev/null
+++ b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
@@ -0,0 +1,26 @@
+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
+ '''
+
+-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
+ '''
diff --git a/dev-python/vatnumber/vatnumber-1.0.ebuild b/dev-python/vatnumber/vatnumber-1.0.ebuild
index efbd21a94921..7148997cf615 100644
--- a/dev-python/vatnumber/vatnumber-1.0.ebuild
+++ b/dev-python/vatnumber/vatnumber-1.0.ebuild
@@ -1,12 +1,12 @@
# 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.1 2012/10/30 09:09:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/vatnumber-1.0.ebuild,v 1.2 2012/11/16 14:59:27 idella4 Exp $
EAPI="3"
PYTHON_DEPEND="2"
DISTUTILS_SRC_TEST="setup.py"
-inherit distutils
+inherit distutils eutils
DESCRIPTION="Module to validate VAT numbers"
HOMEPAGE="http://code.google.com/p/vatnumber/"
@@ -24,6 +24,10 @@ DEPEND="${RDEPEND}
PYTHON_MODNAME="vatnumber"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-skiptest.patch
+}
+
src_install() {
distutils_src_install
dodoc COPYRIGHT README CHANGELOG