public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/python-iptables/, dev-python/python-iptables/files/
Date: Sun, 19 Jun 2022 09:06:46 +0000 (UTC)	[thread overview]
Message-ID: <1655628825.624a6ba3b87da380f22d9c32215d668035f35596.jsmolic@gentoo> (raw)

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>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>
-	<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 <sam@gentoo.org> (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 <mattst88@gentoo.org> (2022-04-30)
 # Masked for testing. Apparently causes crashes. Bug #841857.
 >=x11-libs/libX11-1.8


                 reply	other threads:[~2022-06-19  9:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1655628825.624a6ba3b87da380f22d9c32215d668035f35596.jsmolic@gentoo \
    --to=jsmolic@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox