commit:     624a6ba3b87da380f22d9c32215d668035f35596
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 08:53:45 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 08:53:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624a6ba3

dev-python/python-iptables: treeclean

Closes: https://bugs.gentoo.org/845843
Closes: https://bugs.gentoo.org/829492
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-python/python-iptables/Manifest                |  1 -
 .../files/python-iptables-1.0.0-ldconfig-fix.patch | 21 --------------
 dev-python/python-iptables/metadata.xml            | 25 -----------------
 .../python-iptables-1.0.0-r1.ebuild                | 32 ----------------------
 profiles/package.mask                              |  5 ----
 5 files changed, 84 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 aea9ace736c9..000000000000
--- a/dev-python/python-iptables/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</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>
-       <upstream>
-               <remote-id type="pypi">python-iptables</remote-id>
-               <remote-id type="github">ldx/python-iptables</remote-id>
-       </upstream>
-</pkgmetadata>

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 d9dc371fc300..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..9} )
-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
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 0c12f636f49f..d4311573e7b5 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -413,11 +413,6 @@ dev-python/django-taggit-serializer
 # Unmaintained, does not support Python 3.10+. Removal on 2022-06-15.
 dev-python/django-rq
 
-# Sam James <[email protected]> (2022-05-15)
-# Masked for removal. No reverse dependencies, no releases in 2 years,
-# does not support Python 3.10+. Removal on 2022-06-15.
-dev-python/python-iptables
-
 # Matt Turner <[email protected]> (2022-04-30)
 # Masked for testing. Apparently causes crashes. Bug #841857.
 >=x11-libs/libX11-1.8

Reply via email to