From f78108598211053d41752a83e0345441bb9014ae Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Feb 2018 16:09:52 +0000 Subject: gentoo resync : 11.02.2018 --- dev-python/vatnumber/Manifest | 4 +-- .../vatnumber/files/vatnumber-1.0-skiptest.patch | 18 ------------ .../vatnumber/files/vatnumber-1.1-skiptest.patch | 18 ++++++++++++ dev-python/vatnumber/vatnumber-1.1-r1.ebuild | 32 ++++++++++++++++++++++ dev-python/vatnumber/vatnumber-1.1.ebuild | 32 ---------------------- 5 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch create mode 100644 dev-python/vatnumber/files/vatnumber-1.1-skiptest.patch create mode 100644 dev-python/vatnumber/vatnumber-1.1-r1.ebuild delete mode 100644 dev-python/vatnumber/vatnumber-1.1.ebuild (limited to 'dev-python/vatnumber') diff --git a/dev-python/vatnumber/Manifest b/dev-python/vatnumber/Manifest index edd7cebceb50..db24c480f938 100644 --- a/dev-python/vatnumber/Manifest +++ b/dev-python/vatnumber/Manifest @@ -1,4 +1,4 @@ -AUX vatnumber-1.0-skiptest.patch 605 BLAKE2B 1da3cabc9d90dd0cd79c65c57bcdeb180de5bac7c010ce2a722df2f0e0388a37ba9cd320d6179583cac24fceaab3b014cea4889b8577469dd20a4c7790fd5193 SHA512 dc9a45a9bfb0862aa22f9ea913480dc5e8873a49a3ee1f6d395850efe046eaded347e4bb5848ddfe80dc51780e0688f0b9664895b446268a78d3c4c23c3460fa +AUX vatnumber-1.1-skiptest.patch 605 BLAKE2B 1da3cabc9d90dd0cd79c65c57bcdeb180de5bac7c010ce2a722df2f0e0388a37ba9cd320d6179583cac24fceaab3b014cea4889b8577469dd20a4c7790fd5193 SHA512 dc9a45a9bfb0862aa22f9ea913480dc5e8873a49a3ee1f6d395850efe046eaded347e4bb5848ddfe80dc51780e0688f0b9664895b446268a78d3c4c23c3460fa DIST vatnumber-1.1.tar.gz 22032 BLAKE2B d9b4a0ebebf12f61c96fec1f7ae0ae1da577a161be8381fd9ff8da3787391bd6554ed11d0ca393d37ed25edc0fcbdf8b49d7b942be0a42ca620a58b7709bb67e SHA512 286be890f37dc3ea97beea22f6e34402a9e40738b33a94f98e16a09801656f64fde9f290ed857c5df1fd44896a9e0fbcbfcc8f1dbe2f1314015e473dadc0ebbe -EBUILD vatnumber-1.1.ebuild 673 BLAKE2B dd17787e89ab33a3e51f3ceeee799eaa583e2837f010102dbc202c22599b83c6c705ddd4a5ae46147e18fe6ada68dd1295e449b635e65ef05815a810868fa98c SHA512 b14596a46910352c5f2403dc6cd9cede2cb08526ab7befcdc0a056d5cd8456ba4ec2b78667a4c830bcbe7e337cc0c0a526a194c0b2910a3c6b43ac77fb2f8edf +EBUILD vatnumber-1.1-r1.ebuild 704 BLAKE2B 7cf1e901294709763bf862a012035d46e69d5c48803317367352ab945a45de83cf34e355e094a2e9cc32517dace710465b5ba3d66557910f1117f0c9fd31cbcd SHA512 ca3a207a816834a6971932b5c1949be8629ff1a0a3cb5052c2678355b3420ff053c360619b23aaab368198c2fb77f1fb0ed6fb183d1d9a7a47ef3437e5f663c0 MISC metadata.xml 455 BLAKE2B c24366cd226b8811bf2de929543bbde931d4ca0d3476fb86b55cda242943a015ff232a10672765a0690114ad3c0ddeae601ba0e4c4a5123063170472b3c00a8d SHA512 909a3ea15c3956e7e0a1d6674bd0c1d5f244d9f2df1b7624cd65c6733dd2101d9508e47790ed45106083026dc6fc4bfd16a090c3ca1393422fa7cc90456707da diff --git a/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch deleted file mode 100644 index 9c99901cd45b..000000000000 --- a/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch +++ /dev/null @@ -1,18 +0,0 @@ -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-26 12:32:46.177509425 +0800 -@@ -198,13 +198,6 @@ - test = self.assertFalse - test(vatnumber.check_vat(code + number), code + number) - -- def test_vies(self): -- ''' -- 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/files/vatnumber-1.1-skiptest.patch b/dev-python/vatnumber/files/vatnumber-1.1-skiptest.patch new file mode 100644 index 000000000000..9c99901cd45b --- /dev/null +++ b/dev-python/vatnumber/files/vatnumber-1.1-skiptest.patch @@ -0,0 +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-26 12:32:46.177509425 +0800 +@@ -198,13 +198,6 @@ + test = self.assertFalse + test(vatnumber.check_vat(code + number), code + number) + +- def test_vies(self): +- ''' +- 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.1-r1.ebuild b/dev-python/vatnumber/vatnumber-1.1-r1.ebuild new file mode 100644 index 000000000000..88d6a393a51e --- /dev/null +++ b/dev-python/vatnumber/vatnumber-1.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Module to validate VAT numbers" +HOMEPAGE="https://pypi.python.org/pypi/vatnumber/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test vies" + +RDEPEND="vies? ( dev-python/suds[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/suds[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/${P}-skiptest.patch ) + +python_test() { + esetup.py test +} + +src_install() { + distutils-r1_src_install + dodoc COPYRIGHT README CHANGELOG +} diff --git a/dev-python/vatnumber/vatnumber-1.1.ebuild b/dev-python/vatnumber/vatnumber-1.1.ebuild deleted file mode 100644 index 2d00115728cb..000000000000 --- a/dev-python/vatnumber/vatnumber-1.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 pypy ) - -inherit distutils-r1 - -DESCRIPTION="Module to validate VAT numbers" -HOMEPAGE="https://pypi.python.org/pypi/vatnumber/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test vies" - -RDEPEND="vies? ( dev-python/suds )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/suds )" - -PARCHES=( "${FILESDIR}"/${P}-skiptest.patch ) - -python_test() { - esetup.py test -} - -src_install() { - distutils-r1_src_install - dodoc COPYRIGHT README CHANGELOG -} -- cgit v1.2.3