1 |
commit: 10064190aa29077e824816a1a55aa26557e9f974 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 22:23:13 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 22:23:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10064190 |
7 |
|
8 |
dev-python/pypcap: treeclean |
9 |
|
10 |
Bug: https://bugs.gentoo.org/798384 |
11 |
Bug: https://bugs.gentoo.org/845819 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-python/pypcap/Manifest | 1 - |
15 |
dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch | 19 ------------ |
16 |
dev-python/pypcap/metadata.xml | 17 ---------- |
17 |
dev-python/pypcap/pypcap-1.2.3-r1.ebuild | 38 ----------------------- |
18 |
profiles/package.mask | 5 --- |
19 |
5 files changed, 80 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest |
22 |
deleted file mode 100644 |
23 |
index 8ac8623068fe..000000000000 |
24 |
--- a/dev-python/pypcap/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST pypcap-1.2.3.tar.gz 151087 BLAKE2B c40e83d46b37deb4064877dfcf64582ff5da272a0d416b51faa43c4bd20625b473c624818aad70238f9429fac2455ae5b0516279faf1612f76f289b53d55417e SHA512 e4f701b6637fbcaf847d72eddc1ed344438008c2f8cbd334c9ce5fe17c9ec36f1f2cb1a146a218b8e464a7eb9a57217a8834a82a035ee96c3c1b56ec70e53bff |
28 |
|
29 |
diff --git a/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch b/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch |
30 |
deleted file mode 100644 |
31 |
index 8cf41ec28974..000000000000 |
32 |
--- a/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch |
33 |
+++ /dev/null |
34 |
@@ -1,19 +0,0 @@ |
35 |
---- a/pcap_ex.c |
36 |
-+++ b/pcap_ex.c |
37 |
-@@ -11,6 +11,7 @@ |
38 |
- # include <string.h> |
39 |
- # include <signal.h> |
40 |
- # include <unistd.h> |
41 |
-+# include <stdlib.h> |
42 |
- #endif |
43 |
- |
44 |
- #include <pcap.h> |
45 |
-@@ -300,7 +300,7 @@ |
46 |
- char ebuf[PCAP_ERRBUF_SIZE]; |
47 |
- int ret = -1; |
48 |
- |
49 |
-- mktemp(path); |
50 |
-+ mkstemp(path); |
51 |
- if ((f = fopen(path, "w")) != NULL) { |
52 |
- hdr.magic = 0xa1b2c3d4; |
53 |
- hdr.version_major = PCAP_VERSION_MAJOR; |
54 |
|
55 |
diff --git a/dev-python/pypcap/metadata.xml b/dev-python/pypcap/metadata.xml |
56 |
deleted file mode 100644 |
57 |
index 005373c075d1..000000000000 |
58 |
--- a/dev-python/pypcap/metadata.xml |
59 |
+++ /dev/null |
60 |
@@ -1,17 +0,0 @@ |
61 |
-<?xml version="1.0" encoding="UTF-8"?> |
62 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
63 |
-<pkgmetadata> |
64 |
- <maintainer type="project"> |
65 |
- <email>netmon@g.o</email> |
66 |
- <name>Gentoo network monitoring and analysis project</name> |
67 |
- </maintainer> |
68 |
- <maintainer type="project"> |
69 |
- <email>python@g.o</email> |
70 |
- <name>Python</name> |
71 |
- </maintainer> |
72 |
- <upstream> |
73 |
- <remote-id type="google-code">pypcap</remote-id> |
74 |
- <remote-id type="pypi">pypcap</remote-id> |
75 |
- <remote-id type="github">pynetwork/pypcap</remote-id> |
76 |
- </upstream> |
77 |
-</pkgmetadata> |
78 |
|
79 |
diff --git a/dev-python/pypcap/pypcap-1.2.3-r1.ebuild b/dev-python/pypcap/pypcap-1.2.3-r1.ebuild |
80 |
deleted file mode 100644 |
81 |
index d2b7e4073d38..000000000000 |
82 |
--- a/dev-python/pypcap/pypcap-1.2.3-r1.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,38 +0,0 @@ |
85 |
-# Copyright 1999-2021 Gentoo Authors |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
- |
88 |
-EAPI=7 |
89 |
- |
90 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
91 |
-inherit distutils-r1 |
92 |
- |
93 |
-DESCRIPTION="Simplified object-oriented Python extension module for libpcap" |
94 |
-HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.org/project/pypcap/" |
95 |
-SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
96 |
- |
97 |
-LICENSE="BSD" |
98 |
-SLOT="0" |
99 |
-KEYWORDS="~amd64 ~x86" |
100 |
- |
101 |
-BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" |
102 |
-RDEPEND="net-libs/libpcap" |
103 |
-DEPEND="${RDEPEND}" |
104 |
- |
105 |
-PATCHES=( |
106 |
- "${FILESDIR}"/${PN}-1.2.3-mktemp.patch |
107 |
-) |
108 |
- |
109 |
-python_compile() { |
110 |
- local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
111 |
- |
112 |
- # Needed to gain Python 3.9 compatibility |
113 |
- cython pcap.pyx || die "Failed to regenerate pcap.pyx" |
114 |
- |
115 |
- # Now build as usual |
116 |
- distutils-r1_python_compile |
117 |
-} |
118 |
- |
119 |
-python_test() { |
120 |
- cd tests || die |
121 |
- "${EPYTHON}" test.py || die |
122 |
-} |
123 |
|
124 |
diff --git a/profiles/package.mask b/profiles/package.mask |
125 |
index 0982dd85b65b..6fdd874123c9 100644 |
126 |
--- a/profiles/package.mask |
127 |
+++ b/profiles/package.mask |
128 |
@@ -253,11 +253,6 @@ dev-util/dput-ng |
129 |
dev-util/distro-info |
130 |
dev-util/distro-info-data |
131 |
|
132 |
-# Sam James <sam@g.o> (2022-05-30) |
133 |
-# No upstream activity since 2019, doesn't even support Python 3.9+ properly, |
134 |
-# and doesn't support Python 3.10. Bugs #845819, #798384. Removal on 2022-06-30. |
135 |
-dev-python/pypcap |
136 |
- |
137 |
# Matt Turner <mattst88@g.o> (2022-05-30) |
138 |
# libwacom-2 broke ABI compatibility; reverse dependencies need to be updated. |
139 |
# Bug #848501 |