public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pypcap/, dev-python/pypcap/files/, profiles/
@ 2022-06-30 22:25 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-06-30 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     10064190aa29077e824816a1a55aa26557e9f974
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 22:23:13 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 22:23:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10064190

dev-python/pypcap: treeclean

Bug: https://bugs.gentoo.org/798384
Bug: https://bugs.gentoo.org/845819
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pypcap/Manifest                        |  1 -
 dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch | 19 ------------
 dev-python/pypcap/metadata.xml                    | 17 ----------
 dev-python/pypcap/pypcap-1.2.3-r1.ebuild          | 38 -----------------------
 profiles/package.mask                             |  5 ---
 5 files changed, 80 deletions(-)

diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest
deleted file mode 100644
index 8ac8623068fe..000000000000
--- a/dev-python/pypcap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pypcap-1.2.3.tar.gz 151087 BLAKE2B c40e83d46b37deb4064877dfcf64582ff5da272a0d416b51faa43c4bd20625b473c624818aad70238f9429fac2455ae5b0516279faf1612f76f289b53d55417e SHA512 e4f701b6637fbcaf847d72eddc1ed344438008c2f8cbd334c9ce5fe17c9ec36f1f2cb1a146a218b8e464a7eb9a57217a8834a82a035ee96c3c1b56ec70e53bff

diff --git a/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch b/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch
deleted file mode 100644
index 8cf41ec28974..000000000000
--- a/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/pcap_ex.c
-+++ b/pcap_ex.c
-@@ -11,6 +11,7 @@
- # include <string.h>
- # include <signal.h>
- # include <unistd.h>
-+# include <stdlib.h>
- #endif
- 
- #include <pcap.h>
-@@ -300,7 +300,7 @@
- 	char ebuf[PCAP_ERRBUF_SIZE];
- 	int ret = -1;
- 
--	mktemp(path);
-+	mkstemp(path);
- 	if ((f = fopen(path, "w")) != NULL) {
- 		hdr.magic = 0xa1b2c3d4;
- 		hdr.version_major = PCAP_VERSION_MAJOR;

diff --git a/dev-python/pypcap/metadata.xml b/dev-python/pypcap/metadata.xml
deleted file mode 100644
index 005373c075d1..000000000000
--- a/dev-python/pypcap/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>netmon@gentoo.org</email>
-    <name>Gentoo network monitoring and analysis project</name>
-  </maintainer>
-  <maintainer type="project">
-    <email>python@gentoo.org</email>
-    <name>Python</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="google-code">pypcap</remote-id>
-    <remote-id type="pypi">pypcap</remote-id>
-    <remote-id type="github">pynetwork/pypcap</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/dev-python/pypcap/pypcap-1.2.3-r1.ebuild b/dev-python/pypcap/pypcap-1.2.3-r1.ebuild
deleted file mode 100644
index d2b7e4073d38..000000000000
--- a/dev-python/pypcap/pypcap-1.2.3-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit distutils-r1
-
-DESCRIPTION="Simplified object-oriented Python extension module for libpcap"
-HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.org/project/pypcap/"
-SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-1.2.3-mktemp.patch
-)
-
-python_compile() {
-	local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
-
-	# Needed to gain Python 3.9 compatibility
-	cython pcap.pyx || die "Failed to regenerate pcap.pyx"
-
-	# Now build as usual
-	distutils-r1_python_compile
-}
-
-python_test() {
-	cd tests || die
-	"${EPYTHON}" test.py || die
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 0982dd85b65b..6fdd874123c9 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -253,11 +253,6 @@ dev-util/dput-ng
 dev-util/distro-info
 dev-util/distro-info-data
 
-# Sam James <sam@gentoo.org> (2022-05-30)
-# No upstream activity since 2019, doesn't even support Python 3.9+ properly,
-# and doesn't support Python 3.10. Bugs #845819, #798384. Removal on 2022-06-30.
-dev-python/pypcap
-
 # Matt Turner <mattst88@gentoo.org> (2022-05-30)
 # libwacom-2 broke ABI compatibility; reverse dependencies need to be updated.
 # Bug #848501


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-30 22:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-30 22:25 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypcap/, dev-python/pypcap/files/, profiles/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox