From b2a3508c3634488d32ec5bbe6b4365ab27185ebd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Sep 2022 17:22:12 +0100 Subject: gentoo auto-resync : 19:09:2022 - 17:22:11 --- net-libs/Manifest.gz | Bin 32608 -> 32614 bytes net-libs/davix/Manifest | 3 + net-libs/davix/davix-0.8.3.ebuild | 88 +++++++++++++++++++++ .../davix/files/davix-0.8.3-enable-ctest.patch | 25 ++++++ net-libs/pacparser/Manifest | 4 +- net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 67 ---------------- net-libs/pacparser/pacparser-1.4.0.ebuild | 2 +- 7 files changed, 118 insertions(+), 71 deletions(-) create mode 100644 net-libs/davix/davix-0.8.3.ebuild create mode 100644 net-libs/davix/files/davix-0.8.3-enable-ctest.patch delete mode 100644 net-libs/pacparser/pacparser-1.3.7-r1.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index 6db50a357c28..3b0099252cf7 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest index ba2d01b7ad59..370dd7757f06 100644 --- a/net-libs/davix/Manifest +++ b/net-libs/davix/Manifest @@ -1,3 +1,6 @@ +AUX davix-0.8.3-enable-ctest.patch 639 BLAKE2B d88b3483f006057c2b91b70591af18f9922abab94c9423c7304663d66d7f6fa3bc61da9780ea6776bd2df998d783a90fb85357cbc1390ec45081c37f1eb84485 SHA512 636b0797206697c9141b1a22c0778fa448b896f1fcd0b115f58848895c3fecfdd47b95b99cd669fc49f3e5a5ef54df24c7fc523bc719a6d3c2a5c4b2892f87bb DIST davix-0.7.6.tar 4338692 BLAKE2B 72a918f52993ea358f243df671823a4624ac5650753e06c8f70f75a800f10adfe7f6c63d9c8fdcefb94874e3c60c3909e7aa96969af1210347ea941a42f4b9df SHA512 3e379acc763e72e2e1684121e2688da6c617b2c1f52ffd7a2a2559998a64aba957f09f7b138c57f8f4d7a26caff4fef09952cca48585bb4f6aea1f071aa9a7b7 +DIST davix-0.8.3.tar.gz 7615016 BLAKE2B 7bb9ba6e267439db0f8b42d2a2b48ded801e3a10d6443101918514f999922e9cabce485b7a666ee0c1fb60d18cd537aa76b93096eeb0445b5ce4b25e214496d4 SHA512 ce5c66e8d59710e5658a6bb9bebdce3749843ab672274171f936cc533ce42689e1f75454de2a71529df97eb182d996c4ade00f30e1b21891fbfe4a40b1dd2dc5 EBUILD davix-0.7.6.ebuild 1633 BLAKE2B def402dfcbdfa44d7eb59b80e7e0a382d9d57bba31fa7606460c3617f83af20c7bac3e9a6738ac2348db8740d5f118b5dea411c214364ba3c252b94c599c0999 SHA512 63c22c21153d3bd8dfdc4e98e8643afebfd0e18714ff984a85267f920c710a32c6abd4cb789297ef21493af8a071881ed7662abfb69ee035765e89ed82fd7a9f +EBUILD davix-0.8.3.ebuild 1781 BLAKE2B 4588f0780b12c9e1ff156495a04eead155c514a4c2b2ae3f69fa4a4367c9531096911b308b6de7d0df447423a62fb0d74bcc33ebfc3b776eb1f396a45b16baf4 SHA512 4d4a8b843ff629dd4d2938e08417028310b23f0966d75971e70f1787d765385fd4ce16807d59ae074ee976ce5ba087e79abe49e996987209f879da72f25a9aeb MISC metadata.xml 328 BLAKE2B e7f21fc1dad2a970911a75c9d239071b31447bc7707b0f534d447e723d3d567d46a10cea2164138ab30e6de7bda77fdfc7f8c860d1be8ea9921fc864db7e0018 SHA512 9701f7b63e1a203c6810f51a6c107f99bad9a67eac56566831be2b1930a0759aff15b3a02598a2814dfe46fb28ed28fed12e7d45a7614b623cb05ac90345f76a diff --git a/net-libs/davix/davix-0.8.3.ebuild b/net-libs/davix/davix-0.8.3.ebuild new file mode 100644 index 000000000000..225557b09fd3 --- /dev/null +++ b/net-libs/davix/davix-0.8.3.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +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 ipv6 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-doc/doxygen[dot] + dev-python/sphinx + ) + virtual/pkgconfig + ${PYTHON_DEPS} +" + +RDEPEND="${CDEPEND}" + +REQUIRED_USE="test? ( tools )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.3-enable-ctest.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=$(usex ipv6) + -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 + fi +} diff --git a/net-libs/davix/files/davix-0.8.3-enable-ctest.patch b/net-libs/davix/files/davix-0.8.3-enable-ctest.patch new file mode 100644 index 000000000000..cbf6fc0663ae --- /dev/null +++ b/net-libs/davix/files/davix-0.8.3-enable-ctest.patch @@ -0,0 +1,25 @@ +From f72e33a2877a2e26279b64c61e5d04249529727a Mon Sep 17 00:00:00 2001 +From: Guilherme Amadio +Date: Fri, 16 Sep 2022 15:22:31 +0200 +Subject: [PATCH] Include CTest in main CMakeLists.txt + +--- + CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ddd6a391..cb87ffc1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -126,6 +126,8 @@ endif() + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/deps/libneon/src/ ${UUID_INCLUDE_DIRS}) + include_directories(${CMAKE_SOURCE_DIR}/include/davix) + ++include(CTest) ++ + add_subdirectory (src) + add_subdirectory (doc) + +-- +2.37.3 + diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index 30dcf080e6d5..cf59e766093d 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1,7 +1,5 @@ AUX pacparser-1.4.0-build.patch 3666 BLAKE2B c21de20e715279741acd9659edfb0ef83bcd12dde597ab3f3d4e11ecf0eba4078cb982efc3b12d03f335e466249b6b2c02acf8355ddc6d84eace7906b53f67e8 SHA512 d6fdb9040557033b17bdd9a27c85d33bda7028e2f7774fde71899c1eb9268b3d80ba31f2fd5022d370ebd12ea3d6d3c236106cd44ac5818ee1a4f18d19462305 AUX pacparser-1.4.0-pymod.patch 2328 BLAKE2B 50be6b3d7950d391edbab3b9ebf9ffb2c6ba3a7121b9cc9fb23da1af4f6e0891d653e0795b9b0153ca8911df8891f6fd872701d578deb3760724582d2d548925 SHA512 115fa4fdbd9a0ba612cccd8d796eefb1d467d4d4aab99b0ef880c7446ad9c1bfb023197d5e6fc86c8158f7be6d72bbb423572b204a2e5b2a41fd3e949db0f597 -DIST pacparser-1.3.7.tar.gz 905596 BLAKE2B 122127b6e1d8f68fde4c5ca98207bf2a0fa2a081dbb60aaf34126700a3de9d861e7b5f881e78d3eefdd2a9af97a9ba677339ca2b2a0b4459d26e60a62226e839 SHA512 979238204cd352ecf502a5a6216a35d7c47e82a173c32c6f0a5166f1fe790c66ac74ec1d9d0a58b54038d19e893f8b365ed868664f84ab9d5e653584bf20130b DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 -EBUILD pacparser-1.3.7-r1.ebuild 1723 BLAKE2B fade4e47f9adffe2a2ee3882cbca02c7bfd12fe4b97f3ccd194e0b28e4a86c9049b32b192fef76ef23614c560f034cb69e2e22d4a22983a994b4b646075f4740 SHA512 7317c7cf6cace28cca26881409a86da166cefbef71ae7aedd8e826aa969c274f29660fa2ad970e6b3293ddc970a91df56d1814874b7f10d6e074d6d0b95abed0 -EBUILD pacparser-1.4.0.ebuild 1643 BLAKE2B cc58174c61c4d30e90ec5bc614ab76d2cf185fc1b90fd8cc93b93300e8f20a4ce6781053d1bb63669b9bbf8bf2300297e085483e0e4541b88349794e173b8996 SHA512 483084be28b7924eb88befef5711fafc4f67e1c22e303447df3df631514ab6c979bcc8703f3280d3e1fe498f15028c36cf93dd841726d6fe8aa07417bdfc48fc +EBUILD pacparser-1.4.0.ebuild 1646 BLAKE2B 60ae4e43b464017461c3d398085c16c3be2b644b0c20aaba6c78f965cf6acbed7fa5d64cdbe1c93d05bc62bb86e2b9b5402288e9b72a7d2b021198dc6d7c1aa3 SHA512 9d815325410c11134a12944aa8f6f9a060a316a30d36e45b4f7f837ea8da0fc9ed53b7242057fe581a2ef021a86da4a20229633293d10b97b533e7dc3d40643c MISC metadata.xml 1244 BLAKE2B 308285d031a2a74466840be80d4c3cd1fa26b6d06fcd4cd353a26475ea3f1cf637d14d9b087aaf30e22c385f59ad6c348c5be489579d8001a65db30736a63efe SHA512 128769f45fb50c349a6ca8261ce4fa97fba11f763d97351d811b7bf9b419cea76871344cd8c754652ebb915682b92f7615a4ebc62670a3cec5fe92b83bbf5b4e diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild deleted file mode 100644 index 911a5d5ce27f..000000000000 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit python-r1 toolchain-funcs - -DESCRIPTION="Library to parse proxy auto-config files" -HOMEPAGE="http://pacparser.manugarg.com/" -SRC_URI="https://github.com/pacparser/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/1" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc python" - -DEPEND="python? ( ${PYTHON_DEPS} )" -RDEPEND="${DEPEND}" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# spidermonkey-1.7.0 is bundled -# tested unbundling with spidermonkey-1.8* and 1.7 -# and got many failures: unbundling not worth it. - -src_prepare() { - default - sed -e 's|CFLAGS = |CFLAGS := $(CFLAGS) |' \ - -e 's|= $(PREFIX)|:= $(PREFIX)|g' \ - -e "s|share/doc.*pacparser|share/doc/${PF}|g" \ - -e "s|/lib|/$(get_libdir)|g" \ - -i src/Makefile || die - export NO_INTERNET=yes - tc-export CC AR RANLIB -} - -src_compile() { - emake -C src spidermonkey/js/src - sed -e '/CC = gcc/d' \ - -i src/spidermonkey/js/src/config/Linux_All.mk || die - # Upstream parallel compilation bug, do that first to work around - emake -C src/spidermonkey - emake -C src - use python && python_foreach_impl emake -C src pymod -} - -src_test() { - emake -C src testpactester -} - -src_install() { - emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install - dodoc README.md - - if use python; then - python_foreach_impl emake DESTDIR="${D}" \ - LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod - python_foreach_impl python_optimize - fi - - if use doc; then - docompress -x /usr/share/doc/${PF}/{html,examples} - else - rm -r "${ED}"/usr/share/doc/${PF}/{html,examples} || die - fi -} diff --git a/net-libs/pacparser/pacparser-1.4.0.ebuild b/net-libs/pacparser/pacparser-1.4.0.ebuild index 7dc296824bb6..d5d9c6469755 100644 --- a/net-libs/pacparser/pacparser-1.4.0.ebuild +++ b/net-libs/pacparser/pacparser-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit python-r1 toolchain-funcs -- cgit v1.2.3