public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/scapy/files/, net-analyzer/scapy/
@ 2017-03-19 13:16 Jeroen Roovers
  0 siblings, 0 replies; 4+ messages in thread
From: Jeroen Roovers @ 2017-03-19 13:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c79df2326edc48ccacb341903b429390747e59d3
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 13:12:05 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 13:12:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c79df232

net-analyzer/scapy: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/scapy/Manifest                        |  3 --
 .../scapy/files/scapy-2.2.0-fix-sendpfast.patch    | 12 --------
 net-analyzer/scapy/scapy-2.2.0-r3.ebuild           | 33 ----------------------
 net-analyzer/scapy/scapy-2.3.0-r1.ebuild           | 29 -------------------
 net-analyzer/scapy/scapy-2.3.1-r1.ebuild           | 29 -------------------
 5 files changed, 106 deletions(-)

diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
index 440e7bf974d..b495c3b4d85 100644
--- a/net-analyzer/scapy/Manifest
+++ b/net-analyzer/scapy/Manifest
@@ -1,4 +1 @@
-DIST scapy-2.2.0.tar.gz 972996 SHA256 c5363b224df0efbd78d7dc4d8a518e5518b2e7affc2e5f1fcecd4efa3ab815af SHA512 da05deb5dd3bfbd0222659a98e5f01c891e948b9104965e14ca975022b180cd7699ec852357baf229c73321dbe73d9a48c2a14008b7d7a3f0e151914536f7d3a WHIRLPOOL d1d599e1cb803148e5131b4f9c2b90f80c37abf09678abbbc6a2df8d10fe8a98c8d3628e232217075d23605f8e5caee23916e13c5c80cf9a9323f44d99536fe4
-DIST scapy-2.3.0.zip 1154396 SHA256 1e63e845ff7a86d4915122945cad2a3b5c60b6914b23713bcbdbab7b24fd47c8 SHA512 30f8e09411fd23972e68b72ffc168d427018cc9e065534094397d1ced17db3fc66dfa6c50b0b57b1f1309eb411c1c6969b42e0130480922b2cd789c82df311ed WHIRLPOOL 5229c16971fa9add90615955fe5633269d88ff0b6f889d070f9b0e80c036c4010512e071720aced465ca0fb54900f6dd26d663695d55dd4eff0f01e2a6b019d9
-DIST scapy-2.3.1.zip 1134864 SHA256 8972c02e39a826a10c02c2bdd5025f7251dce9589c57befd9bb55c65f02e4934 SHA512 f84c9084c56894d15629680c3a3075e1dd5318ad8b3eb2e9d21266f49ee51b7d0748abf9e7a926d7228a87b3ecafa8dc78491dc8f5ac35f8eca1cc7c5581344d WHIRLPOOL f30a668b0f41f3655c6ee735e40ce36cb7ab3c2deedcc655ff56b5ad66e2d0b78c812f9ca0515870bfedc7f3355553acc4a9a1354a1c156ac81ce87d7b6b26aa
 DIST scapy-2.3.2.tar.gz 1166056 SHA256 1b8a86d687feb8ed01114c0c016b428674cbfec04e3eb6f5249a018c427c4f6a SHA512 6b15e102708d1bd0ca0c910e2d82416cd172634409f93c506542a7dc6b69ddc9c9afef6ec07929f70cc0f8f4c455cdc84d9b35bc2c5b72f79dd7e6785306dc7a WHIRLPOOL d97f6d91fe87f2e5c1dac8fc5a64d86c2076658e268e999004a95972cb03af38d75fdbe6e72003ba9abd92259e5744bcfe1963b59e6572fa2025396cdfde7a53

diff --git a/net-analyzer/scapy/files/scapy-2.2.0-fix-sendpfast.patch b/net-analyzer/scapy/files/scapy-2.2.0-fix-sendpfast.patch
deleted file mode 100644
index e10f97353d7..00000000000
--- a/net-analyzer/scapy/files/scapy-2.2.0-fix-sendpfast.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru a/scapy-2.2.0/scapy/sendrecv.py b/scapy-2.2.0/scapy/sendrecv.py
---- a/scapy-2.2.0/scapy/sendrecv.py	2010-08-11 11:09:51.000000000 +1200
-+++ b/scapy-2.2.0/scapy/sendrecv.py	2011-09-20 11:22:26.776978191 +1200
-@@ -13,7 +13,7 @@
- import arch
- from config import conf
- from packet import Gen
--from utils import warning,get_temp_file,PcapReader
-+from utils import warning,get_temp_file,PcapReader,wrpcap
- import plist
- from error import log_runtime,log_interactive
- from base_classes import SetGen

diff --git a/net-analyzer/scapy/scapy-2.2.0-r3.ebuild b/net-analyzer/scapy/scapy-2.2.0-r3.ebuild
deleted file mode 100644
index 1f232e43f06..00000000000
--- a/net-analyzer/scapy/scapy-2.2.0-r3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils distutils-r1
-
-DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
-HOMEPAGE="http://www.secdev.org/projects/scapy/"
-SRC_URI="http://www.secdev.org/projects/scapy/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gnuplot pyx crypt graphviz imagemagick visual tcpreplay"
-
-RDEPEND="
-	net-analyzer/tcpdump
-	gnuplot? ( dev-python/gnuplot-py[${PYTHON_USEDEP}] )
-	pyx? ( dev-python/pyx[${PYTHON_USEDEP}] )
-	crypt? ( || ( dev-python/pycryptodome[${PYTHON_USEDEP}]
-	              dev-python/pycrypto[${PYTHON_USEDEP}] ) )
-	graphviz? ( media-gfx/graphviz )
-	imagemagick? ( virtual/imagemagick-tools )
-	visual? ( dev-python/visual )
-	tcpreplay? ( net-analyzer/tcpreplay )
-"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-fix-sendpfast.patch
-}

diff --git a/net-analyzer/scapy/scapy-2.3.0-r1.ebuild b/net-analyzer/scapy/scapy-2.3.0-r1.ebuild
deleted file mode 100644
index a25003746d5..00000000000
--- a/net-analyzer/scapy/scapy-2.3.0-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils distutils-r1
-
-DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
-HOMEPAGE="http://www.secdev.org/projects/scapy/"
-SRC_URI="http://bb.secdev.org/${PN}/downloads/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gnuplot pyx crypt graphviz imagemagick visual tcpreplay"
-
-RDEPEND="
-	net-analyzer/tcpdump
-	gnuplot? ( dev-python/gnuplot-py[${PYTHON_USEDEP}] )
-	pyx? ( dev-python/pyx[${PYTHON_USEDEP}] )
-	crypt? ( || ( dev-python/pycryptodome[${PYTHON_USEDEP}]
-	              dev-python/pycrypto[${PYTHON_USEDEP}] ) )
-	graphviz? ( media-gfx/graphviz )
-	imagemagick? ( virtual/imagemagick-tools )
-	visual? ( dev-python/visual )
-	tcpreplay? ( net-analyzer/tcpreplay )
-"

diff --git a/net-analyzer/scapy/scapy-2.3.1-r1.ebuild b/net-analyzer/scapy/scapy-2.3.1-r1.ebuild
deleted file mode 100644
index a25003746d5..00000000000
--- a/net-analyzer/scapy/scapy-2.3.1-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils distutils-r1
-
-DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
-HOMEPAGE="http://www.secdev.org/projects/scapy/"
-SRC_URI="http://bb.secdev.org/${PN}/downloads/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gnuplot pyx crypt graphviz imagemagick visual tcpreplay"
-
-RDEPEND="
-	net-analyzer/tcpdump
-	gnuplot? ( dev-python/gnuplot-py[${PYTHON_USEDEP}] )
-	pyx? ( dev-python/pyx[${PYTHON_USEDEP}] )
-	crypt? ( || ( dev-python/pycryptodome[${PYTHON_USEDEP}]
-	              dev-python/pycrypto[${PYTHON_USEDEP}] ) )
-	graphviz? ( media-gfx/graphviz )
-	imagemagick? ( virtual/imagemagick-tools )
-	visual? ( dev-python/visual )
-	tcpreplay? ( net-analyzer/tcpreplay )
-"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/scapy/files/, net-analyzer/scapy/
@ 2021-03-03 21:05 Mike Auty
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Auty @ 2021-03-03 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c6262bf324688e9a2b5e9564d3e8fb4fca5bbe9e
Author:     Mike Auty <ikelos <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  3 21:02:48 2021 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Wed Mar  3 21:05:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6262bf3

net-analyzer/scapy: Fix libc library search

Closes: https://bugs.gentoo.org/774084
Signed-off-by: Mike Auty <ikelos <AT> gentoo.org>

 net-analyzer/scapy/files/scapy-2.4.4-libc.patch             | 13 +++++++++++++
 .../scapy/{scapy-2.4.4.ebuild => scapy-2.4.4-r1.ebuild}     |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/scapy/files/scapy-2.4.4-libc.patch b/net-analyzer/scapy/files/scapy-2.4.4-libc.patch
new file mode 100644
index 00000000000..dd27896b565
--- /dev/null
+++ b/net-analyzer/scapy/files/scapy-2.4.4-libc.patch
@@ -0,0 +1,13 @@
+diff --git a/scapy/arch/bpf/core.py b/scapy/arch/bpf/core.py
+index 0ebdb53..c74902a 100644
+--- a/scapy/arch/bpf/core.py
++++ b/scapy/arch/bpf/core.py
+@@ -27,7 +27,7 @@ from scapy.modules.six.moves import range
+ 
+ # ctypes definitions
+ 
+-LIBC = cdll.LoadLibrary(find_library("libc"))
++LIBC = cdll.LoadLibrary(find_library("c"))
+ LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p]
+ LIBC.ioctl.restype = c_int
+ 

diff --git a/net-analyzer/scapy/scapy-2.4.4.ebuild b/net-analyzer/scapy/scapy-2.4.4-r1.ebuild
similarity index 93%
rename from net-analyzer/scapy/scapy-2.4.4.ebuild
rename to net-analyzer/scapy/scapy-2.4.4-r1.ebuild
index efc71e5bac2..ebda6205e3b 100644
--- a/net-analyzer/scapy/scapy-2.4.4.ebuild
+++ b/net-analyzer/scapy/scapy-2.4.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,6 +29,8 @@ Scapy has optional support for the following packages:
 	See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""
 "
 
+PATCHES=("${FILESDIR}/${P}-libc.patch")
+
 src_prepare() {
 	if ! [[ -f ${PN}/VERSION ]]; then
 		echo ${PV} > ${PN}/VERSION || die


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/scapy/files/, net-analyzer/scapy/
@ 2022-01-01  9:38 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-01-01  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     d8082a9447fdaec814b6df449e75daa7cc95d2f1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 09:27:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 09:38:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8082a94

net-analyzer/scapy: drop 2.4.4-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/scapy/Manifest                     |  1 -
 net-analyzer/scapy/files/scapy-2.4.4-libc.patch | 13 -------
 net-analyzer/scapy/scapy-2.4.4-r1.ebuild        | 48 -------------------------
 3 files changed, 62 deletions(-)

diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
index 271529673f52..0eaf45391ac4 100644
--- a/net-analyzer/scapy/Manifest
+++ b/net-analyzer/scapy/Manifest
@@ -1,2 +1 @@
-DIST scapy-2.4.4.tar.gz 3240890 BLAKE2B 38b4fc0c34f229bb33f4d488ae9ba20905db572e3dd3caa15a92e8a33ba7305ba86a2b32a2664779c5085e53d44b4c55336d7afa8d65b90ffa3babcdc94bff25 SHA512 b8ad138ae2563967af07d123339ac73468fadb8f7687123aed364ad6d45198e9039314e17a155c37d01ef084e25571c587330dfd21777527110342c01821a389
 DIST scapy-2.4.5.tar.gz 3323309 BLAKE2B af94b3ec6324c4544aca25f63bcca8aa60a3b1cbbf132d3ed07b5bc73b95e4298bf250e65157bdb7851226fd0ac039367892a9a14d844e5815832ad4ab556819 SHA512 b5ccd689f7bd4fbbb86921a35360b94ec7a738b494f16e4764828689835296016bc476825add798406e4d32761d8df90b41ce7e38049afdabf98397b1bf5982a

diff --git a/net-analyzer/scapy/files/scapy-2.4.4-libc.patch b/net-analyzer/scapy/files/scapy-2.4.4-libc.patch
deleted file mode 100644
index dd27896b5658..000000000000
--- a/net-analyzer/scapy/files/scapy-2.4.4-libc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/scapy/arch/bpf/core.py b/scapy/arch/bpf/core.py
-index 0ebdb53..c74902a 100644
---- a/scapy/arch/bpf/core.py
-+++ b/scapy/arch/bpf/core.py
-@@ -27,7 +27,7 @@ from scapy.modules.six.moves import range
- 
- # ctypes definitions
- 
--LIBC = cdll.LoadLibrary(find_library("libc"))
-+LIBC = cdll.LoadLibrary(find_library("c"))
- LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p]
- LIBC.ioctl.restype = c_int
- 

diff --git a/net-analyzer/scapy/scapy-2.4.4-r1.ebuild b/net-analyzer/scapy/scapy-2.4.4-r1.ebuild
deleted file mode 100644
index ebda6205e3bf..000000000000
--- a/net-analyzer/scapy/scapy-2.4.4-r1.ebuild
+++ /dev/null
@@ -1,48 +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} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1 readme.gentoo-r1
-
-DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
-HOMEPAGE="https://scapy.net/ https://github.com/secdev/scapy"
-SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-DOC_CONTENTS="
-Scapy has optional support for the following packages:
-
-	dev-python/cryptography
-	dev-python/ipython
-	dev-python/matplotlib
-	dev-python/pyx
-	media-gfx/graphviz
-	net-analyzer/tcpdump
-	net-analyzer/tcpreplay
-	net-libs/libpcap
-	virtual/imagemagick-tools
-
-	See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""
-"
-
-PATCHES=("${FILESDIR}/${P}-libc.patch")
-
-src_prepare() {
-	if ! [[ -f ${PN}/VERSION ]]; then
-		echo ${PV} > ${PN}/VERSION || die
-	else
-		die
-	fi
-
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	distutils-r1_src_install
-	dodoc -r doc/${PN}/*
-	DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/scapy/files/, net-analyzer/scapy/
@ 2023-01-11  8:32 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-01-11  8:32 UTC (permalink / raw
  To: gentoo-commits

commit:     74c773ea1fb402863d6a8b5060987837d0da0b8a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 08:29:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 08:31:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c773ea

net-analyzer/scapy: add 2.5.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/scapy/Manifest                        |  1 +
 .../scapy/files/scapy-2.5.0-no-install-tests.patch | 11 +++
 net-analyzer/scapy/scapy-2.5.0.ebuild              | 79 ++++++++++++++++++++++
 3 files changed, 91 insertions(+)

diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
index 0eaf45391ac4..c28b42baf09f 100644
--- a/net-analyzer/scapy/Manifest
+++ b/net-analyzer/scapy/Manifest
@@ -1 +1,2 @@
 DIST scapy-2.4.5.tar.gz 3323309 BLAKE2B af94b3ec6324c4544aca25f63bcca8aa60a3b1cbbf132d3ed07b5bc73b95e4298bf250e65157bdb7851226fd0ac039367892a9a14d844e5815832ad4ab556819 SHA512 b5ccd689f7bd4fbbb86921a35360b94ec7a738b494f16e4764828689835296016bc476825add798406e4d32761d8df90b41ce7e38049afdabf98397b1bf5982a
+DIST scapy-2.5.0.tar.gz 6082895 BLAKE2B 2673de913d46532760dce93914916b909a4706d846e1e699c16f35b738cac8a073e23b194f9ed4647ade41170a04849ebd33ab3d0ba5b7f09fea8fa527e14c5d SHA512 4e5cacff0bbf6fd991ea24f4680049d042082fae4b349c8082078e6f01b38c09bb5c8276bfba15d4a88a1eb5af92c505848ec98556b10eecbd803f134a5b244a

diff --git a/net-analyzer/scapy/files/scapy-2.5.0-no-install-tests.patch b/net-analyzer/scapy/files/scapy-2.5.0-no-install-tests.patch
new file mode 100644
index 000000000000..be6d8fbd638a
--- /dev/null
+++ b/net-analyzer/scapy/files/scapy-2.5.0-no-install-tests.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -33,7 +33,7 @@ def get_long_description():
+ setup(
+     name='scapy',
+     version=__import__('scapy').VERSION,
+-    packages=find_packages(),
++    packages=find_packages(exclude=["test", "test.*"]),
+     data_files=[('share/man/man1', ["doc/scapy.1"])],
+     package_data={
+         'scapy': ['VERSION'],

diff --git a/net-analyzer/scapy/scapy-2.5.0.ebuild b/net-analyzer/scapy/scapy-2.5.0.ebuild
new file mode 100644
index 000000000000..f1784cc3ed4b
--- /dev/null
+++ b/net-analyzer/scapy/scapy-2.5.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit distutils-r1 readme.gentoo-r1
+
+DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
+HOMEPAGE="https://scapy.net/ https://github.com/secdev/scapy"
+SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	test? (
+		dev-python/python-zstandard[${PYTHON_USEDEP}]
+	)
+"
+
+DOC_CONTENTS="
+Scapy has optional support for the following packages:
+
+	dev-python/cryptography
+	dev-python/ipython
+	dev-python/matplotlib
+	dev-python/pyx
+	media-gfx/graphviz
+	net-analyzer/tcpdump
+	net-analyzer/tcpreplay
+	net-libs/libpcap
+	virtual/imagemagick-tools
+
+	See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.5.0-no-install-tests.patch
+)
+
+src_prepare() {
+	if ! [[ -f ${PN}/VERSION ]]; then
+		echo ${PV} > ${PN}/VERSION || die
+	else
+		die
+	fi
+
+	# Drop tests which need network
+	rm \
+		test/nmap.uts \
+		test/p0f.uts \
+		test/p0fv2.uts \
+		test/regression.uts \
+		test/scapy/layers/inet6.uts || die
+	# Timed out
+	rm test/tftp.uts || die
+	# Needs ipython
+	rm test/scapy/layers/dhcp.uts || die
+	# Import failure?
+	rm test/contrib/isotp_native_socket.uts test/contrib/isotpscan.uts || die
+
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	# https://github.com/secdev/scapy/blob/master/tox.ini
+	"${EPYTHON}" -m scapy.tools.UTscapy -c ./test/configs/linux.utsc -N || die
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	dodoc -r doc/${PN}/*
+	DISABLE_AUTOFORMATTING=1 readme.gentoo_create_doc
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-11  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03 21:05 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/scapy/files/, net-analyzer/scapy/ Mike Auty
  -- strict thread matches above, loose matches on Subject: below --
2023-01-11  8:32 Sam James
2022-01-01  9:38 Sam James
2017-03-19 13:16 Jeroen Roovers

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