diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-13 18:18:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-13 18:18:15 +0100 |
commit | b8330d80ce605a72596ccfa1bfc087b9ded559b8 (patch) | |
tree | 209587b26d39505ff0a0c21c2f20ef51652688e9 /dev-libs/libdnet | |
parent | 41c2683a5cfac2bd3280dc5d5aaed73b6c377bcf (diff) |
gentoo auto-resync : 13:10:2023 - 18:18:15
Diffstat (limited to 'dev-libs/libdnet')
-rw-r--r-- | dev-libs/libdnet/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libdnet/libdnet-1.17.0.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest index fe4572914126..2794d1c2d073 100644 --- a/dev-libs/libdnet/Manifest +++ b/dev-libs/libdnet/Manifest @@ -4,8 +4,10 @@ DIST libdnet-1.14.tar.gz 520833 BLAKE2B 97e241fc374fc9489e70d440db5e19199f4e6536 DIST libdnet-1.16.1.tar.gz 666619 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 EBUILD libdnet-1.14-r2.ebuild 1556 BLAKE2B c549d9c5e392f2f15df9c2c2bcc474f2c408a3236743a19432b519cb7208574684c7d63947d037d1aba8412ef84497381d52e48edd869268046aa0ac26ad939b SHA512 0e45ffea4a32f5c105882f74c2234642dffbe2401ba4c8ac1d123cd201d7ce26476f4d7fe0024aed7aa97e33d75fed4d919d35460dc5ca8bdb4d05f55f279989 EBUILD libdnet-1.16.1.ebuild 1569 BLAKE2B 6214911f6448d2fb0fdef86db09e0b106824fa515bc71bd93561afd845eec56aaae62b2083eb6d21c1d50dcff7e6495da85a0be1c0c434f23773f152d226b74b SHA512 f9d0751c2edf0318855a3869a6a1060060d3dfe00b7d8bca45e25d9507eb4deb758753f513dbfdbd11594eb19a98a575e70532dea3c87e2e35416d9e558d5c4e EBUILD libdnet-1.16.2.ebuild 1569 BLAKE2B 135c8a4db92b4ae7a03b2336b88ab9a600a0b2e2dbf09713f404ca647b5e3f218eda610ba0a36a2f2f7fd6be8eb2ec99bb5f08325f8dabc296d1ffea4f9b6e81 SHA512 5a6ce103d0f837e551265586105720efb140bafa6c86e870f1722c4836bdc9dbafb690af640b033405af0eddd096e981567d931472aa82555a19ff64cbd974fe EBUILD libdnet-1.16.4.ebuild 1589 BLAKE2B 33d0ab8032463b10b37d4a93c6a0de277304d4ce207821450959a9822ecf37b5deec0c05f8ccba3761e0be5eb44e7cc2134b5596613ee775626d6144b7053ac0 SHA512 a6fa94c3ee25eb6c0d6df9ebfa3edd6760f4cff778d7dd413f9dd452788416a053804c9a1edfe0addc2a1c8d202f166b560e06c057ef660378415c9b775ec21c +EBUILD libdnet-1.17.0.ebuild 1611 BLAKE2B 22777971b13460b9bb2b993cca864f90a4c7f92f4361b540fc522c9f6447bc832bb9a58c69c26cbad0e9e1f9b6f8e6883483dfc775cc4417dee562266dfee7bc SHA512 3766d5373a6373cc8560bd168a5d96f3a2a67e94dca9ce4233cd03d84cfdf63ec4e6d46f6a2153974ddab2c581795b108bd0c5280a296523f532aa31f716ea5c MISC metadata.xml 413 BLAKE2B 91e8ea8dfe7585b6bcce394bc63e466cd7094b8b12ecb4f6b03303b37575387250f81c85a3be03cf8b36cbe10ef724794c86afec5decb5f042d0cde5db2bfdc6 SHA512 af7f752fa0811cb6e57b2398a86f5c57bbc0af1e3392ff3c26af27568ae3ed5232f765558f5e3b01cb6a6e3debfe2b0b893fc2c3598776d94eb6318744ca6fce 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 000000000000..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 +} |