public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/davix/
Date: Thu, 13 Feb 2025 09:52:06 +0000 (UTC)	[thread overview]
Message-ID: <1739440155.d5eeedb91d4b1fb44b432cfc76eeb6e8287489c7.amadio@gentoo> (raw)

commit:     d5eeedb91d4b1fb44b432cfc76eeb6e8287489c7
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 08:25:52 2025 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 09:49:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5eeedb9

net-libs/davix: add live ebuild

Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 net-libs/davix/davix-9999.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)

diff --git a/net-libs/davix/davix-9999.ebuild b/net-libs/davix/davix-9999.ebuild
new file mode 100644
index 000000000000..e439dffe0389
--- /dev/null
+++ b/net-libs/davix/davix-9999.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} python3_13t )
+
+inherit cmake python-any-r1
+
+DESCRIPTION="High-performance file management over WebDAV/HTTP"
+HOMEPAGE="https://github.com/cern-fts/davix"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+IUSE="doc test tools"
+
+if [[ ${PV} =~ "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/cern-fts/davix.git"
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/cern-fts/${PN}/releases/download/R_${PV//./_}/${P}.tar.gz"
+fi
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( tools )"
+
+CDEPEND="
+		dev-libs/libxml2:2=
+		dev-libs/openssl:0=
+		dev-libs/rapidjson: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}"
+
+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
+}


             reply	other threads:[~2025-02-13  9:52 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-13  9:52 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-13  9:52 [gentoo-commits] repo/gentoo:master commit in: net-libs/davix/ Guilherme Amadio
2025-02-02 13:32 Guilherme Amadio
2025-02-02 13:32 Guilherme Amadio
2025-02-02 10:46 Guilherme Amadio
2024-07-03  9:41 Guilherme Amadio
2024-07-03  9:36 Guilherme Amadio
2024-07-03  9:20 Guilherme Amadio
2024-05-29  6:26 Jakov Smolić
2024-05-28 20:49 Sam James
2024-04-09 16:07 Guilherme Amadio
2023-10-27  6:56 Guilherme Amadio
2023-10-27  6:56 Guilherme Amadio
2023-10-27  6:56 Guilherme Amadio
2023-02-08 10:57 Guilherme Amadio
2023-02-08 10:57 Guilherme Amadio
2023-02-08 10:57 Guilherme Amadio
2023-02-08 10:57 Guilherme Amadio
2023-01-21 19:26 Arthur Zamarin
2021-05-01 18:07 Sam James
2020-11-19 16:16 Guilherme Amadio
2020-11-19 16:16 Guilherme Amadio
2020-11-19 16:16 Guilherme Amadio
2020-06-07 12:22 Guilherme Amadio
2020-06-07 12:22 Guilherme Amadio
2020-02-08 17:06 David Seifert
2019-09-09  6:13 Guilherme Amadio
2019-07-09 14:30 Guilherme Amadio
2019-07-09 14:30 Guilherme Amadio
2019-07-09 14:30 Guilherme Amadio
2019-06-07  6:42 Guilherme Amadio
2019-03-13 16:31 Guilherme Amadio
2018-11-15 13:42 Guilherme Amadio
2018-11-15 13:42 Guilherme Amadio
2018-09-24 16:05 Guilherme Amadio
2018-04-17  9:05 Guilherme Amadio
2018-03-22 14:24 Guilherme Amadio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739440155.d5eeedb91d4b1fb44b432cfc76eeb6e8287489c7.amadio@gentoo \
    --to=amadio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox