summaryrefslogtreecommitdiff
path: root/dev-libs/libdnet
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-libs/libdnet
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-libs/libdnet')
-rw-r--r--dev-libs/libdnet/Manifest2
-rw-r--r--dev-libs/libdnet/files/libdnet-1.18.0-fix-incompatible-function-pointer.patch183
-rw-r--r--dev-libs/libdnet/libdnet-1.18.0-r1.ebuild98
-rw-r--r--dev-libs/libdnet/libdnet-1.18.0-r2.ebuild102
-rw-r--r--dev-libs/libdnet/libdnet-1.18.0-r3.ebuild116
-rw-r--r--dev-libs/libdnet/libdnet-1.18.2.ebuild112
-rw-r--r--dev-libs/libdnet/metadata.xml12
7 files changed, 0 insertions, 625 deletions
diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
deleted file mode 100644
index 986f05422e59..000000000000
--- a/dev-libs/libdnet/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libdnet-1.18.0.tar.gz 740145 BLAKE2B 67f9257e0a05c6c768609c288de9a8704a7ba9d66142bcf849929fa3dbc7b59e379cef2a917d01d4ccfa63b5dfffaf7225f9c67f94e6e91c528a3066fae8c933 SHA512 c074828a1ecd21c292f9120c7afb6b3c11e967d1e0aaca78e75a5558e96f5e65e0d24b68b8386c33c1c28734a3d30f5857d394796e049d521c8b4a9a2c8dcea9
-DIST libdnet-1.18.2.tar.gz 584212 BLAKE2B b8be1547109e6e10781dccfd9addb85440a521ea31831a7270dc4bd44a1fe446927c0303c2f97d7d25fe20d7b5a212b99fa7173815db5c3b65707bbb0c6364f0 SHA512 924541e81b8f4f78a8e682641d0b2cbeb731ce59422582b22171da9d72af7928db25d891b9949f89d12cb71a132ebc7513eb909e2e36018bb7ddb982b1547ef3
diff --git a/dev-libs/libdnet/files/libdnet-1.18.0-fix-incompatible-function-pointer.patch b/dev-libs/libdnet/files/libdnet-1.18.0-fix-incompatible-function-pointer.patch
deleted file mode 100644
index 836296f3895f..000000000000
--- a/dev-libs/libdnet/files/libdnet-1.18.0-fix-incompatible-function-pointer.patch
+++ /dev/null
@@ -1,183 +0,0 @@
-https://github.com/ofalk/libdnet/pull/104
-
-From de57a2349172148496386e284db91abe6406b02a Mon Sep 17 00:00:00 2001
-From: "Z. Liu" <zhixu.liu@gmail.com>
-Date: Wed, 19 Feb 2025 11:37:37 +0800
-Subject: [PATCH 1/2] python/dnet.pyx: fix incompatible-function-pointer-types
- for modern compiler
-
-which is error now, see https://bugs.gentoo.org/933360,
-clang 19 (maybe earlier) has the same problem too
-
-Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
----
- python/dnet.pyx | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/python/dnet.pyx b/python/dnet.pyx
-index 4e3604f..04db2c6 100644
---- a/python/dnet.pyx
-+++ b/python/dnet.pyx
-@@ -661,7 +661,7 @@ cdef extern from *:
- addr_t arp_ha
- ctypedef struct arp_t:
- int __xxx
-- ctypedef int (*arp_handler)(arp_entry *entry, void *arg) except -1
-+ ctypedef int (*arp_handler)(const arp_entry *entry, void *arg) except -1
-
- arp_t *arp_open()
- int arp_add(arp_t *arp, arp_entry *entry)
-@@ -687,7 +687,7 @@ ARP_OP_REPLY = 2 # /* response giving hardware address */
- ARP_OP_REVREQUEST = 3 # /* request to resolve pa given ha */
- ARP_OP_REVREPLY = 4 # /* response giving protocol address */
-
--cdef int __arp_callback(arp_entry *entry, void *arg) except -1:
-+cdef int __arp_callback(const arp_entry *entry, void *arg) except -1:
- f, a = <object>arg
- pa, ha = addr(), addr()
- (<addr>pa)._addr = entry.arp_pa
-@@ -911,7 +911,7 @@ cdef extern from *:
- addr_t intf_alias_addrs[8] # XXX
- ctypedef struct intf_t:
- int __xxx
-- ctypedef int (*intf_handler)(intf_entry *entry, void *arg) except -1
-+ ctypedef int (*intf_handler)(const intf_entry *entry, void *arg) except -1
-
- intf_t *intf_open()
- int intf_get(intf_t *intf, intf_entry *entry)
-@@ -933,7 +933,7 @@ INTF_FLAG_NOARP = 0x08 # /* disable ARP */
- INTF_FLAG_BROADCAST = 0x10 # /* supports broadcast (r/o) */
- INTF_FLAG_MULTICAST = 0x20 # /* supports multicast (r/o) */
-
--cdef object ifent_to_dict(intf_entry *entry):
-+cdef object ifent_to_dict(const intf_entry *entry):
- d = {}
- d['name'] = entry.intf_name
- d['type'] = entry.intf_type
-@@ -970,7 +970,7 @@ cdef dict_to_ifent(object d, intf_entry *entry):
- for i from 0 <= i < entry.intf_alias_num:
- entry.intf_alias_addrs[i] = (<addr>d['alias_addrs'][i])._addr
-
--cdef int __intf_callback(intf_entry *entry, void *arg) except -1:
-+cdef int __intf_callback(const intf_entry *entry, void *arg) except -1:
- f, a = <object>arg
- ret = f(ifent_to_dict(entry), a)
- if not ret:
-@@ -1077,7 +1077,7 @@ cdef extern from *:
- addr_t route_gw
- ctypedef struct route_t:
- int __xxx
-- ctypedef int (*route_handler)(route_entry *entry, void *arg) except -1
-+ ctypedef int (*route_handler)(const route_entry *entry, void *arg) except -1
-
- route_t *route_open()
- int route_add(route_t *route, route_entry *entry)
-@@ -1086,7 +1086,7 @@ cdef extern from *:
- int route_loop(route_t *route, route_handler callback, void *arg)
- route_t *route_close(route_t *route)
-
--cdef int __route_callback(route_entry *entry, void *arg) except -1:
-+cdef int __route_callback(const route_entry *entry, void *arg) except -1:
- f, a = <object>arg
- dst, gw = addr(), addr()
- (<addr>dst)._addr = entry.route_dst
-@@ -1183,7 +1183,7 @@ cdef extern from *:
-
- ctypedef struct fw_t:
- int __xxx
-- ctypedef int (*fw_handler)(fw_rule *rule, void *arg) except -1
-+ ctypedef int (*fw_handler)(const fw_rule *rule, void *arg) except -1
-
- fw_t *fw_open()
- int fw_add(fw_t *f, fw_rule *rule)
-@@ -1197,7 +1197,7 @@ FW_OP_BLOCK = 2
- FW_DIR_IN = 1
- FW_DIR_OUT = 2
-
--cdef object rule_to_dict(fw_rule *rule):
-+cdef object rule_to_dict(const fw_rule *rule):
- d = {}
- d['device'] = rule.fw_device
- d['op'] = rule.fw_op
-@@ -1235,7 +1235,7 @@ cdef dict_to_rule(object d, fw_rule *rule):
- rule.fw_dport[0] = d['dport'][0]
- rule.fw_dport[1] = d['dport'][1]
-
--cdef int __fw_callback(fw_rule *rule, void *arg) except -1:
-+cdef int __fw_callback(const fw_rule *rule, void *arg) except -1:
- f, a = <object>arg
- ret = f(rule_to_dict(rule), a)
- if not ret:
---
-2.45.2
-
-
-From 0a742400b2167f67067e13bfcbecb9f17a7eefe8 Mon Sep 17 00:00:00 2001
-From: "Z. Liu" <zhixu.liu@gmail.com>
-Date: Thu, 3 Apr 2025 08:09:26 +0000
-Subject: [PATCH 2/2] python/dnet.pyx: fix -Wincompatible-pointer-types
- reported by gcc14
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-./dnet.c:8451:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types]
- 8451 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0);
- | ~^~~~~~~~~~~
- | |
- | char **
-/usr/include/python3.12/abstract.h:370:52: note: expected ‘const void **’ but argument is of type ‘char **’
- 370 | const void **buffer,
- | ~~~~~~~~~~~~~^~~~~~
-./dnet.c:8451:66: error: passing argument 3 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types]
- 8451 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0);
- | ~^~~~~~~~~~~
- | |
- | int *
-/usr/include/python3.12/abstract.h:371:51: note: expected ‘Py_ssize_t *’ {aka ‘long int *’} but argument is of type ‘int *’
- 371 | Py_ssize_t *buffer_len);
- | ~~~~~~~~~~~~^~~~~~~~~~
-
-Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
----
- python/dnet.pyx | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/python/dnet.pyx b/python/dnet.pyx
-index 04db2c6..6aefaa2 100644
---- a/python/dnet.pyx
-+++ b/python/dnet.pyx
-@@ -25,7 +25,7 @@ cdef extern from "dnet.h":
- cdef extern from "Python.h":
- object PyBytes_FromStringAndSize(char *s, int len)
- int PyBytes_Size(object o)
-- int PyObject_AsReadBuffer(object o, char **pp, int *lenp)
-+ int PyObject_AsReadBuffer(object o, const void **pp, ssize_t *lenp)
- int PyLong_Check(object o)
- int PyLong_Check(object o)
- long PyLong_AsLong(object o)
-@@ -294,8 +294,8 @@ def ip_checksum(pkt):
- """
- cdef char buf[2048]
- cdef char *p
-- cdef int n
-- if PyObject_AsReadBuffer(pkt, &p, &n) == 0:
-+ cdef ssize_t n
-+ if PyObject_AsReadBuffer(pkt, <const void **>&p, &n) == 0:
- if n < 2048:
- memcpy(buf, p, n)
- __ip_checksum(buf, n)
-@@ -310,8 +310,8 @@ def ip_checksum(pkt):
-
- def ip_cksum_add(buf, int sum):
- cdef char *p
-- cdef int n
-- if PyObject_AsReadBuffer(buf, &p, &n) == 0:
-+ cdef ssize_t n
-+ if PyObject_AsReadBuffer(buf, <const void **>&p, &n) == 0:
- return __ip_cksum_add(p, n, sum)
- else:
- raise TypeError
---
-2.45.2
-
diff --git a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
deleted file mode 100644
index c2649c63400b..000000000000
--- a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit autotools distutils-r1
-
-DESCRIPTION="Simplified, portable interface to several low-level networking routines"
-HOMEPAGE="https://github.com/ofalk/libdnet"
-SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- dev-libs/libbsd
- python? ( ${PYTHON_DEPS} )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- python? (
- ${DISTUTILS_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- )
- test? ( dev-libs/check )
-"
-
-DOCS=( README.md THANKS )
-
-src_prepare() {
- default
-
- sed -i \
- -e 's/libcheck.a/libcheck.so/g' \
- configure.ac || die
- sed -i \
- -e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
- configure.ac || die
- sed -i \
- -e 's|-L$libdir ||g' \
- dnet-config.in || die
- sed -i \
- -e '/^SUBDIRS/s|python||g' \
- Makefile.am || die
-
- # Stale e.g. pkg-config macros w/ bashisms
- rm aclocal.m4 {config,m4}/libtool.m4 || die
-
- AT_M4DIR="config" eautoreconf
-
- if use python; then
- cd python || die
- distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_with python) \
- $(use_enable test check)
-}
-
-src_compile() {
- default
-
- if use python; then
- cd python || die
- distutils-r1_src_compile
- fi
-}
-
-src_test() {
- # https://bugs.gentoo.org/778797#c4
- # check_ip needs privileges and check_fw can't work on Linux
- emake check XFAIL_TESTS="check_fw check_ip"
-}
-
-src_install() {
- default
-
- if use python; then
- cd python || die
- unset DOCS
- distutils-r1_src_install
- fi
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/libdnet/libdnet-1.18.0-r2.ebuild b/dev-libs/libdnet/libdnet-1.18.0-r2.ebuild
deleted file mode 100644
index a35cde6e38b1..000000000000
--- a/dev-libs/libdnet/libdnet-1.18.0-r2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit autotools distutils-r1
-
-DESCRIPTION="Simplified, portable interface to several low-level networking routines"
-HOMEPAGE="https://github.com/ofalk/libdnet"
-SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- dev-libs/libbsd
- python? ( ${PYTHON_DEPS} )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- python? (
- ${DISTUTILS_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- )
- test? ( dev-libs/check )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.18.0-fix-incompatible-function-pointer.patch"
-)
-
-DOCS=( README.md THANKS )
-
-src_prepare() {
- default
-
- sed -i \
- -e 's/libcheck.a/libcheck.so/g' \
- configure.ac || die
- sed -i \
- -e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
- configure.ac || die
- sed -i \
- -e 's|-L$libdir ||g' \
- dnet-config.in || die
- sed -i \
- -e '/^SUBDIRS/s|python||g' \
- Makefile.am || die
-
- # Stale e.g. pkg-config macros w/ bashisms
- rm aclocal.m4 {config,m4}/libtool.m4 || die
-
- AT_M4DIR="config" eautoreconf
-
- if use python; then
- cd python || die
- distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_with python) \
- $(use_enable test check)
-}
-
-src_compile() {
- default
-
- if use python; then
- cd python || die
- distutils-r1_src_compile
- fi
-}
-
-src_test() {
- # https://bugs.gentoo.org/778797#c4
- # check_ip needs privileges and check_fw can't work on Linux
- emake check XFAIL_TESTS="check_fw check_ip"
-}
-
-src_install() {
- default
-
- if use python; then
- cd python || die
- unset DOCS
- distutils-r1_src_install
- fi
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/libdnet/libdnet-1.18.0-r3.ebuild b/dev-libs/libdnet/libdnet-1.18.0-r3.ebuild
deleted file mode 100644
index 030698667a96..000000000000
--- a/dev-libs/libdnet/libdnet-1.18.0-r3.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit autotools distutils-r1
-
-DESCRIPTION="Simplified, portable interface to several low-level networking routines"
-HOMEPAGE="https://github.com/ofalk/libdnet"
-SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- dev-libs/libbsd
- python? (
- ${PYTHON_DEPS}
- dev-python/netifaces[${PYTHON_USEDEP}]
- )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- python? (
- ${DISTUTILS_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- )
- test? ( dev-libs/check )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.18.0-fix-incompatible-function-pointer.patch"
-)
-
-DOCS=( README.md THANKS )
-
-src_prepare() {
- default
-
- sed -i \
- -e 's/libcheck.a/libcheck.so/g' \
- configure.ac || die
- sed -i \
- -e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
- configure.ac || die
- sed -i \
- -e 's|-L$libdir ||g' \
- dnet-config.in || die
- sed -i \
- -e '/^SUBDIRS/s|python||g' \
- Makefile.am || die
-
- # Stale e.g. pkg-config macros w/ bashisms
- rm aclocal.m4 {config,m4}/libtool.m4 || die
-
- AT_M4DIR="config" eautoreconf
-
- if use python; then
- cd python || die
- distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_with python) \
- $(use_enable test check)
-}
-
-src_compile() {
- default
-
- if use python; then
- cd python || die
- distutils-r1_src_compile
- fi
-}
-
-src_test() {
- # https://bugs.gentoo.org/778797#c4
- # check_ip needs privileges and check_fw can't work on Linux
- emake check XFAIL_TESTS="check_fw check_ip"
-
- # Needs network access, tries to access 8.8.8.8 to get IP/interfaces.
- # We could maybe run a daemon or just patch it to avoid that.
- #if use python; then
- # cd python || die
- # distutils-r1_src_test
- #fi
-}
-
-python_test() {
- eunittest
-}
-
-src_install() {
- default
-
- if use python; then
- cd python || die
- unset DOCS
- distutils-r1_src_install
- fi
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/libdnet/libdnet-1.18.2.ebuild b/dev-libs/libdnet/libdnet-1.18.2.ebuild
deleted file mode 100644
index f8920d3daa26..000000000000
--- a/dev-libs/libdnet/libdnet-1.18.2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..14} )
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit autotools distutils-r1
-
-DESCRIPTION="Simplified, portable interface to several low-level networking routines"
-HOMEPAGE="https://github.com/ofalk/libdnet"
-SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- dev-libs/libbsd
- python? (
- ${PYTHON_DEPS}
- dev-python/netifaces[${PYTHON_USEDEP}]
- )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- python? (
- ${DISTUTILS_DEPS}
- dev-python/cython[${PYTHON_USEDEP}]
- )
- test? ( dev-libs/check )
-"
-
-DOCS=( README.md THANKS )
-
-src_prepare() {
- default
-
- sed -i \
- -e 's/libcheck.a/libcheck.so/g' \
- configure.ac || die
- sed -i \
- -e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
- configure.ac || die
- sed -i \
- -e 's|-L$libdir ||g' \
- dnet-config.in || die
- sed -i \
- -e '/^SUBDIRS/s|python||g' \
- Makefile.am || die
-
- # Stale e.g. pkg-config macros w/ bashisms
- rm aclocal.m4 {config,m4}/libtool.m4 || die
-
- AT_M4DIR="config" eautoreconf
-
- if use python; then
- cd python || die
- distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_with python) \
- $(use_enable test check)
-}
-
-src_compile() {
- default
-
- if use python; then
- cd python || die
- distutils-r1_src_compile
- fi
-}
-
-src_test() {
- # https://bugs.gentoo.org/778797#c4
- # check_ip needs privileges and check_fw can't work on Linux
- emake check XFAIL_TESTS="check_fw check_ip"
-
- # Needs network access, tries to access 8.8.8.8 to get IP/interfaces.
- # We could maybe run a daemon or just patch it to avoid that.
- #if use python; then
- # cd python || die
- # distutils-r1_src_test
- #fi
-}
-
-python_test() {
- eunittest
-}
-
-src_install() {
- default
-
- if use python; then
- cd python || die
- unset DOCS
- distutils-r1_src_install
- fi
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/libdnet/metadata.xml b/dev-libs/libdnet/metadata.xml
deleted file mode 100644
index bc78db405871..000000000000
--- a/dev-libs/libdnet/metadata.xml
+++ /dev/null
@@ -1,12 +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>
- <upstream>
- <remote-id type="google-code">libdnet</remote-id>
- <remote-id type="github">dugsong/libdnet</remote-id>
- </upstream>
-</pkgmetadata>