Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/
Date: Thu, 07 Jan 2021 04:10:27
Message-Id: 1609992289.d610bba8be2d1d2c29eaf3c5298b298a9b7dab04.sam@gentoo
1 commit: d610bba8be2d1d2c29eaf3c5298b298a9b7dab04
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Dec 10 14:05:05 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 04:04:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d610bba8
7
8 dev-libs/libdnet: misc fixes
9
10 * Add cython as BDEPEND
11 * Disabled static libs
12 * Removed TODO from docs
13 * Removed live ebuild
14
15 Package-Manager: Portage-3.0.10, Repoman-3.0.2
16 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
17 Closes: https://github.com/gentoo/gentoo/pull/18596
18 Signed-off-by: Sam James <sam <AT> gentoo.org>
19
20 ...{libdnet-9999.ebuild => libdnet-1.14-r2.ebuild} | 24 +++++++++++++---------
21 1 file changed, 14 insertions(+), 10 deletions(-)
22
23 diff --git a/dev-libs/libdnet/libdnet-9999.ebuild b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
24 similarity index 72%
25 rename from dev-libs/libdnet/libdnet-9999.ebuild
26 rename to dev-libs/libdnet/libdnet-1.14-r2.ebuild
27 index c1471b35968..068ca755f13 100644
28 --- a/dev-libs/libdnet/libdnet-9999.ebuild
29 +++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
30 @@ -5,17 +5,16 @@ EAPI=7
31 AT_M4DIR="config"
32 PYTHON_COMPAT=( python3_{6,7,8} )
33 DISTUTILS_OPTIONAL=1
34 -inherit autotools distutils-r1 git-r3
35 +inherit autotools distutils-r1
36
37 DESCRIPTION="simplified, portable interface to several low-level networking routines"
38 HOMEPAGE="https://github.com/ofalk/libdnet"
39 -EGIT_REPO_URI="https://github.com/ofalk/libdnet"
40 -EGIT_BRANCH="devel"
41 +SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz"
42 LICENSE="LGPL-2"
43
44 SLOT="0"
45 -KEYWORDS=""
46 -IUSE="python static-libs test"
47 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="python test"
49
50 DEPEND="
51 python? ( ${PYTHON_DEPS} )
52 @@ -23,11 +22,18 @@ DEPEND="
53 RDEPEND="
54 ${DEPEND}
55 "
56 +BDEPEND="
57 + python? (
58 + dev-python/cython[${PYTHON_USEDEP}]
59 + )
60 +"
61 RESTRICT="test"
62 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
63 -DOCS=( README.md THANKS TODO )
64 +DOCS=( README.md THANKS )
65 +S="${WORKDIR}/${PN}-${P}"
66 PATCHES=(
67 - "${FILESDIR}"/${PN}-1.14-strlcpy.patch
68 + "${FILESDIR}/${PN}-1.14-ndisc.patch"
69 + "${FILESDIR}/${PN}-1.14-strlcpy.patch"
70 )
71
72 src_prepare() {
73 @@ -53,9 +59,7 @@ src_prepare() {
74 }
75
76 src_configure() {
77 - econf \
78 - $(use_with python) \
79 - $(use_enable static-libs static)
80 + econf --disable-static $(use_with python)
81 }
82
83 src_compile() {