[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-05-28 Thread Michał Górny
commit: 95f1d8c113023db87bff76ba8045a9a4ee7d62c8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 12:04:06 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 12:04:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f1d8c1

dev-libs/libdnet: Stabilize 1.18.0-r1 ppc64, #932950

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libdnet/libdnet-1.18.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
index babbadf81d51..da19f5e30a7f 100644
--- a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-05-28 Thread Michał Górny
commit: 2b3f12861d6b700c322d06601bfb798105d3a17e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 12:04:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 12:04:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3f1286

dev-libs/libdnet: Stabilize 1.18.0-r1 ppc, #932950

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libdnet/libdnet-1.18.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
index da19f5e30a7f..dbc0e310bcdb 100644
--- a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-05-28 Thread Michał Górny
commit: 1c99b323b873723db6a5d53b0ae2131d64ed4074
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 12:04:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 12:04:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c99b323

dev-libs/libdnet: Stabilize 1.18.0-r1 arm, #932950

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libdnet/libdnet-1.18.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
index 78ec85068f10..babbadf81d51 100644
--- a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-05-12 Thread Conrad Kostecki
commit: e591eeb64f51e14bb160a450da9e09ec51befa3a
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun May 12 12:12:32 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun May 12 12:26:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e591eeb6

dev-libs/libdnet: add python3.12, migrate to pep517

Closes: https://bugs.gentoo.org/909907
Closes: https://bugs.gentoo.org/929416
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libdnet/libdnet-1.18.0-r1.ebuild | 98 +++
 1 file changed, 98 insertions(+)

diff --git a/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
new file mode 100644
index ..78ec85068f10
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.18.0-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2024 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 ~ia64 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-04-29 Thread Jakov Smolić
commit: dbcfc0955de697ec2d2e97f6cc67abaef706f6e6
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Apr 29 07:50:35 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Apr 29 07:50:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbcfc095

dev-libs/libdnet: Stabilize 1.18.0 ppc, #930905

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/libdnet/libdnet-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.18.0.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0.ebuild
index fd47d46e0186..5c5d3cbfb7e8 100644
--- a/dev-libs/libdnet/libdnet-1.18.0.ebuild
+++ b/dev-libs/libdnet/libdnet-1.18.0.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-04-29 Thread Jakov Smolić
commit: 3080efde97699336fe4416ab511f0a595ba0fd4c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Apr 29 07:50:36 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Apr 29 07:50:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3080efde

dev-libs/libdnet: Stabilize 1.18.0 ppc64, #930905

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/libdnet/libdnet-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.18.0.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0.ebuild
index 5c5d3cbfb7e8..260e5431ab90 100644
--- a/dev-libs/libdnet/libdnet-1.18.0.ebuild
+++ b/dev-libs/libdnet/libdnet-1.18.0.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-03-23 Thread Sam James
commit: 76475594021e93b2da1b027e1bff8e5074460c49
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 20:27:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 20:27:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76475594

dev-libs/libdnet: Stabilize 1.16.4 amd64, #913838

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index f27242e85af0..08f0bd6dfacb 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-03-23 Thread Arthur Zamarin
commit: 451ccfe13704395256f71c9103290bae199355ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 23 20:25:40 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 23 20:25:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451ccfe1

dev-libs/libdnet: Stabilize 1.16.4 ppc64, #913838

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index 8047e72f1c5c..f27242e85af0 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc 
x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-03-23 Thread Arthur Zamarin
commit: c55bcb04273fb6fc6a636a4dbeae3e4d1c059f63
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 23 20:23:45 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 23 20:23:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55bcb04

dev-libs/libdnet: Stabilize 1.16.4 ppc, #913838

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index f711dff63e94..8047e72f1c5c 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc 
x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-03-23 Thread Sam James
commit: 70ec3ac4c1b52d29c86004c74ddabbefa919866a
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 18:11:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 18:11:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ec3ac4

dev-libs/libdnet: fix tests

XFAIL 2 known-bad tests, using Debian's rationale (they also only fail
in our sandboxes IIRC). Thanks to matoro for the hint.

Closes: https://bugs.gentoo.org/778797
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild |  8 +++-
 dev-libs/libdnet/libdnet-1.17.0.ebuild | 11 ---
 dev-libs/libdnet/libdnet-1.18.0.ebuild |  9 +++--
 3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index 63ed423fc1db..f711dff63e94 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -70,6 +70,12 @@ 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
 

diff --git a/dev-libs/libdnet/libdnet-1.17.0.ebuild 
b/dev-libs/libdnet/libdnet-1.17.0.ebuild
index 6375fca7a56c..fd47d46e0186 100644
--- a/dev-libs/libdnet/libdnet-1.17.0.ebuild
+++ b/dev-libs/libdnet/libdnet-1.17.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,8 +17,7 @@ LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 IUSE="python test"
-# Tests fail in sandbox
-RESTRICT="!test? ( test ) test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
@@ -75,6 +74,12 @@ 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
 

diff --git a/dev-libs/libdnet/libdnet-1.18.0.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0.ebuild
index acb3b2536aa4..fd47d46e0186 100644
--- a/dev-libs/libdnet/libdnet-1.18.0.ebuild
+++ b/dev-libs/libdnet/libdnet-1.18.0.ebuild
@@ -17,8 +17,7 @@ LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 IUSE="python test"
-# Tests fail in sandbox
-RESTRICT="!test? ( test ) test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
@@ -75,6 +74,12 @@ 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
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-03-08 Thread Sam James
commit: 97692e4c8d1739affda946d7785fcc3c16f7d456
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  8 16:46:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  8 16:46:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97692e4c

dev-libs/libdnet: add 1.18.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/Manifest  |  1 +
 dev-libs/libdnet/libdnet-1.18.0.ebuild | 88 ++
 2 files changed, 89 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index d7438fa70aa9..28153e6d5415 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,3 +1,4 @@
 DIST libdnet-1.16.2.tar.gz 675191 BLAKE2B 
04e4533dbe45700decec4755c7db608d0ca68be05431bf44e6984b2c6a4aec55888fc0f0159916c8ac4a60ec5f743047d2a0a541786cd13fda61739bd7eef0fb
 SHA512 
4b1902553a57eeb56952968e15be032de92d8106dc6e0ebf8e10470605c9c2ed69cb015f4057a5c119d01509c6795fc0dcda85a311d14124dddefdeb6223f848
 DIST libdnet-1.16.4.tar.gz 684358 BLAKE2B 
40be891c9004288329aaee0c79a29ebf0f095dfaaca4da98fd5ecfd759e22b8d10dc6b906200db1ac5b0a8cfbbea8fbe509da393e60cddeb5f875ad179cdc67a
 SHA512 
6c5556e365047afcc5da3f76b1c99aa70723c076a7cf75c03d96a661a583dfa6d0ab605076e68efffe5ddca2d69875e4bc4938e0874b8aa24915fcfbfe3f3ff9
 DIST libdnet-1.17.0.tar.gz 684645 BLAKE2B 
b208cb41201145411b1949531cb1ab27b4edc6026b8ca703c24231fdb021f46bfe922eb1da11090c271f439339f5384c93168fad3130ed2f89b3d2eca5c7f89f
 SHA512 
b207b2f61e3759a2b17827eabf37b0eb68cb9fa27418f99ee4efd754b01dfe8504dff465664b14054d54df334195d43963d142c7104dc603b2b8b1491590d2a7
+DIST libdnet-1.18.0.tar.gz 740145 BLAKE2B 
67f9257e0a05c6c768609c288de9a8704a7ba9d66142bcf849929fa3dbc7b59e379cef2a917d01d4ccfa63b5dfffaf7225f9c67f94e6e91c528a3066fae8c933
 SHA512 
c074828a1ecd21c292f9120c7afb6b3c11e967d1e0aaca78e75a5558e96f5e65e0d24b68b8386c33c1c28734a3d30f5857d394796e049d521c8b4a9a2c8dcea9

diff --git a/dev-libs/libdnet/libdnet-1.18.0.ebuild 
b/dev-libs/libdnet/libdnet-1.18.0.ebuild
new file mode 100644
index ..acb3b2536aa4
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.18.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+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 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+IUSE="python test"
+# Tests fail in sandbox
+RESTRICT="!test? ( test ) test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   dev-libs/libbsd
+   python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   python? ( 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_install() {
+   default
+
+   if use python; then
+   cd python || die
+   unset DOCS
+   distutils-r1_src_install
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-01-16 Thread Sam James
commit: d30a7bce6c012ac3c3f7453d04df9c4abe2339b2
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 17 05:48:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 05:48:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30a7bce

dev-libs/libdnet: disable py3.9

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 dev-libs/libdnet/libdnet-1.16.1.ebuild  | 2 +-
 dev-libs/libdnet/libdnet-1.16.2.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index c245b49afed1..5b704d9e057e 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 AT_M4DIR="config"
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_10 )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1
 

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 8f181b069e5c..75e3a54042d2 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_10 )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1
 

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index cf6a8e46f761..8ed52eca9704 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/files/, dev-libs/libdnet/

2024-01-16 Thread Sam James
commit: 074fdbb1bf93766079e0310c5543088cdd4ed5e8
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 17 05:48:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 05:48:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=074fdbb1

dev-libs/libdnet: drop 1.14-r2, 1.16.1

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/Manifest |   2 -
 dev-libs/libdnet/files/libdnet-1.14-ndisc.patch   | 796 --
 dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch |  10 -
 dev-libs/libdnet/libdnet-1.14-r2.ebuild   |  83 ---
 dev-libs/libdnet/libdnet-1.16.1.ebuild|  77 ---
 5 files changed, 968 deletions(-)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 295d6a35d501..d7438fa70aa9 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,5 +1,3 @@
-DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a
 SHA512 
ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93
-DIST libdnet-1.16.1.tar.gz 19 BLAKE2B 
74472af1bc97c4771909e926eb9b27193c50d665036672fc89ff21159408daeef090e682c5e76e19f31d04e802fb73edf01d1aa057b543568f534d31f8db375b
 SHA512 
9c6899b42502f3892463f1ec694934cc3b02831222fa15b5a899868229366ed4e9cc728ea2c70ec857ee9d676d763b1e390f6878a597a33f7d1cd5a7bd870586
 DIST libdnet-1.16.2.tar.gz 675191 BLAKE2B 
04e4533dbe45700decec4755c7db608d0ca68be05431bf44e6984b2c6a4aec55888fc0f0159916c8ac4a60ec5f743047d2a0a541786cd13fda61739bd7eef0fb
 SHA512 
4b1902553a57eeb56952968e15be032de92d8106dc6e0ebf8e10470605c9c2ed69cb015f4057a5c119d01509c6795fc0dcda85a311d14124dddefdeb6223f848
 DIST libdnet-1.16.4.tar.gz 684358 BLAKE2B 
40be891c9004288329aaee0c79a29ebf0f095dfaaca4da98fd5ecfd759e22b8d10dc6b906200db1ac5b0a8cfbbea8fbe509da393e60cddeb5f875ad179cdc67a
 SHA512 
6c5556e365047afcc5da3f76b1c99aa70723c076a7cf75c03d96a661a583dfa6d0ab605076e68efffe5ddca2d69875e4bc4938e0874b8aa24915fcfbfe3f3ff9
 DIST libdnet-1.17.0.tar.gz 684645 BLAKE2B 
b208cb41201145411b1949531cb1ab27b4edc6026b8ca703c24231fdb021f46bfe922eb1da11090c271f439339f5384c93168fad3130ed2f89b3d2eca5c7f89f
 SHA512 
b207b2f61e3759a2b17827eabf37b0eb68cb9fa27418f99ee4efd754b01dfe8504dff465664b14054d54df334195d43963d142c7104dc603b2b8b1491590d2a7

diff --git a/dev-libs/libdnet/files/libdnet-1.14-ndisc.patch 
b/dev-libs/libdnet/files/libdnet-1.14-ndisc.patch
deleted file mode 100644
index 439ffb7cb927..
--- a/dev-libs/libdnet/files/libdnet-1.14-ndisc.patch
+++ /dev/null
@@ -1,796 +0,0 @@
-From 1c324828f4c6c64c9340f169bc059152dba1f998 Mon Sep 17 00:00:00 2001
-From: Stas Grabois 
-Date: Sat, 5 Sep 2020 13:15:32 +0300
-Subject: [PATCH] IPv6 support
-

- configure|  20 
- configure.ac |   7 ++
- include/dnet.h   |   1 +
- include/dnet/Makefile.am |   2 +-
- include/dnet/Makefile.in |   2 +-
- include/dnet/ip6.h   |   3 +
- include/dnet/ndisc.h |  35 +++
- include/dnet/route.h |   3 +
- src/Makefile.in  |   2 +-
- src/intf.c   | 101 +---
- src/ip6.c|  56 +++
- src/ndisc-linux.c| 197 +++
- src/ndisc-none.c |  55 +++
- src/route-linux.c|  95 ++-
- 14 files changed, 541 insertions(+), 38 deletions(-)
- create mode 100644 include/dnet/ndisc.h
- create mode 100644 src/ndisc-linux.c
- create mode 100644 src/ndisc-none.c
-
 a/configure
-+++ b/configure
-@@ -22025,6 +22025,26 @@
- 
- fi
- 
-+if test "$ac_cv_dnet_linux_procfs" = yes ; then
-+  case $LIBOBJS in
-+"ndisc-linux.$ac_objext"   | \
-+  *" ndisc-linux.$ac_objext"   | \
-+"ndisc-linux.$ac_objext "* | \
-+  *" ndisc-linux.$ac_objext "* ) ;;
-+  *) LIBOBJS="$LIBOBJS ndisc-linux.$ac_objext" ;;
-+esac
-+
-+else
-+  case $LIBOBJS in
-+"ndisc-none.$ac_objext"   | \
-+  *" ndisc-none.$ac_objext"   | \
-+"ndisc-none.$ac_objext "* | \
-+  *" ndisc-none.$ac_objext "* ) ;;
-+  *) LIBOBJS="$LIBOBJS ndisc-none.$ac_objext" ;;
-+esac
-+
-+fi
-+
- if test "$ac_cv_header_linux_if_tun_h" = yes ; then
-   case $LIBOBJS in
- "tun-linux.$ac_objext"   | \
 a/configure.ac
-+++ b/configure.ac
-@@ -303,6 +303,13 @@
-   AC_LIBOBJ([route-none])
- fi
- 
-+dnl Check for ndisc interface.
-+if test "$ac_cv_dnet_linux_procfs" = yes ; then
-+AC_LIBOBJ([ndisc-linux])
-+else
-+AC_LIBOBJ([ndisc-none])
-+fi
-+
- dnl Check for tun interface.
- if test "$ac_cv_header_linux_if_tun_h" = yes ; then
-   AC_LIBOBJ([tun-linux])
 a/include/dnet.h
-+++ b/include/dnet.h
-@@ -16,6 +16,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
 a/include/dnet/Makefile.am
-+++ b/include/dnet/Makefile.am
-@@ -5,4 +5,4 @@
- dnetincludedir

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2024-01-16 Thread Sam James
commit: 21e3d4c351898c6b79e8a802465b350a6d09a603
Author: Matoro Mahri  matoro  tk>
AuthorDate: Sun Jan 14 22:50:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 05:45:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e3d4c3

dev-libs/libdnet: disable tests for <1.16.4

Uses an old --with-check=, which appears to work but then
actually no-ops the test suite.  >=1.16.4 have an --enable/--disable
toggle that actually works.

Bug: https://bugs.gentoo.org/913838
Signed-off-by: Matoro Mahri  matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/34812
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild |  5 ++---
 dev-libs/libdnet/libdnet-1.16.1.ebuild  | 10 --
 dev-libs/libdnet/libdnet-1.16.2.ebuild  | 10 --
 3 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 90dbdead4409..c245b49afed1 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,9 +16,8 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="python test"
+IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
 
 DEPEND="python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 6321f1a10785..8f181b069e5c 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,16 +15,14 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
+IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="dev-libs/libbsd
python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
-BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )
-   test? ( dev-libs/check )"
+BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
 DOCS=( README.md THANKS )
 
@@ -55,7 +53,7 @@ src_prepare() {
 src_configure() {
econf \
$(use_with python) \
-   $(use_enable test check)
+   --without-check
 }
 
 src_compile() {

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index 7b853da8a2fc..cf6a8e46f761 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,16 +15,14 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
+IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="dev-libs/libbsd
python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
-BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )
-   test? ( dev-libs/check )"
+BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
 DOCS=( README.md THANKS )
 
@@ -55,7 +53,7 @@ src_prepare() {
 src_configure() {
econf \
$(use_with python) \
-   $(use_enable test check)
+   --without-check
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-10-13 Thread Sam James
commit: faca27a1de042d8beff0bbb74e75f1d1435dc968
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 13 14:38:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 13 14:59:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faca27a1

dev-libs/libdnet: add 1.17.0

Closes: https://bugs.gentoo.org/907224
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/Manifest  |  1 +
 dev-libs/libdnet/libdnet-1.17.0.ebuild | 85 ++
 2 files changed, 86 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 8cf223e6c55c..295d6a35d501 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -2,3 +2,4 @@ DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e6536
 DIST libdnet-1.16.1.tar.gz 19 BLAKE2B 
74472af1bc97c4771909e926eb9b27193c50d665036672fc89ff21159408daeef090e682c5e76e19f31d04e802fb73edf01d1aa057b543568f534d31f8db375b
 SHA512 
9c6899b42502f3892463f1ec694934cc3b02831222fa15b5a899868229366ed4e9cc728ea2c70ec857ee9d676d763b1e390f6878a597a33f7d1cd5a7bd870586
 DIST libdnet-1.16.2.tar.gz 675191 BLAKE2B 
04e4533dbe45700decec4755c7db608d0ca68be05431bf44e6984b2c6a4aec55888fc0f0159916c8ac4a60ec5f743047d2a0a541786cd13fda61739bd7eef0fb
 SHA512 
4b1902553a57eeb56952968e15be032de92d8106dc6e0ebf8e10470605c9c2ed69cb015f4057a5c119d01509c6795fc0dcda85a311d14124dddefdeb6223f848
 DIST libdnet-1.16.4.tar.gz 684358 BLAKE2B 
40be891c9004288329aaee0c79a29ebf0f095dfaaca4da98fd5ecfd759e22b8d10dc6b906200db1ac5b0a8cfbbea8fbe509da393e60cddeb5f875ad179cdc67a
 SHA512 
6c5556e365047afcc5da3f76b1c99aa70723c076a7cf75c03d96a661a583dfa6d0ab605076e68efffe5ddca2d69875e4bc4938e0874b8aa24915fcfbfe3f3ff9
+DIST libdnet-1.17.0.tar.gz 684645 BLAKE2B 
b208cb41201145411b1949531cb1ab27b4edc6026b8ca703c24231fdb021f46bfe922eb1da11090c271f439339f5384c93168fad3130ed2f89b3d2eca5c7f89f
 SHA512 
b207b2f61e3759a2b17827eabf37b0eb68cb9fa27418f99ee4efd754b01dfe8504dff465664b14054d54df334195d43963d142c7104dc603b2b8b1491590d2a7

diff --git a/dev-libs/libdnet/libdnet-1.17.0.ebuild 
b/dev-libs/libdnet/libdnet-1.17.0.ebuild
new file mode 100644
index ..9114d6529375
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.17.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+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 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+IUSE="python test"
+# Tests fail in sandbox
+RESTRICT="!test? ( test ) test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   dev-libs/libbsd
+   python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   python? ( 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|-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_install() {
+   default
+
+   if use python; then
+   cd python || die
+   unset DOCS
+   distutils-r1_src_install
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-09-21 Thread Sam James
commit: 1bfd9dcb317d342dac8b357193680d41742e5df8
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Sep 21 19:43:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 21 20:09:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfd9dcb

dev-libs/libdnet: stable 1.16.4 for sparc, bug #913838

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index aba79e3b81ba..5c7bf03fe257 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-09-08 Thread Sam James
commit: 7d00351296070d4b6cea6913fab62b96819abddb
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  8 09:28:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  8 09:28:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d003512

dev-libs/libdnet: Stabilize 1.16.4 x86, #913838

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index a48810c0611a..aba79e3b81ba 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-09-07 Thread Sam James
commit: 3eaf576b122f991d5af8bfee805e41038acd0a17
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:52:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:52:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eaf576b

dev-libs/libdnet: Stabilize 1.16.4 arm, #913838

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
index 6b8c4bc843ea..a48810c0611a 100644
--- a/dev-libs/libdnet/libdnet-1.16.4.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-31 Thread Sam James
commit: f275168a22041ce913218728ef43c663191122aa
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  1 06:36:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  1 06:36:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f275168a

dev-libs/libdnet: add 1.16.4

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/Manifest  |  1 +
 dev-libs/libdnet/libdnet-1.16.4.ebuild | 80 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index ce31484bd46e..8cf223e6c55c 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,3 +1,4 @@
 DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a
 SHA512 
ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93
 DIST libdnet-1.16.1.tar.gz 19 BLAKE2B 
74472af1bc97c4771909e926eb9b27193c50d665036672fc89ff21159408daeef090e682c5e76e19f31d04e802fb73edf01d1aa057b543568f534d31f8db375b
 SHA512 
9c6899b42502f3892463f1ec694934cc3b02831222fa15b5a899868229366ed4e9cc728ea2c70ec857ee9d676d763b1e390f6878a597a33f7d1cd5a7bd870586
 DIST libdnet-1.16.2.tar.gz 675191 BLAKE2B 
04e4533dbe45700decec4755c7db608d0ca68be05431bf44e6984b2c6a4aec55888fc0f0159916c8ac4a60ec5f743047d2a0a541786cd13fda61739bd7eef0fb
 SHA512 
4b1902553a57eeb56952968e15be032de92d8106dc6e0ebf8e10470605c9c2ed69cb015f4057a5c119d01509c6795fc0dcda85a311d14124dddefdeb6223f848
+DIST libdnet-1.16.4.tar.gz 684358 BLAKE2B 
40be891c9004288329aaee0c79a29ebf0f095dfaaca4da98fd5ecfd759e22b8d10dc6b906200db1ac5b0a8cfbbea8fbe509da393e60cddeb5f875ad179cdc67a
 SHA512 
6c5556e365047afcc5da3f76b1c99aa70723c076a7cf75c03d96a661a583dfa6d0ab605076e68efffe5ddca2d69875e4bc4938e0874b8aa24915fcfbfe3f3ff9

diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild 
b/dev-libs/libdnet/libdnet-1.16.4.ebuild
new file mode 100644
index ..6b8c4bc843ea
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.16.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+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 ~ia64 ~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? ( 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|-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_with test check "${ESYSROOT}/usr")
+}
+
+src_compile() {
+   default
+   if use python; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   default
+
+   if use python; then
+   cd python || die
+   unset DOCS
+   distutils-r1_src_install
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-05 Thread Arthur Zamarin
commit: 902d49ab18be3fb5632edadf08411d9aaf71ef1e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri May  5 10:35:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri May  5 10:35:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902d49ab

dev-libs/libdnet: Stabilize 1.16.2 sparc, #905432

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index e91a5c0e2aec..bac97522127b 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-02 Thread Arthur Zamarin
commit: 25c6832dcf4f34d82cdd27495b813d7a1249c2a2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 19:25:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 19:25:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c6832d

dev-libs/libdnet: Stabilize 1.16.2 x86, #905432

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index 9577e74540c2..d31e5b9c667c 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-02 Thread Arthur Zamarin
commit: 72c3fcda70be2d2eefdc5a9cb2acbe8083bbb6b0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 19:25:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 19:25:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c3fcda

dev-libs/libdnet: Stabilize 1.16.2 amd64, #905432

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index d31e5b9c667c..e91a5c0e2aec 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-02 Thread Arthur Zamarin
commit: c09773b036a5d1d9a81df45f0297c975a4d1bded
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 19:25:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 19:25:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c09773b0

dev-libs/libdnet: Stabilize 1.16.2 arm, #905432

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index 9fd5c8d85ed9..9577e74540c2 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-02 Thread Arthur Zamarin
commit: c15f94ff93eb75232658ce16a3a56cda0b163a85
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 19:24:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 19:24:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15f94ff

dev-libs/libdnet: Stabilize 1.16.2 ppc, #905432

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index 13f24f3bd5c2..fbbf7354d246 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-02 Thread Arthur Zamarin
commit: 88394a2d7dca62e210d1eba6f47a10bbca932c13
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 19:24:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 19:24:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88394a2d

dev-libs/libdnet: Stabilize 1.16.2 ppc64, #905432

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index fbbf7354d246..9fd5c8d85ed9 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-05-01 Thread Sam James
commit: 1c0f91eb56414bad25108797a1a00f9a1d17c10e
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 18:13:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 18:13:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0f91eb

dev-libs/libdnet: properly conditionally build tests

Closes: https://bugs.gentoo.org/852122
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 dev-libs/libdnet/libdnet-1.16.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 40bdc4cf9eaf..ae421db27101 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -55,7 +55,7 @@ src_prepare() {
 src_configure() {
econf \
$(use_with python) \
-   --with-check=$(usex test "${ESYSROOT}/usr")
+   $(use_with test check "${ESYSROOT}/usr")
 }
 
 src_compile() {

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index b75d19b5261f..13f24f3bd5c2 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -55,7 +55,7 @@ src_prepare() {
 src_configure() {
econf \
$(use_with python) \
-   --with-check=$(usex test "${ESYSROOT}/usr")
+   $(use_with test check "${ESYSROOT}/usr")
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-04-07 Thread Sam James
commit: ad6c7ef2a6fd58cb49204e5a8a26ed562ed64dfa
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  7 11:05:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  7 11:11:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6c7ef2

dev-libs/libdnet: add 1.16.2

Closes: https://bugs.gentoo.org/874684
Closes: https://bugs.gentoo.org/896712
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/Manifest  |  1 +
 dev-libs/libdnet/libdnet-1.16.2.ebuild | 79 ++
 2 files changed, 80 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 50391c5530cf..ce31484bd46e 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,2 +1,3 @@
 DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a
 SHA512 
ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93
 DIST libdnet-1.16.1.tar.gz 19 BLAKE2B 
74472af1bc97c4771909e926eb9b27193c50d665036672fc89ff21159408daeef090e682c5e76e19f31d04e802fb73edf01d1aa057b543568f534d31f8db375b
 SHA512 
9c6899b42502f3892463f1ec694934cc3b02831222fa15b5a899868229366ed4e9cc728ea2c70ec857ee9d676d763b1e390f6878a597a33f7d1cd5a7bd870586
+DIST libdnet-1.16.2.tar.gz 675191 BLAKE2B 
04e4533dbe45700decec4755c7db608d0ca68be05431bf44e6984b2c6a4aec55888fc0f0159916c8ac4a60ec5f743047d2a0a541786cd13fda61739bd7eef0fb
 SHA512 
4b1902553a57eeb56952968e15be032de92d8106dc6e0ebf8e10470605c9c2ed69cb015f4057a5c119d01509c6795fc0dcda85a311d14124dddefdeb6223f848

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
new file mode 100644
index ..b75d19b5261f
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.16.2.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_{9..11} )
+DISTUTILS_OPTIONAL=1
+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 ~ia64 ~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? ( 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|-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) \
+   --with-check=$(usex test "${ESYSROOT}/usr")
+}
+
+src_compile() {
+   default
+   if use python; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   default
+
+   if use python; then
+   cd python || die
+   unset DOCS
+   distutils-r1_src_install
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-03-30 Thread Arthur Zamarin
commit: 54687cf2310a808d1a005531b6256a66ec13c938
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 17:25:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 17:25:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54687cf2

dev-libs/libdnet: Stabilize 1.16.1 ppc, #899384

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 1a1de8377ef0..40bdc4cf9eaf 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-03-30 Thread Arthur Zamarin
commit: 10e2d253dd48b9b42893b858c033a337bcf14f9a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 17:22:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 17:22:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e2d253

dev-libs/libdnet: Stabilize 1.16.1 x86, #899384

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 456428ea19f7..cf4433f3805b 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc 
~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-03-30 Thread Arthur Zamarin
commit: c9c767729adcbe5527ee40ce94face39405664b5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 17:22:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 17:22:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c76772

dev-libs/libdnet: Stabilize 1.16.1 arm, #899384

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index cf4433f3805b..1a1de8377ef0 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc 
x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-03-30 Thread Arthur Zamarin
commit: 605a0552c7e157201724431daf91961072e6db11
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 17:22:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 17:22:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=605a0552

dev-libs/libdnet: Stabilize 1.16.1 sparc, #899384

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index ac1d03fdb615..456428ea19f7 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-03-30 Thread Arthur Zamarin
commit: 0fd66b0909243ab733d5f6e300d90808f8aba6ec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 17:21:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 17:21:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd66b09

dev-libs/libdnet: Stabilize 1.16.1 amd64, #899384

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index e4ef55280684..ac1d03fdb615 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2023-03-15 Thread Arthur Zamarin
commit: a7342e6c553efb8c28ba19e02ae9ee3ba89a6420
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Mar 15 18:44:01 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Mar 15 18:44:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7342e6c

dev-libs/libdnet: Stabilize 1.16.1 ppc64, #899384

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index b4a55eda9c28..e4ef55280684 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc 
~x86"
 IUSE="python test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2022-05-16 Thread Sam James
commit: de397177f198704042dbfe0499ad1b8813e553f8
Author: Sam James  gentoo  org>
AuthorDate: Mon May 16 06:03:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 16 19:56:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de397177

dev-libs/libdnet: add 1.16.1

Closes: https://bugs.gentoo.org/612400
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/Manifest  |  1 +
 dev-libs/libdnet/libdnet-1.16.1.ebuild | 79 ++
 2 files changed, 80 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index dad5f443f912..50391c5530cf 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1 +1,2 @@
 DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a
 SHA512 
ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93
+DIST libdnet-1.16.1.tar.gz 19 BLAKE2B 
74472af1bc97c4771909e926eb9b27193c50d665036672fc89ff21159408daeef090e682c5e76e19f31d04e802fb73edf01d1aa057b543568f534d31f8db375b
 SHA512 
9c6899b42502f3892463f1ec694934cc3b02831222fa15b5a899868229366ed4e9cc728ea2c70ec857ee9d676d763b1e390f6878a597a33f7d1cd5a7bd870586

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
new file mode 100644
index ..112351021f1d
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_OPTIONAL=1
+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 ~ia64 ~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? ( 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|-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) \
+   --with-check=$(usex test "${ESYSROOT}/usr")
+}
+
+src_compile() {
+   default
+   if use python; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   default
+
+   if use python; then
+   cd python || die
+   unset DOCS
+   distutils-r1_src_install
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-10-26 Thread Arthur Zamarin
commit: fc3b7fa66340b6be59620083982640efc7af9689
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct 27 06:45:32 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct 27 06:48:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc3b7fa6

dev-libs/libdnet: enable py3.10

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index f8a7f4031b6..51b423043d2 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 AT_M4DIR="config"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-07-15 Thread Yixun Lan
commit: 2eb4d5e82f4f33b70c423393f8d9747b157c645b
Author: Alex Fan  yahoo  com>
AuthorDate: Tue Jul 13 05:13:46 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jul 16 01:15:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb4d5e8

dev-libs/libdnet: add ~riscv keyword

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 88c4acfad33..f8a7f4031b6 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-02-17 Thread Sam James
commit: c61257fb948951c10e217d7c38abd0ad9aca2f71
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 17 23:40:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 17 23:40:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c61257fb

dev-libs/libdnet: Stabilize 1.14-r2 x86, #769182

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index f1fa7a9b02d..88c4acfad33 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-02-16 Thread Sam James
commit: 043744beb457327e56d745a9de4055d1ebdcf8bd
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 16 12:34:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 16 12:34:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043744be

dev-libs/libdnet: Stabilize 1.14-r2 arm, #769182

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index ea54a481e0e..f1fa7a9b02d 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-02-12 Thread Sam James
commit: 43ed6b6e3fb0fafbe840efded0de3169539cffe8
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 12 13:46:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 12 13:46:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ed6b6e

dev-libs/libdnet: Stabilize 1.14-r2 ppc64, #769182

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 768d54499f4..1b5ff4c2788 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 sparc ~x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-02-12 Thread Sam James
commit: 7506dd259ca59a48434e665bebd8ddab344fc3af
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 12 09:55:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 12 09:55:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7506dd25

dev-libs/libdnet: Stabilize 1.14-r2 amd64, #769182

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 62aeea93699..768d54499f4 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-02-07 Thread Sam James
commit: 6359c4ed179b1b912e40dee6d0e0cdca0e40da2e
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb  7 08:58:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb  7 08:58:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6359c4ed

dev-libs/libdnet: Stabilize 1.14-r2 sparc, #769182

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index d523c10b8b6..62aeea93699 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-01-12 Thread Sam James
commit: bc719dc6a1f6912dcf71efdf2feef7352510b456
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 12 23:24:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 12 23:34:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc719dc6

dev-libs/libdnet: add Python 3.9

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 31 +++
 dev-libs/libdnet/libdnet-1.14-r2.ebuild |  2 +-
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index 3d34dd00737..58293f3bd05 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -1,31 +1,30 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 AT_M4DIR="config"
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 DISTUTILS_OPTIONAL=1
 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";
-LICENSE="LGPL-2"
+S="${WORKDIR}/${PN}-${P}"
 
+LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="python static-libs test"
-
-DEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-RDEPEND="
-   ${DEPEND}
-"
-RESTRICT="test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="test"
+
+DEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+
 DOCS=( README.md THANKS TODO )
-S=${WORKDIR}/${PN}-${P}
+
 PATCHES=(
"${FILESDIR}"/${PN}-1.14-ndisc.patch
"${FILESDIR}"/${PN}-1.14-strlcpy.patch
@@ -48,7 +47,7 @@ src_prepare() {
eautoreconf
 
if use python; then
-   cd python
+   cd python || die
distutils-r1_src_prepare
fi
 }
@@ -62,7 +61,7 @@ src_configure() {
 src_compile() {
default
if use python; then
-   cd python
+   cd python || die
distutils-r1_src_compile
fi
 }
@@ -70,9 +69,9 @@ src_compile() {
 src_install() {
default
if use python; then
-   cd python
+   cd python || die
unset DOCS
distutils-r1_src_install
fi
-   find "${D}" -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 }

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 2938cfe88b8..f6b3a828e42 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 AT_M4DIR="config"
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-01-06 Thread Sam James
commit: d610bba8be2d1d2c29eaf3c5298b298a9b7dab04
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Dec 10 14:05:05 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 04:04:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d610bba8

dev-libs/libdnet: misc fixes

* Add cython as BDEPEND
* Disabled static libs
* Removed TODO from docs
* Removed live ebuild

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18596
Signed-off-by: Sam James  gentoo.org>

 ...{libdnet-.ebuild => libdnet-1.14-r2.ebuild} | 24 +-
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
similarity index 72%
rename from dev-libs/libdnet/libdnet-.ebuild
rename to dev-libs/libdnet/libdnet-1.14-r2.ebuild
index c1471b35968..068ca755f13 100644
--- a/dev-libs/libdnet/libdnet-.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -5,17 +5,16 @@ EAPI=7
 AT_M4DIR="config"
 PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1 git-r3
+inherit autotools distutils-r1
 
 DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
 HOMEPAGE="https://github.com/ofalk/libdnet";
-EGIT_REPO_URI="https://github.com/ofalk/libdnet";
-EGIT_BRANCH="devel"
+SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS=""
-IUSE="python static-libs test"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="python test"
 
 DEPEND="
python? ( ${PYTHON_DEPS} )
@@ -23,11 +22,18 @@ DEPEND="
 RDEPEND="
${DEPEND}
 "
+BDEPEND="
+   python? (
+   dev-python/cython[${PYTHON_USEDEP}]
+   )
+"
 RESTRICT="test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-DOCS=( README.md THANKS TODO )
+DOCS=( README.md THANKS )
+S="${WORKDIR}/${PN}-${P}"
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.14-strlcpy.patch
+   "${FILESDIR}/${PN}-1.14-ndisc.patch"
+   "${FILESDIR}/${PN}-1.14-strlcpy.patch"
 )
 
 src_prepare() {
@@ -53,9 +59,7 @@ src_prepare() {
 }
 
 src_configure() {
-   econf \
-   $(use_with python) \
-   $(use_enable static-libs static)
+   econf --disable-static $(use_with python)
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-01-06 Thread Sam James
commit: 5d964ed5ad7989e4075febd72d6e4083b80a3cf2
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 04:06:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 04:06:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d964ed5

dev-libs/libdnet: further style changes

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 34 ++---
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 068ca755f13..f628dbd0b74 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 AT_M4DIR="config"
 PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
@@ -10,27 +11,26 @@ 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";
-LICENSE="LGPL-2"
+S="${WORKDIR}/${PN}-${P}"
 
+LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-RDEPEND="
-   ${DEPEND}
-"
+DEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
 BDEPEND="
python? (
dev-python/cython[${PYTHON_USEDEP}]
)
 "
+
 RESTRICT="test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
 DOCS=( README.md THANKS )
-S="${WORKDIR}/${PN}-${P}"
+
 PATCHES=(
"${FILESDIR}/${PN}-1.14-ndisc.patch"
"${FILESDIR}/${PN}-1.14-strlcpy.patch"
@@ -53,29 +53,33 @@ src_prepare() {
eautoreconf
 
if use python; then
-   cd python
+   cd python || die
distutils-r1_src_prepare
fi
 }
 
 src_configure() {
-   econf --disable-static $(use_with python)
+   econf \
+   --disable-static \
+   $(use_with python)
 }
 
 src_compile() {
default
if use python; then
-   cd python
+   cd python || die
distutils-r1_src_compile
fi
 }
 
 src_install() {
default
+
if use python; then
-   cd python
+   cd python || die
unset DOCS
distutils-r1_src_install
fi
-   find "${D}" -name '*.la' -delete || die
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-01-06 Thread Sam James
commit: ee63b521dd3a01e10b060d7eb3112ef978ea77d9
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 04:07:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 04:07:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee63b521

dev-libs/libdnet: restore ~arm64

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index f628dbd0b74..86d95c40f66 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2021-01-06 Thread Sam James
commit: e8306edc3efdae38c8890632c288b13bdc5b3f84
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 04:09:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 04:09:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8306edc

dev-libs/libdnet: unrestrict tests

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 86d95c40f66..2938cfe88b8 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
 
 DEPEND="python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
@@ -27,8 +28,6 @@ BDEPEND="
)
 "
 
-RESTRICT="test"
-
 DOCS=( README.md THANKS )
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-12-26 Thread Sam James
commit: d05a9925733c76e234f71807bc0ec63404385d6a
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 27 05:39:52 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 27 05:40:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d05a9925

dev-libs/libdnet: Keyword 1.14-r1 arm64, #728712

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index aa60351e6e6..d74ffecbf39 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-13 Thread Michał Górny
commit: 2ac4be198cbd3324a528d98d92197bb4c5ef9a1a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 13 15:49:17 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 13 15:49:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ac4be19

dev-libs/libdnet: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libdnet/Manifest   |  3 --
 dev-libs/libdnet/libdnet-1.12-r1.ebuild | 77 -
 dev-libs/libdnet/libdnet-1.12.ebuild| 70 --
 dev-libs/libdnet/libdnet-1.14.ebuild| 77 -
 4 files changed, 227 deletions(-)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 49650f18887..dad5f443f91 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,4 +1 @@
-DIST libdnet-1.12.ipv6-1.patch.gz 5124 BLAKE2B 
674866a441a5907df97942772b1e4b95aee004ddb110204df0580cec6b6bb3ba4074831d83e675e1914f1a29281b02227e95016db6ce6a0e8b99417d1aa6aaab
 SHA512 
fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a
-DIST libdnet-1.12.tar.gz 959945 BLAKE2B 
a19f8c83425861d02f832330cf0eb5bc317eec157737e0eacd48a7827d423c626b24ce833f66429c9f2a0018502cae5426d5cfc1019aed307d63e4fa6b3845c8
 SHA512 
a2410a98b76d4bccecf7bcb82ff0b6e9fb809b389f7fea938cc42d94e18622cc5f353d2de737121a1990d9e16e9db8cc2f82677c94f78cd03c9227e815eab9e0
-DIST libdnet-1.12.tgz 970125 BLAKE2B 
74be00b6fe1c7848010a7044628a6ad8f4b2f2c4f9676066c15e02c7a8b613e26a5e7743df524869fee2eb7d93438bf346f772b8df199b8ec337279dd50d5d77
 SHA512 
b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3
 DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a
 SHA512 
ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93

diff --git a/dev-libs/libdnet/libdnet-1.12-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.12-r1.ebuild
deleted file mode 100644
index 53b21531ca6..000
--- a/dev-libs/libdnet/libdnet-1.12-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-AT_M4DIR="config"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1
-
-DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
-HOMEPAGE="https://github.com/dugsong/libdnet";
-SRC_URI="
-   https://github.com/dugsong/libdnet/archive/${P}.tar.gz
-   ipv6? ( 
https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )
-"
-LICENSE="LGPL-2"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="ipv6 python static-libs test"
-
-DEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-RDEPEND="
-   ${DEPEND}
-"
-RESTRICT="test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-DOCS=( README THANKS TODO )
-S=${WORKDIR}/${PN}-${P}
-
-src_prepare() {
-   # Useless copy
-   rm -r trunk/ || die
-
-   sed -i \
-   -e 's/libcheck.a/libcheck.so/g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.in || die
-   sed -i -e 's|-L@libdir@ ||g' dnet-config.in || die
-   use ipv6 && eapply "${WORKDIR}/${P}.ipv6-1.patch"
-   sed -i -e '/^SUBDIRS/s|python||g' Makefile.am || die
-   eautoreconf
-
-   if use python; then
-   cd python
-   distutils-r1_src_prepare
-   fi
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   $(use_with python) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   default
-   if use python; then
-   cd python
-   distutils-r1_src_compile
-   fi
-}
-
-src_install() {
-   default
-   if use python; then
-   cd python
-   unset DOCS
-   distutils-r1_src_install
-   fi
-   find "${D}" -name '*.la' -delete || die
-}

diff --git a/dev-libs/libdnet/libdnet-1.12.ebuild 
b/dev-libs/libdnet/libdnet-1.12.ebuild
deleted file mode 100644
index a7cef11fa49..000
--- a/dev-libs/libdnet/libdnet-1.12.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AT_M4DIR="config"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools distutils-r1 eutils ltprune
-
-DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
-HOMEPAGE="https://github.com/dugsong/libdnet";
-SRC_URI="https://libdnet.googlecode.com/files/${P}.tgz
-   ipv6? ( 
https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )"
-
-

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-13 Thread Agostino Sarubbo
commit: 9f8854105ab145dbe728ecee69fc0c8e5853bdfa
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 13 09:59:19 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 13 10:01:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f885410

dev-libs/libdnet: x86 stable wrt bug #747436

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index 0f38ad093d8..aa60351e6e6 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-11 Thread Sam James
commit: 62f4e4a1bfd4ec77d57b44253abc1eebd4d956fd
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 11 15:34:07 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 11 15:39:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f4e4a1

dev-libs/libdnet: Stabilize 1.14-r1 arm, #747436

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index 69b2c3e3c74..6f45b8bc56c 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-11 Thread Sergei Trofimovich
commit: d9d47e3329f6b7c14765af6204934e2691a931da
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 11 08:58:47 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 11 08:58:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d47e33

dev-libs/libdnet: stable 1.14-r1 for ppc64

stable wrt bug #747436

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index ca0251e1a2d..69b2c3e3c74 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-11 Thread Sergei Trofimovich
commit: b9898a624529f8c585b8bf6cfbe7ecb3588f7c4b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 11 08:54:40 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 11 08:54:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9898a62

dev-libs/libdnet: stable 1.14-r1 for ppc

stable wrt bug #747436

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index 036d5cfa3fd..ca0251e1a2d 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-10 Thread Sergei Trofimovich
commit: 7530f60ca2c96df57575cd7f7040ceae5cbe96e8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 10 13:43:02 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 10 13:43:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7530f60c

dev-libs/libdnet: stable 1.14-r1 for hppa

stable wrt bug #747436

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index 65f52f4dc8e..036d5cfa3fd 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-10-10 Thread Sergei Trofimovich
commit: a379e6827e989c782314e7bce795264b08185fdb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 10 08:46:58 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 10 08:46:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a379e682

dev-libs/libdnet: stable 1.14-r1 for sparc

stable wrt bug #747436

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
index a709c3f636c..65f52f4dc8e 100644
--- a/dev-libs/libdnet/libdnet-1.14-r1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/files/, dev-libs/libdnet/

2020-09-27 Thread Jeroen Roovers
commit: af1632be53234f09ff25a70576f4f98a782d405a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 27 10:02:00 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 27 10:06:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1632be

dev-libs/libdnet: Add ndisc patch

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Bug: https://bugs.gentoo.org/744484
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/files/libdnet-1.14-ndisc.patch | 796 
 dev-libs/libdnet/libdnet-1.14-r1.ebuild |  78 +++
 2 files changed, 874 insertions(+)

diff --git a/dev-libs/libdnet/files/libdnet-1.14-ndisc.patch 
b/dev-libs/libdnet/files/libdnet-1.14-ndisc.patch
new file mode 100644
index 000..439ffb7cb92
--- /dev/null
+++ b/dev-libs/libdnet/files/libdnet-1.14-ndisc.patch
@@ -0,0 +1,796 @@
+From 1c324828f4c6c64c9340f169bc059152dba1f998 Mon Sep 17 00:00:00 2001
+From: Stas Grabois 
+Date: Sat, 5 Sep 2020 13:15:32 +0300
+Subject: [PATCH] IPv6 support
+
+---
+ configure|  20 
+ configure.ac |   7 ++
+ include/dnet.h   |   1 +
+ include/dnet/Makefile.am |   2 +-
+ include/dnet/Makefile.in |   2 +-
+ include/dnet/ip6.h   |   3 +
+ include/dnet/ndisc.h |  35 +++
+ include/dnet/route.h |   3 +
+ src/Makefile.in  |   2 +-
+ src/intf.c   | 101 +---
+ src/ip6.c|  56 +++
+ src/ndisc-linux.c| 197 +++
+ src/ndisc-none.c |  55 +++
+ src/route-linux.c|  95 ++-
+ 14 files changed, 541 insertions(+), 38 deletions(-)
+ create mode 100644 include/dnet/ndisc.h
+ create mode 100644 src/ndisc-linux.c
+ create mode 100644 src/ndisc-none.c
+
+--- a/configure
 b/configure
+@@ -22025,6 +22025,26 @@
+ 
+ fi
+ 
++if test "$ac_cv_dnet_linux_procfs" = yes ; then
++  case $LIBOBJS in
++"ndisc-linux.$ac_objext"   | \
++  *" ndisc-linux.$ac_objext"   | \
++"ndisc-linux.$ac_objext "* | \
++  *" ndisc-linux.$ac_objext "* ) ;;
++  *) LIBOBJS="$LIBOBJS ndisc-linux.$ac_objext" ;;
++esac
++
++else
++  case $LIBOBJS in
++"ndisc-none.$ac_objext"   | \
++  *" ndisc-none.$ac_objext"   | \
++"ndisc-none.$ac_objext "* | \
++  *" ndisc-none.$ac_objext "* ) ;;
++  *) LIBOBJS="$LIBOBJS ndisc-none.$ac_objext" ;;
++esac
++
++fi
++
+ if test "$ac_cv_header_linux_if_tun_h" = yes ; then
+   case $LIBOBJS in
+ "tun-linux.$ac_objext"   | \
+--- a/configure.ac
 b/configure.ac
+@@ -303,6 +303,13 @@
+   AC_LIBOBJ([route-none])
+ fi
+ 
++dnl Check for ndisc interface.
++if test "$ac_cv_dnet_linux_procfs" = yes ; then
++AC_LIBOBJ([ndisc-linux])
++else
++AC_LIBOBJ([ndisc-none])
++fi
++
+ dnl Check for tun interface.
+ if test "$ac_cv_header_linux_if_tun_h" = yes ; then
+   AC_LIBOBJ([tun-linux])
+--- a/include/dnet.h
 b/include/dnet.h
+@@ -16,6 +16,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/include/dnet/Makefile.am
 b/include/dnet/Makefile.am
+@@ -5,4 +5,4 @@
+ dnetincludedir = $(includedir)/dnet
+ 
+ dnetinclude_HEADERS = addr.h arp.h blob.h eth.h fw.h icmp.h intf.h ip.h \
+-  ip6.h os.h rand.h route.h tcp.h tun.h udp.h sctp.h
++  ip6.h os.h rand.h route.h tcp.h tun.h udp.h sctp.h ndisc.h
+--- a/include/dnet/Makefile.in
 b/include/dnet/Makefile.in
+@@ -106,7 +106,7 @@
+ dnetincludedir = $(includedir)/dnet
+ 
+ dnetinclude_HEADERS = addr.h arp.h blob.h eth.h fw.h icmp.h intf.h ip.h \
+-  ip6.h os.h rand.h route.h tcp.h tun.h udp.h sctp.h
++  ip6.h os.h rand.h route.h tcp.h tun.h udp.h sctp.h ndisc.h
+ 
+ subdir = include/dnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+--- a/include/dnet/ip6.h
 b/include/dnet/ip6.h
+@@ -179,6 +179,9 @@
+ char  *ip6_ntoa(const ip6_addr_t *ip6);
+ #defineip6_aton ip6_pton
+ 
++ssize_tip6_add_option(void *buf, size_t len,
++   int proto, const void *optbuf, size_t optlen);
++
+ void   ip6_checksum(void *buf, size_t len);
+ __END_DECLS
+ 
+new file mode 100644
+--- a//dev/null
 b/include/dnet/ndisc.h
+@@ -0,0 +1,35 @@
++/*
++ * ndisc.c
++ *
++ * Kernel arp/ndisc table operations.
++ *
++ * Copyright (c) 2000 Dug Song 
++ *
++ */
++
++#ifndef DNET_NDISC_H
++#define DNET_NDISC_H
++
++/*
++ * NDISC cache entry
++ */
++struct ndisc_entry {
++intintf_index;
++  struct addr ndisc_pa;   /* protocol address */
++  struct addr ndisc_ha;   /* hardware address */
++};
++
++typedef struct ndisc_handle ndisc_t;
++
++typedef int (*ndisc_handler)(const struct ndisc_entry *entry, void *arg);
++
++__BEGIN_DECLS
++ndisc_t   *ndisc_open(void);
++intndisc_add(ndisc_t *n, const struct ndisc_entry *entry);
++intndisc_delete(ndisc_t *n, const struct ndisc_entry *entry);
++intndisc_get(ndisc_t *n, struct ndisc_entry *ent

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-26 Thread Sergei Trofimovich
commit: 9993554ae3118a7d5966941a5a03ffa632de0026
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 26 21:32:52 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 26 21:32:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9993554a

dev-libs/libdnet: stable 1.14 for hppa

stable wrt bug #735288

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index 8e8edf205be..3c236abaf8f 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-26 Thread Jeroen Roovers
commit: 9af2739ab2183db40ef053cc4724153d4e0ba5df
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep 26 09:20:20 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep 26 09:20:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af2739a

dev-libs/libdnet: Switch live ebuild to the exciting branch

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/libdnet-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/libdnet/libdnet-.ebuild 
b/dev-libs/libdnet/libdnet-.ebuild
index ca4ff35ff01..c1471b35968 100644
--- a/dev-libs/libdnet/libdnet-.ebuild
+++ b/dev-libs/libdnet/libdnet-.ebuild
@@ -10,6 +10,7 @@ inherit autotools distutils-r1 git-r3
 DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
 HOMEPAGE="https://github.com/ofalk/libdnet";
 EGIT_REPO_URI="https://github.com/ofalk/libdnet";
+EGIT_BRANCH="devel"
 LICENSE="LGPL-2"
 
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/files/, dev-libs/libdnet/

2020-09-26 Thread Jeroen Roovers
commit: 3f9fabf33e63547d2a1059222ae750992ed21659
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep 26 09:11:07 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep 26 09:12:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9fabf3

dev-libs/libdnet: python: Include config.h for strlcpy definition

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Bug: https://github.com/ofalk/libdnet/pull/60
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch | 10 ++
 dev-libs/libdnet/libdnet-1.14.ebuild  |  3 +++
 dev-libs/libdnet/libdnet-.ebuild  |  3 +++
 3 files changed, 16 insertions(+)

diff --git a/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch 
b/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch
new file mode 100644
index 000..abc3a6b0f2d
--- /dev/null
+++ b/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch
@@ -0,0 +1,10 @@
+--- a/python/dnet.c
 b/python/dnet.c
+@@ -22,6 +22,7 @@
+ #endif
+ __PYX_EXTERN_C double pow(double, double);
+ #include "dnet.h"
++#include "config.h"
+ 
+ 
+ typedef struct {const char *s; const void **p;} __Pyx_CApiTabEntry; /*proto*/

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index 122c57b6274..8e8edf205be 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -26,6 +26,9 @@ RESTRICT="test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 DOCS=( README.md THANKS TODO )
 S=${WORKDIR}/${PN}-${P}
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.14-strlcpy.patch
+)
 
 src_prepare() {
default

diff --git a/dev-libs/libdnet/libdnet-.ebuild 
b/dev-libs/libdnet/libdnet-.ebuild
index 3878f74646e..ca4ff35ff01 100644
--- a/dev-libs/libdnet/libdnet-.ebuild
+++ b/dev-libs/libdnet/libdnet-.ebuild
@@ -25,6 +25,9 @@ RDEPEND="
 RESTRICT="test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 DOCS=( README.md THANKS TODO )
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.14-strlcpy.patch
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-24 Thread Agostino Sarubbo
commit: d64d3086048ccfabf15021d855ebf278b068dedd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 06:59:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 06:59:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64d3086

dev-libs/libdnet: x86 stable wrt bug #735288

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index bbab95505cf..122c57b6274 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-23 Thread Agostino Sarubbo
commit: 3847de55d70baf13904fde86f04a972959897ee3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 06:45:41 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 06:46:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3847de55

dev-libs/libdnet: amd64 stable wrt bug #735288

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index d44d1d79a67..bbab95505cf 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-23 Thread Agostino Sarubbo
commit: a137aa63455b1631d772f128d88d9c095de07eed
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:32:09 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:32:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a137aa63

dev-libs/libdnet: sparc stable wrt bug #735288

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index 4a214f34a2f..d44d1d79a67 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-23 Thread Agostino Sarubbo
commit: 84fc2797213f69c002b41cb980a79e8c9149920f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:28:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:29:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84fc2797

dev-libs/libdnet: ppc64 stable wrt bug #735288

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index 133a32c0ebb..4a214f34a2f 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-23 Thread Agostino Sarubbo
commit: a76c167ef6c758497dbc26e621c3e220a3024eab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:24:16 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:24:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a76c167e

dev-libs/libdnet: ppc stable wrt bug #735288

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index 5fa7c8df354..133a32c0ebb 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-19 Thread Sam James
commit: 5532e371e393be4684adf51ac134debe5baac4e2
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 19 20:52:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 19 20:52:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5532e371

dev-libs/libdnet: arm stable (bug #735288)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libdnet/libdnet-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
index 1208fdd5df3..5fa7c8df354 100644
--- a/dev-libs/libdnet/libdnet-1.14.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python static-libs test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-09-09 Thread Jeroen Roovers
commit: ddc04ac56f6d209827b1eb1ab81db7db901a9426
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep 10 05:37:37 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep 10 05:37:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc04ac5

dev-libs/libdnet: Version 1.14

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/Manifest  | 2 +-
 .../libdnet/{libdnet-1.14_pre20200717.ebuild => libdnet-1.14.ebuild}   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 40a66ee39d7..49650f18887 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,4 +1,4 @@
 DIST libdnet-1.12.ipv6-1.patch.gz 5124 BLAKE2B 
674866a441a5907df97942772b1e4b95aee004ddb110204df0580cec6b6bb3ba4074831d83e675e1914f1a29281b02227e95016db6ce6a0e8b99417d1aa6aaab
 SHA512 
fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a
 DIST libdnet-1.12.tar.gz 959945 BLAKE2B 
a19f8c83425861d02f832330cf0eb5bc317eec157737e0eacd48a7827d423c626b24ce833f66429c9f2a0018502cae5426d5cfc1019aed307d63e4fa6b3845c8
 SHA512 
a2410a98b76d4bccecf7bcb82ff0b6e9fb809b389f7fea938cc42d94e18622cc5f353d2de737121a1990d9e16e9db8cc2f82677c94f78cd03c9227e815eab9e0
 DIST libdnet-1.12.tgz 970125 BLAKE2B 
74be00b6fe1c7848010a7044628a6ad8f4b2f2c4f9676066c15e02c7a8b613e26a5e7743df524869fee2eb7d93438bf346f772b8df199b8ec337279dd50d5d77
 SHA512 
b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3
-DIST libdnet-1.14_pre20200717.tar.xz 276684 BLAKE2B 
829e1293ae4b5c3eb4e13aef36d0ecd7abfdf53169b25e1cc435e59d2cad1019fd94f7b0a3bc9d0d382aff051855d06c014677de92a7af01ababf748093f9c18
 SHA512 
75d8e25b00dfa59b9354f7e67a7685ac213af79b594584b056457181c6f98ef00ed1243a2eb47f63261007130e6eae8e91b8c1b2f353c62dea666b3eb6a3940c
+DIST libdnet-1.14.tar.gz 520833 BLAKE2B 
97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a
 SHA512 
ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93

diff --git a/dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild 
b/dev-libs/libdnet/libdnet-1.14.ebuild
similarity index 93%
rename from dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild
rename to dev-libs/libdnet/libdnet-1.14.ebuild
index 3975fee6678..1208fdd5df3 100644
--- a/dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14.ebuild
@@ -9,7 +9,7 @@ inherit autotools distutils-r1
 
 DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
 HOMEPAGE="https://github.com/ofalk/libdnet";
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.xz";
+SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz";
 LICENSE="LGPL-2"
 
 SLOT="0"
@@ -25,6 +25,7 @@ RDEPEND="
 RESTRICT="test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 DOCS=( README.md THANKS TODO )
+S=${WORKDIR}/${PN}-${P}
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-08-02 Thread Jeroen Roovers
commit: 686e96fbd9961ec44b02263090c967c5907d405b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Aug  2 15:06:33 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Aug  2 15:06:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686e96fb

dev-libs/libdnet: Version 1.14_pre20200717

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Closes: https://bugs.gentoo.org/735288
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/Manifest|  1 +
 dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild | 73 
 2 files changed, 74 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 7fb88bca285..40a66ee39d7 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,3 +1,4 @@
 DIST libdnet-1.12.ipv6-1.patch.gz 5124 BLAKE2B 
674866a441a5907df97942772b1e4b95aee004ddb110204df0580cec6b6bb3ba4074831d83e675e1914f1a29281b02227e95016db6ce6a0e8b99417d1aa6aaab
 SHA512 
fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a
 DIST libdnet-1.12.tar.gz 959945 BLAKE2B 
a19f8c83425861d02f832330cf0eb5bc317eec157737e0eacd48a7827d423c626b24ce833f66429c9f2a0018502cae5426d5cfc1019aed307d63e4fa6b3845c8
 SHA512 
a2410a98b76d4bccecf7bcb82ff0b6e9fb809b389f7fea938cc42d94e18622cc5f353d2de737121a1990d9e16e9db8cc2f82677c94f78cd03c9227e815eab9e0
 DIST libdnet-1.12.tgz 970125 BLAKE2B 
74be00b6fe1c7848010a7044628a6ad8f4b2f2c4f9676066c15e02c7a8b613e26a5e7743df524869fee2eb7d93438bf346f772b8df199b8ec337279dd50d5d77
 SHA512 
b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3
+DIST libdnet-1.14_pre20200717.tar.xz 276684 BLAKE2B 
829e1293ae4b5c3eb4e13aef36d0ecd7abfdf53169b25e1cc435e59d2cad1019fd94f7b0a3bc9d0d382aff051855d06c014677de92a7af01ababf748093f9c18
 SHA512 
75d8e25b00dfa59b9354f7e67a7685ac213af79b594584b056457181c6f98ef00ed1243a2eb47f63261007130e6eae8e91b8c1b2f353c62dea666b3eb6a3940c

diff --git a/dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild 
b/dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild
new file mode 100644
index 000..3975fee6678
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.14_pre20200717.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+AT_M4DIR="config"
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_OPTIONAL=1
+inherit autotools distutils-r1
+
+DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
+HOMEPAGE="https://github.com/ofalk/libdnet";
+SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.xz";
+LICENSE="LGPL-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="python static-libs test"
+
+DEPEND="
+   python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+   ${DEPEND}
+"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+DOCS=( README.md THANKS TODO )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's/libcheck.a/libcheck.so/g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|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
+
+   eautoreconf
+
+   if use python; then
+   cd python
+   distutils-r1_src_prepare
+   fi
+}
+
+src_configure() {
+   econf \
+   $(use_with python) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   default
+   if use python; then
+   cd python
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   default
+   if use python; then
+   cd python
+   unset DOCS
+   distutils-r1_src_install
+   fi
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2020-08-02 Thread Jeroen Roovers
commit: 69148bea9bf3a7877ae74e2662b47e47b151f5d0
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Aug  2 14:43:48 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Aug  2 15:06:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69148bea

dev-libs/libdnet: Add live ebuild

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/libdnet-.ebuild | 73 
 1 file changed, 73 insertions(+)

diff --git a/dev-libs/libdnet/libdnet-.ebuild 
b/dev-libs/libdnet/libdnet-.ebuild
new file mode 100644
index 000..3878f74646e
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+AT_M4DIR="config"
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_OPTIONAL=1
+inherit autotools distutils-r1 git-r3
+
+DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
+HOMEPAGE="https://github.com/ofalk/libdnet";
+EGIT_REPO_URI="https://github.com/ofalk/libdnet";
+LICENSE="LGPL-2"
+
+SLOT="0"
+KEYWORDS=""
+IUSE="python static-libs test"
+
+DEPEND="
+   python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+   ${DEPEND}
+"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+DOCS=( README.md THANKS TODO )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's/libcheck.a/libcheck.so/g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|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
+
+   eautoreconf
+
+   if use python; then
+   cd python
+   distutils-r1_src_prepare
+   fi
+}
+
+src_configure() {
+   econf \
+   $(use_with python) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   default
+   if use python; then
+   cd python
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   default
+   if use python; then
+   cd python
+   unset DOCS
+   distutils-r1_src_install
+   fi
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2019-02-16 Thread Jeroen Roovers
commit: d36ce9a706e83d4dc0061ffcacb0be388d9840c2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Feb 16 09:23:27 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Feb 16 09:24:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d36ce9a7

dev-libs/libdnet: Switch SRC_URI to GH

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Fixes: https://bugs.gentoo.org/678078
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libdnet/Manifest   |  1 +
 dev-libs/libdnet/libdnet-1.12-r1.ebuild | 77 +
 2 files changed, 78 insertions(+)

diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
index 314c4a470fa..7fb88bca285 100644
--- a/dev-libs/libdnet/Manifest
+++ b/dev-libs/libdnet/Manifest
@@ -1,2 +1,3 @@
 DIST libdnet-1.12.ipv6-1.patch.gz 5124 BLAKE2B 
674866a441a5907df97942772b1e4b95aee004ddb110204df0580cec6b6bb3ba4074831d83e675e1914f1a29281b02227e95016db6ce6a0e8b99417d1aa6aaab
 SHA512 
fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a
+DIST libdnet-1.12.tar.gz 959945 BLAKE2B 
a19f8c83425861d02f832330cf0eb5bc317eec157737e0eacd48a7827d423c626b24ce833f66429c9f2a0018502cae5426d5cfc1019aed307d63e4fa6b3845c8
 SHA512 
a2410a98b76d4bccecf7bcb82ff0b6e9fb809b389f7fea938cc42d94e18622cc5f353d2de737121a1990d9e16e9db8cc2f82677c94f78cd03c9227e815eab9e0
 DIST libdnet-1.12.tgz 970125 BLAKE2B 
74be00b6fe1c7848010a7044628a6ad8f4b2f2c4f9676066c15e02c7a8b613e26a5e7743df524869fee2eb7d93438bf346f772b8df199b8ec337279dd50d5d77
 SHA512 
b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3

diff --git a/dev-libs/libdnet/libdnet-1.12-r1.ebuild 
b/dev-libs/libdnet/libdnet-1.12-r1.ebuild
new file mode 100644
index 000..37fb38166b2
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.12-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+AT_M4DIR="config"
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+inherit autotools distutils-r1
+
+DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
+HOMEPAGE="https://github.com/dugsong/libdnet";
+SRC_URI="
+   ${HOMEPAGE}/archive/${P}.tar.gz
+   ipv6? ( 
https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )
+"
+LICENSE="LGPL-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd"
+IUSE="ipv6 python static-libs test"
+
+DEPEND="
+   python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+   ${DEPEND}
+"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+DOCS=( README THANKS TODO )
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+   # Useless copy
+   rm -r trunk/ || die
+
+   sed -i \
+   -e 's/libcheck.a/libcheck.so/g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+   configure.in || die
+   sed -i -e 's|-L@libdir@ ||g' dnet-config.in || die
+   use ipv6 && eapply "${WORKDIR}/${P}.ipv6-1.patch"
+   sed -i -e '/^SUBDIRS/s|python||g' Makefile.am || die
+   eautoreconf
+
+   if use python; then
+   cd python
+   distutils-r1_src_prepare
+   fi
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   $(use_with python) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   default
+   if use python; then
+   cd python
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   default
+   if use python; then
+   cd python
+   unset DOCS
+   distutils-r1_src_install
+   fi
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/

2015-09-01 Thread Tobias Klausmann
commit: ac0a253a5eccbf7918b0979e0ee25d2d0d8f56bb
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Sep  1 19:08:41 2015 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Sep  1 19:08:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0a253a

dev-libs/libdnet: Fixing HOMEPAGE move due to code.google.com shutdown

Package-Manager: portage-2.2.20.1

 dev-libs/libdnet/libdnet-1.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libdnet/libdnet-1.12.ebuild 
b/dev-libs/libdnet/libdnet-1.12.ebuild
index 7c56c8a..fd3fa27 100644
--- a/dev-libs/libdnet/libdnet-1.12.ebuild
+++ b/dev-libs/libdnet/libdnet-1.12.ebuild
@@ -11,7 +11,7 @@ DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 eutils
 
 DESCRIPTION="simplified, portable interface to several low-level networking 
routines"
-HOMEPAGE="https://code.google.com/p/libdnet/";
+HOMEPAGE="https://github.com/dugsong/libdnet";
 SRC_URI="https://libdnet.googlecode.com/files/${P}.tgz
ipv6? ( 
https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )"