1 |
commit: 0f6a64d9b0a5715bf048ed592a690866f645aab5 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Tue Apr 28 20:24:53 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 28 21:02:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6a64d9 |
7 |
|
8 |
dev-python/ioflo-1.7.8: Version bump |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/ioflo/Manifest | 1 + |
15 |
.../ioflo/files/ioflo-1.7.8-network-test.patch | 32 ++++++++++++++++++++++ |
16 |
dev-python/ioflo/ioflo-1.7.8.ebuild | 26 ++++++++++++++++++ |
17 |
3 files changed, 59 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/ioflo/Manifest b/dev-python/ioflo/Manifest |
20 |
index c35fb8a1726..c191ce0d46f 100644 |
21 |
--- a/dev-python/ioflo/Manifest |
22 |
+++ b/dev-python/ioflo/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST ioflo-1.7.5.tar.gz 838342 BLAKE2B 2eff6af7586400ff562999679b861079184757c951e006d2f300ec894dd17fa9c2ed975781109f6d3bd2cabf0e038ccf81d9f9aeac742313eedaabb59b5a1c82 SHA512 886767d72c4067727d47652fba157a76ecd8a6a5478a761feb3923992ffc585addfe892027ade104c5d44a56fd1645c0548ce3b554553f58e1104864c359470b |
25 |
+DIST ioflo-1.7.8.tar.gz 838925 BLAKE2B 2df2635990292c416cd4dc3bed5efedce29e494e2488ef5d23294e06ccaaa7f148fd5115ada0fb19dedfc090038ace48027d0bd9eb84a2e2c2c2be223ef2e4eb SHA512 eb6c8e28b915860184beef80281c6d0b0ade851a0d5727005abeca48ee23ba6711de2e1733d2d83d195eb88c0382a626cd7f8e3b5d24d4162409d1d67b225c95 |
26 |
|
27 |
diff --git a/dev-python/ioflo/files/ioflo-1.7.8-network-test.patch b/dev-python/ioflo/files/ioflo-1.7.8-network-test.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..32c7f51298c |
30 |
--- /dev/null |
31 |
+++ b/dev-python/ioflo/files/ioflo-1.7.8-network-test.patch |
32 |
@@ -0,0 +1,32 @@ |
33 |
+diff --git a/ioflo/aio/udp/test/test_udping.py b/ioflo/aio/udp/test/test_udping.py |
34 |
+index 9aefdf0..ec44721 100644 |
35 |
+--- a/ioflo/aio/udp/test/test_udping.py |
36 |
++++ b/ioflo/aio/udp/test/test_udping.py |
37 |
+@@ -122,6 +122,7 @@ class BasicTestCase(unittest.TestCase): |
38 |
+ shutil.rmtree(tempDirpath) |
39 |
+ console.reinit(verbosity=console.Wordage.concise) |
40 |
+ |
41 |
++ @unittest.skip("needs network access") |
42 |
+ def testBroadcast(self): |
43 |
+ """ |
44 |
+ Test Class SocketUdpNb |
45 |
+diff --git a/ioflo/base/test/test_logging.py b/ioflo/base/test/test_logging.py |
46 |
+index 0b8ce13..b64d469 100644 |
47 |
+--- a/ioflo/base/test/test_logging.py |
48 |
++++ b/ioflo/base/test/test_logging.py |
49 |
+@@ -33,6 +33,7 @@ def tearDownModule(): |
50 |
+ console.reinit(verbosity=console.Wordage.concise) |
51 |
+ |
52 |
+ |
53 |
++@××××××××.skip("needs network access") |
54 |
+ class LoggerTestCase(testing.LoggerIofloTestCase): |
55 |
+ """ |
56 |
+ Example TestCase |
57 |
+@@ -927,6 +928,7 @@ class LoggerTestCase(testing.LoggerIofloTestCase): |
58 |
+ pass |
59 |
+ |
60 |
+ |
61 |
++@××××××××.skip("needs network access") |
62 |
+ class HouseTestCase(testing.HouseIofloTestCase): |
63 |
+ """ |
64 |
+ Example TestCase |
65 |
|
66 |
diff --git a/dev-python/ioflo/ioflo-1.7.8.ebuild b/dev-python/ioflo/ioflo-1.7.8.ebuild |
67 |
new file mode 100644 |
68 |
index 00000000000..ee435892271 |
69 |
--- /dev/null |
70 |
+++ b/dev-python/ioflo/ioflo-1.7.8.ebuild |
71 |
@@ -0,0 +1,26 @@ |
72 |
+# Copyright 1999-2020 Gentoo Authors |
73 |
+# Distributed under the terms of the GNU General Public License v2 |
74 |
+ |
75 |
+EAPI=7 |
76 |
+ |
77 |
+PYTHON_COMPAT=(python3_6) |
78 |
+inherit distutils-r1 |
79 |
+ |
80 |
+DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework" |
81 |
+HOMEPAGE="https://github.com/ioflo/ioflo/" |
82 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
83 |
+ |
84 |
+LICENSE="Apache-2.0" |
85 |
+SLOT="0" |
86 |
+KEYWORDS="~amd64 ~x86" |
87 |
+ |
88 |
+PATCHES=( |
89 |
+ "${FILESDIR}/ioflo-1.7.8-network-test.patch" |
90 |
+) |
91 |
+ |
92 |
+distutils_enable_tests unittest |
93 |
+ |
94 |
+python_prepare_all() { |
95 |
+ sed -e 's:"setuptools_git[^"]*",::' -i setup.py || die |
96 |
+ distutils-r1_python_prepare_all |
97 |
+} |