From 34dea8e38f88007799629d0a56b12dec480b1d21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Jun 2021 14:45:01 +0100 Subject: gentoo resync : 20.06.2021 --- dev-util/source-highlight/Manifest | 2 +- .../source-highlight-3.1.9-r1.ebuild | 56 ++++++++++++++++++++++ .../source-highlight/source-highlight-3.1.9.ebuild | 56 ---------------------- 3 files changed, 57 insertions(+), 57 deletions(-) create mode 100644 dev-util/source-highlight/source-highlight-3.1.9-r1.ebuild delete mode 100644 dev-util/source-highlight/source-highlight-3.1.9.ebuild (limited to 'dev-util/source-highlight') diff --git a/dev-util/source-highlight/Manifest b/dev-util/source-highlight/Manifest index 3ba5d4858ff6..97fd4ceba255 100644 --- a/dev-util/source-highlight/Manifest +++ b/dev-util/source-highlight/Manifest @@ -1,5 +1,5 @@ AUX source-highlight-3.1.9-test-clang-p1.patch 998 BLAKE2B 7867aff751170990c48343977f6d92380c1f84ad8f18d9def453b39c6e6a8b97f23727f6cb1419f0b9d82f0fc368517d19f321f23752410ba84fb1cf6335d5dd SHA512 b64f44a9f5c1fff05aaa1a6f025d61cc095e9f22944a1983aca457085f348535ad27a7b7f79ec6358f64fc72fa0869ee3c22659f44f1a0d105ef23d68f466c32 AUX source-highlight-3.1.9-test-clang-p2.patch 1413 BLAKE2B f66b090bb5004cf4ee344868479b1a1999339d71799e6e6150104f99c0a8ea5ffebe836b8d185ecb52416aaed6da80e24c5870910274ce381cfab6ab3276035c SHA512 a6573d376753dda6e8f64dd9b81c4e8f209ea5cb3dee1dc9a495db6b671d88840baa2fd9c128085cb62d9acbc41e1f88d3a9e6a319b76199755b43008d7ab0de DIST source-highlight-3.1.9.tar.gz 1717234 BLAKE2B 6eb40b2274df0772c4a241504e5db5dfdaac600549e0b11aba726f7b4d5ab600c3849a8815bc782ad1bb1f99b69766527645dd202731bde4b2466c663842c47c SHA512 d8e154e9a5d62c77807e4e5d36c0faed5ce2964291be5f8b83e2968a6de52229503689a4ca2109a717ae2632a14b63ec937ca0430c91684c72063f6bc0294195 -EBUILD source-highlight-3.1.9.ebuild 1495 BLAKE2B 1a8787b119e75488711130df04dce5bd08f351018e5d3d3751beda714b57e1fb6dbae1dce70cd62bb7d4fe224955befb9777f10863297381d7e750effa0db6bc SHA512 1f9898039c50d2920a940fb102ae1fdce14d765e12e5abe357a8e7f107b2400ed96526a053ff083715806989d20b175398367f0e456d36a664994e698efe885c +EBUILD source-highlight-3.1.9-r1.ebuild 1498 BLAKE2B d9b913fe8aa2f1320ca61d33ada6e5378633d7808049195a0e99058709a3ff9683b0c8e5e0c5a6fc4a94ac0f506e4201165ab1c03ab30d46e7a02fec004d30fc SHA512 8ecfa1f7a7c553f04cc6fdfbcf089ace940a7bfe91e2cddacfb2461b54134630633016eb0b943a307a90f348e028af9aa068e1dbad723e6415e67cd1c3974d61 MISC metadata.xml 267 BLAKE2B 5267526ad53ec7bedfe46f8cba86c810629394fa4f3c59e1b69619b0a11a9edbb746ae6abf818182da7ade72c862360f43a19209007a23da9701df26b96f77dd SHA512 715bb37d958c1e508b2ef00711ab3a4abee982efe90867fd2bcf91fa91305d5a413a4f3d13d01ea6e27eb15f5f9dcb58fa13ecfed7025cae43745792ac1a105d diff --git a/dev-util/source-highlight/source-highlight-3.1.9-r1.ebuild b/dev-util/source-highlight/source-highlight-3.1.9-r1.ebuild new file mode 100644 index 000000000000..5216da452563 --- /dev/null +++ b/dev-util/source-highlight/source-highlight-3.1.9-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 flag-o-matic + +DESCRIPTION="Generate highlighted source code as an (x)html document" +HOMEPAGE="https://www.gnu.org/software/src-highlite/source-highlight.html" +SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz" +LICENSE="GPL-3" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND=">=dev-libs/boost-1.62.0:=[threads(+)] + dev-util/ctags" +DEPEND="${RDEPEND}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1.9-test-clang-p1.patch + "${FILESDIR}"/${PN}-3.1.9-test-clang-p2.patch +) + +src_configure() { + # required as rev-dep of dev-libs/boost-1.62.0 + # https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI + append-cxxflags -std=c++14 + + econf \ + --with-boost="${EPREFIX}/usr" \ + --with-boost-regex="boost_regex" \ + --without-bash-completion \ + $(use_enable static-libs static) +} + +src_install() { + use doc && local HTML_DOCS=( doc/*.{html,css,java} ) + default + + # That's not how we want it + rm -rf "${ED}"/usr/share/{aclocal,doc} || die + + # package provides .pc file + find "${D}" -name '*.la' -delete || die + + dobashcomp completion/source-highlight +} + +src_test() { + export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/" + # upstream uses the same temporary filenames in numerous places + # see https://bugs.gentoo.org/635100 + emake -j1 check +} diff --git a/dev-util/source-highlight/source-highlight-3.1.9.ebuild b/dev-util/source-highlight/source-highlight-3.1.9.ebuild deleted file mode 100644 index 9335feb8ec5c..000000000000 --- a/dev-util/source-highlight/source-highlight-3.1.9.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit bash-completion-r1 flag-o-matic - -DESCRIPTION="Generate highlighted source code as an (x)html document" -HOMEPAGE="https://www.gnu.org/software/src-highlite/source-highlight.html" -SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz" -LICENSE="GPL-3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" -SLOT="0" -IUSE="doc static-libs" - -RDEPEND=">=dev-libs/boost-1.62.0:=[threads] - dev-util/ctags" -DEPEND="${RDEPEND}" -BDEPEND="" - -PATCHES=( - "${FILESDIR}"/${PN}-3.1.9-test-clang-p1.patch - "${FILESDIR}"/${PN}-3.1.9-test-clang-p2.patch -) - -src_configure() { - # required as rev-dep of dev-libs/boost-1.62.0 - # https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI - append-cxxflags -std=c++14 - - econf \ - --with-boost="${EPREFIX}/usr" \ - --with-boost-regex="boost_regex" \ - --without-bash-completion \ - $(use_enable static-libs static) -} - -src_install() { - use doc && local HTML_DOCS=( doc/*.{html,css,java} ) - default - - # That's not how we want it - rm -rf "${ED}"/usr/share/{aclocal,doc} || die - - # package provides .pc file - find "${D}" -name '*.la' -delete || die - - dobashcomp completion/source-highlight -} - -src_test() { - export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/" - # upstream uses the same temporary filenames in numerous places - # see https://bugs.gentoo.org/635100 - emake -j1 check -} -- cgit v1.2.3