diff options
Diffstat (limited to 'dev-python/python-iptables')
4 files changed, 0 insertions, 77 deletions
diff --git a/dev-python/python-iptables/Manifest b/dev-python/python-iptables/Manifest deleted file mode 100644 index 1648c75731f0..000000000000 --- a/dev-python/python-iptables/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST python-iptables-1.0.0.tar.gz 52245 BLAKE2B f61cf655440a40c96e49452caa1070046e539313ce709c629cb93c11ac66d51dad5fb11c183a8babbba5766b8bea27d0ab604d7aec104775371791cedc2262f6 SHA512 417ebec4391c6967f3b1cfa56d79dc1c6d053570d71bb29713ed327ee1fd52e0be9c3b9a62a1ae666644bbb472e5174402584cd5ddfb0b24c11e1d30773bcea5 diff --git a/dev-python/python-iptables/files/python-iptables-1.0.0-ldconfig-fix.patch b/dev-python/python-iptables/files/python-iptables-1.0.0-ldconfig-fix.patch deleted file mode 100644 index 14fe9eae38da..000000000000 --- a/dev-python/python-iptables/files/python-iptables-1.0.0-ldconfig-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/iptc/xtables.py b/iptc/xtables.py -index cf21029..8f62164 100644 ---- a/iptc/xtables.py -+++ b/iptc/xtables.py -@@ -4,6 +4,7 @@ import ctypes as ct - import os - import sys - import weakref -+import pathlib - - from . import version - from .util import find_library, find_libc -@@ -805,7 +806,7 @@ _lib_xtables, xtables_version = find_library(_searchlib) - _xtables_libdir = os.getenv("XTABLES_LIBDIR") - if _xtables_libdir is None: - import re -- ldconfig_path_regex = re.compile('^(/.*):$') -+ ldconfig_path_regex = re.compile(r'^(/.*): \(.*$') - import subprocess - ldconfig = subprocess.Popen( - ('/sbin/ldconfig', '-N', '-v'), diff --git a/dev-python/python-iptables/metadata.xml b/dev-python/python-iptables/metadata.xml deleted file mode 100644 index aa420c5f5d9d..000000000000 --- a/dev-python/python-iptables/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <longdescription lang="en"> - Python Bindings for IPtables: Iptables is the tool that is used to manage netfilter, - the standard packet filtering and manipulation framework under Linux. As the iptables - manpage puts it: Iptables is used to set up, maintain, and inspect the tables of IPv4 - packet filter rules in the Linux kernel. Several different tables may be defined. - Each table contains a number of built-in chains and may also contain user-defined - chains. Each chain is a list of rules which can match a set of packets. Each rule - specifies what to do with a packet that matches. This is called a target, which may be - a jump to a user-defined chain in the same table. Python-iptables provides python - bindings to iptables under Linux. Interoperability with iptables is achieved via - using the iptables C libraries (libiptc, libxtables, and the iptables extensions), not - calling the iptables binary and parsing its output. - </longdescription> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-iptables/python-iptables-1.0.0-r1.ebuild b/dev-python/python-iptables/python-iptables-1.0.0-r1.ebuild deleted file mode 100644 index 9a3e5968ce89..000000000000 --- a/dev-python/python-iptables/python-iptables-1.0.0-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python bindings for iptables" -HOMEPAGE="https://github.com/ldx/python-iptables" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="net-firewall/iptables" - -# tests manipulate live iptables rules, so disable them by default -RESTRICT="test" - -PATCHES=( - "${FILESDIR}/python-iptables-1.0.0-ldconfig-fix.patch" -) - -distutils_enable_sphinx doc -distutils_enable_tests setup.py - -python_prepare_all() { - # Prevent un-needed d'loading during doc build - sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die - distutils-r1_python_prepare_all -} |
