Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/davix/
Date: Wed, 13 Mar 2019 16:31:53
Message-Id: 1552494655.b588a0cd399a1937a8416215e8753dd6908d6529.amadio@gentoo
1 commit: b588a0cd399a1937a8416215e8753dd6908d6529
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 13 15:08:56 2019 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 13 16:30:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b588a0cd
7
8 net-libs/davix: bump to 0.7.2
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
12
13 net-libs/davix/Manifest | 1 +
14 net-libs/davix/davix-0.7.2.ebuild | 78 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 79 insertions(+)
16
17 diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest
18 index 267666160a2..0fd510eea0d 100644
19 --- a/net-libs/davix/Manifest
20 +++ b/net-libs/davix/Manifest
21 @@ -1,2 +1,3 @@
22 DIST davix-0.6.7.tar 3346429 BLAKE2B 7510c628cd1d346ed5f4dca6100207e5e2efa3a98d0caf63dbe3ba39f58a9b11c330c95cd2d40d60d8f2497355d4cb2f2d7537babfef287a5905f32322363d90 SHA512 5cb830e415a4ab87b7b046fbd8ba615379766f4fa4b886a271b0c248c05968b9a3cb144751b44d5fd62f5e07bdb7610c0505e44f2702147f6f006b49a4b3d8ce
23 DIST davix-0.7.1.tar 4336124 BLAKE2B 5db4f8f03fef38feedb0f0a9dfce763ff53ba9b1aa19d09f0af979e111d9f52226222e7b00e48aa3589070e9bf857e000f297d1a162aac83fe877ce3cd2984e1 SHA512 a4408960c4e16011de5e6cea1470d7fa487fd0b9c462082d8fb800bcaa812cab10a92643c9eeb66dda506d177903917176e6310c2a10042a848a52b858f4eb4e
24 +DIST davix-0.7.2.tar 4338425 BLAKE2B 9a09d2d702b8d9767ac6b0a5e04170d3f7e930b4c9c0cd8127bee2eae99978f5fdbed7be09875c1bbdcd38c29aede1b8f74a56cc15d31ab5ffa3e1f92fb26990 SHA512 207cf290aa4dedfa8c37cf7e7d8fd2162ecd04421abef55f7ade23193e6ca18942d1fb0d611a63fbeed45d9ba5eab8f9957efcdad7f6296b9ac9a69b07c9c339
25
26 diff --git a/net-libs/davix/davix-0.7.2.ebuild b/net-libs/davix/davix-0.7.2.ebuild
27 new file mode 100644
28 index 00000000000..b80ff8a2e7e
29 --- /dev/null
30 +++ b/net-libs/davix/davix-0.7.2.ebuild
31 @@ -0,0 +1,78 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit cmake-utils
38 +
39 +DESCRIPTION="High-performance file management over WebDAV/HTTP"
40 +HOMEPAGE="https://dmc.web.cern.ch/projects/davix"
41 +SRC_URI="http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/${PN}/${PV}/${P}.tar.gz -> ${P}.tar"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="doc ipv6 kernel_linux test tools"
47 +
48 +CDEPEND="
49 + dev-libs/libxml2:2=
50 + dev-libs/openssl:0=
51 + kernel_linux? ( sys-apps/util-linux )
52 +"
53 +
54 +DEPEND="${CDEPEND}
55 + doc? (
56 + app-doc/doxygen[dot]
57 + dev-python/sphinx
58 + )
59 + virtual/pkgconfig
60 +"
61 +
62 +RDEPEND="${CDEPEND}"
63 +
64 +REQUIRED_USE="test? ( tools )"
65 +
66 +src_prepare() {
67 + cmake-utils_src_prepare
68 +
69 + for x in doc test; do
70 + if ! use $x; then
71 + sed -i -e "/add_subdirectory ($x)/d" CMakeLists.txt
72 + fi
73 + done
74 +}
75 +
76 +src_configure() {
77 + local mycmakeargs=(
78 + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
79 + -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}"
80 + -DENABLE_HTML_DOCS=$(usex doc)
81 + -DENABLE_IPV6=$(usex ipv6)
82 + -DENABLE_TOOLS=$(usex tools)
83 + -DHTML_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}/html"
84 + -DSOUND_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/sounds"
85 + -DSTATIC_LIBRARY=OFF
86 + -DSYSCONF_INSTALL_DIR="${EPREFIX}/etc"
87 + -DBUILD_TESTING=$(usex test)
88 + )
89 + cmake-utils_src_configure
90 +}
91 +
92 +src_compile() {
93 + cmake-utils_src_compile
94 + if use doc; then
95 + cmake-utils_src_compile doc
96 + fi
97 +}
98 +
99 +src_install() {
100 + cmake-utils_src_install
101 +
102 + if ! use tools; then
103 + rm -rf "${ED}/usr/share/man/man1"
104 + fi
105 +
106 + if use test; then
107 + rm -rf "${ED}/usr/bin/davix-unit-tests"
108 + fi
109 +}