From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 171A9158041 for ; Tue, 9 Apr 2024 16:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F545E2A6C; Tue, 9 Apr 2024 16:07:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14D16E2A6C for ; Tue, 9 Apr 2024 16:07:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 29F0334327A for ; Tue, 9 Apr 2024 16:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBE52167D for ; Tue, 9 Apr 2024 16:07:39 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1712678848.78da07efe95389b228d40e390a8b7cca52739758.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/davix/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/davix/Manifest net-libs/davix/davix-0.8.6.ebuild X-VCS-Directories: net-libs/davix/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 78da07efe95389b228d40e390a8b7cca52739758 X-VCS-Branch: master Date: Tue, 9 Apr 2024 16:07:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60e2ed32-cdf7-4de2-bd6f-9082268e2e7e X-Archives-Hash: 853582f89ca58d0f5a9b1600905405ec commit: 78da07efe95389b228d40e390a8b7cca52739758 Author: Guilherme Amadio gentoo org> AuthorDate: Tue Apr 9 15:43:55 2024 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Tue Apr 9 16:07:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78da07ef net-libs/davix: add 0.8.6 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/davix/Manifest | 1 + net-libs/davix/davix-0.8.6.ebuild | 89 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest index 6e2d8e939618..7e4b477841bf 100644 --- a/net-libs/davix/Manifest +++ b/net-libs/davix/Manifest @@ -1,2 +1,3 @@ DIST davix-0.8.4.tar.gz 7616367 BLAKE2B 0048d066b5ebae0639ea511dfb9147a5c76b73e5f273e0912abd7a10c40228bbbc60fea56f1b91a1c64b396b5ab67a291b42743e037e1e61a14aee2fbb783e09 SHA512 09a0389788b525e3c29639091c11ab4dacf1668efec42a93f3e995663793467b7aaf43daf66351e8a140f760711e96391c1cce0759a7f198110ebe511c0c7a4d DIST davix-0.8.5.tar.gz 7371985 BLAKE2B 134c4bd35627edcb46bfa5be3ea56b5a6373ea2bfee0261ede722fb4419808e6050b1846a40acf92da75626289e54a6b83f11dd2145b9d647f7cb370d652b696 SHA512 cddd0d7c08566853bb09efbe83041c9261086f972fd207f1ae2b0099dcf6f5ab51ec3889556ad34e28c0be28afcf86fa8adcdc1806a02a884ec3e76573164fe4 +DIST davix-0.8.6.tar.gz 7372108 BLAKE2B 01405cab344d62facc494f2f70f52dc616775830e0ecdd02195fe21c67eea90803eb73138ea0cec91d47f2eb46379d2d2431bbeea74b9487e4c201d3261cac10 SHA512 de9aebb35dc81009fe2f82e5db80f102569d4c6c400e8f99bbead6cc10b1519c598b204ff93606a6d7f824717e8feda4b367234c4a893b7e83705f390a2c9d21 diff --git a/net-libs/davix/davix-0.8.6.ebuild b/net-libs/davix/davix-0.8.6.ebuild new file mode 100644 index 000000000000..3d0668485246 --- /dev/null +++ b/net-libs/davix/davix-0.8.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +inherit cmake python-any-r1 + +DESCRIPTION="High-performance file management over WebDAV/HTTP" +HOMEPAGE="https://github.com/cern-fts/davix" +SRC_URI="https://github.com/cern-fts/${PN}/releases/download/R_${PV//./_}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test tools" +RESTRICT="!test? ( test )" + +CDEPEND=" + dev-libs/libxml2:2= + dev-libs/openssl:0= + net-libs/gsoap[ssl,-gnutls] + net-misc/curl:0= + kernel_linux? ( sys-apps/util-linux ) +" + +DEPEND="${CDEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen[dot] + dev-python/sphinx + ) + virtual/pkgconfig + ${PYTHON_DEPS} +" + +RDEPEND="${CDEPEND}" + +REQUIRED_USE="test? ( tools )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.5-gcc14.patch" +) + +src_prepare() { + cmake_src_prepare + + for x in doc test; do + if ! use $x; then + sed -i -e "/add_subdirectory ($x)/d" CMakeLists.txt + fi + done +} + +src_configure() { + local mycmakeargs=( + -DPython_EXECUTABLE="${PYTHON}" + -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}" + -DEMBEDDED_LIBCURL=OFF + -DLIBCURL_BACKEND_BY_DEFAULT=OFF + -DENABLE_HTML_DOCS=$(usex doc) + -DENABLE_IPV6=TRUE + -DENABLE_TCP_NODELAY=TRUE + -DENABLE_THIRD_PARTY_COPY=TRUE + -DENABLE_TOOLS=$(usex tools) + -DHTML_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}/html" + -DSOUND_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/sounds" + -DSTATIC_LIBRARY=OFF + -DSYSCONF_INSTALL_DIR="${EPREFIX}/etc" + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc; then + cmake_src_compile doc + fi +} + +src_install() { + cmake_src_install + if use test; then + rm "${ED}/usr/bin/davix-unit-tests" || die + rm "${ED}/usr/bin/davix-tester" || die + fi +}