diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2020-12-10 15:05:05 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-07 04:04:49 +0000 |
commit | d610bba8be2d1d2c29eaf3c5298b298a9b7dab04 (patch) | |
tree | 8558937a9e5bc26be7ea63f8c6be628197bafe09 /dev-libs/libdnet | |
parent | media-libs/dav1d: sync live (diff) | |
download | gentoo-d610bba8be2d1d2c29eaf3c5298b298a9b7dab04.tar.gz gentoo-d610bba8be2d1d2c29eaf3c5298b298a9b7dab04.tar.bz2 gentoo-d610bba8be2d1d2c29eaf3c5298b298a9b7dab04.zip |
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 <lssndrbarbieri@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18596
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libdnet')
-rw-r--r-- | dev-libs/libdnet/libdnet-1.14-r2.ebuild (renamed from dev-libs/libdnet/libdnet-9999.ebuild) | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/dev-libs/libdnet/libdnet-9999.ebuild b/dev-libs/libdnet/libdnet-1.14-r2.ebuild index c1471b35968c..068ca755f136 100644 --- a/dev-libs/libdnet/libdnet-9999.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() { |