From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/twisted-pair/Manifest | 6 +++++ dev-python/twisted-pair/files/14.0.0-tests.patch | 26 ++++++++++++++++++++++ dev-python/twisted-pair/metadata.xml | 8 +++++++ dev-python/twisted-pair/twisted-pair-13.2.0.ebuild | 19 ++++++++++++++++ dev-python/twisted-pair/twisted-pair-15.2.1.ebuild | 22 ++++++++++++++++++ 5 files changed, 81 insertions(+) create mode 100644 dev-python/twisted-pair/Manifest create mode 100644 dev-python/twisted-pair/files/14.0.0-tests.patch create mode 100644 dev-python/twisted-pair/metadata.xml create mode 100644 dev-python/twisted-pair/twisted-pair-13.2.0.ebuild create mode 100644 dev-python/twisted-pair/twisted-pair-15.2.1.ebuild (limited to 'dev-python/twisted-pair') diff --git a/dev-python/twisted-pair/Manifest b/dev-python/twisted-pair/Manifest new file mode 100644 index 000000000000..5c4270607a15 --- /dev/null +++ b/dev-python/twisted-pair/Manifest @@ -0,0 +1,6 @@ +AUX 14.0.0-tests.patch 1123 BLAKE2B 199f563ae287a0f3e2f3b1adde2406901d0e88506076b07346599476719e310a4a7ab0adf85d6e139fd19f345e32f737c5345e60ecaf876cb2eea9b89609cc81 SHA512 be807a3360e0e8807ffdc0ff571f2e5729935e16f8eb94cf97f50200465a17f72de8a8d50b9470967b6c04ebb6b559544d7ce8af82604104b3cd962d9a8c4f81 +DIST TwistedPair-13.2.0.tar.bz2 9251 BLAKE2B 6aeb447bc9adf890829ba4341e6ed33dc0d08be2e431a2d0cbc5d28019701b42086189ddd8b69926ace2ea8a8c1099d78ceea8649e2fe481594ff116c265c627 SHA512 931b2564e66d5056ce10695e7d9884b55d42c1081feaf9edc011aef9dff21f40e628312a89970f83619611967f155f26f4bbd9d1a325d30670e245e00f47e2d0 +DIST TwistedPair-15.2.1.tar.bz2 21755 BLAKE2B 4e006c24e5daa77188dc72e9559f86b6acda10a3b843acc8f312285d299f22a86f29ee946d709c63160e39b38312e612ce88d306ab3a37ad91f4e94bc7835c6b SHA512 e7e9c8d88ca490c5e9f41ade6aede36dc23ea935f7c1658355bf685e21000e4e20ee1a3ccc3ebdba312fe026a8b7b25f2bcf51c3761668c2c3ce86b37ad3c725 +EBUILD twisted-pair-13.2.0.ebuild 394 BLAKE2B 521699c59c6c538b4d0b8f6db7421a0df56f1c937d5ec51316bbfff8c59df39dfd99d92180878f805909b53188ac792edfcd13f1c76143a634a7a88a43814b6e SHA512 b6f386a10af848bbdff709a3caf443805f925037f7a030edfda6741789daaa49b2be3ee9ed226f5da40b3afa4cc2b10b150c19c92c7d37749d8a9e9cf56933da +EBUILD twisted-pair-15.2.1.ebuild 499 BLAKE2B b9d74c6f45122f9f841c47bc3bd69efa7756fbc4fb079c6c56dc13277b75f47b50ab7efc9c0895561923ac70587b3e4fc94f589a1eadf120fb4b4eda3232827e SHA512 246eea4dab203efd4e5c9177a733692b376b81c00fccd1f5c22558e1089300fcf3fce8f926bc2f465253f6e3f03a3a10bd520ea6993b6190c94cd058ee91b7fd +MISC metadata.xml 240 BLAKE2B 41e6a4d9da33dab2decc5ff419924f382a8f64d27a81fdb97576db8c6cf125be95911747946ec8be1b453f56617fef1084f5947f84b50a8db419d46df2ae8a0f SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59 diff --git a/dev-python/twisted-pair/files/14.0.0-tests.patch b/dev-python/twisted-pair/files/14.0.0-tests.patch new file mode 100644 index 000000000000..0ec7a032eb71 --- /dev/null +++ b/dev-python/twisted-pair/files/14.0.0-tests.patch @@ -0,0 +1,26 @@ +Allows user to access /dev/net/tun +--- twisted/pair/test/test_tuntap.py.orig 2014-05-27 22:55:56.230232748 -0400 ++++ twisted/pair/test/test_tuntap.py 2014-05-27 23:30:02.769956742 -0400 +@@ -10,7 +10,7 @@ + import os + import struct + import socket +-from errno import EPERM, EBADF, EINVAL, EAGAIN, EWOULDBLOCK, ENOENT, ENODEV ++from errno import EPERM, EBADF, EINVAL, EAGAIN, EWOULDBLOCK, ENOENT, ENODEV, EACCES + from random import randrange + from collections import deque + from itertools import cycle +@@ -582,8 +582,11 @@ + except OSError as e: + # The device file may simply be missing. The device file may also + # exist but be unsupported by the kernel. +- if e.errno in (ENOENT, ENODEV) and filename == b"/dev/net/tun": +- raise SkipTest("Platform lacks /dev/net/tun") ++ if filename == b"/dev/net/tun": ++ if e.errno in (ENOENT, ENODEV): ++ raise SkipTest("Platform lacks /dev/net/tun") ++ elif e.errno == EACCES: ++ raise SkipTest("Access denied opening /dev/net/tun") + raise + + diff --git a/dev-python/twisted-pair/metadata.xml b/dev-python/twisted-pair/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/dev-python/twisted-pair/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python + + diff --git a/dev-python/twisted-pair/twisted-pair-13.2.0.ebuild b/dev-python/twisted-pair/twisted-pair-13.2.0.ebuild new file mode 100644 index 000000000000..d5057737aa8d --- /dev/null +++ b/dev-python/twisted-pair/twisted-pair-13.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit twisted-r1 + +DESCRIPTION="Twisted low-level networking" + +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" + =dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}] + dev-python/eunuchs[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + !dev-python/twisted +" diff --git a/dev-python/twisted-pair/twisted-pair-15.2.1.ebuild b/dev-python/twisted-pair/twisted-pair-15.2.1.ebuild new file mode 100644 index 000000000000..3e67a014357a --- /dev/null +++ b/dev-python/twisted-pair/twisted-pair-15.2.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit twisted-r1 + +DESCRIPTION="Twisted low-level networking" + +KEYWORDS="~amd64 ~arm ~sparc ~x86" +IUSE="" + +DEPEND=" + =dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}] + dev-python/eunuchs[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + !dev-python/twisted +" + +# https://twistedmatrix.com/trac/ticket/7433 +PATCHES=( "${FILESDIR}"/14.0.0-tests.patch ) -- cgit v1.2.3