public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marco Leise" <marco.leise@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-util/dscanner/
Date: Sun, 19 Apr 2020 12:58:20 +0000 (UTC)	[thread overview]
Message-ID: <1587217032.e7ad49f37d2dd8c52ae50326ece91be58bda0710.mleise@gentoo> (raw)

commit:     e7ad49f37d2dd8c52ae50326ece91be58bda0710
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Sat Apr 18 13:37:12 2020 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Sat Apr 18 13:37:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e7ad49f3

dscanner-0.9.0

Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>

 dev-util/dscanner/Manifest              |  5 ++
 dev-util/dscanner/dscanner-0.9.0.ebuild | 81 +++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/dev-util/dscanner/Manifest b/dev-util/dscanner/Manifest
index 5e5bc80..6fc20ea 100644
--- a/dev-util/dscanner/Manifest
+++ b/dev-util/dscanner/Manifest
@@ -1,7 +1,12 @@
 DIST containers-a978c3cda3f6ec3ba7449ec5c08dd5cd4dd79c6e.tar.gz 54657 BLAKE2B 67d496d6c56ee4bd1b5a9febe2251183d1e8db4e0f2b60e7529b0d5b9540331f6376ade38ccc698658872f650b6f2f8da2cc6df34b4bae49ad85565af4731b81 SHA512 39b6bd03ca3b4013ff4e340e980d85b05db00d227a43c225ef60871b83d18df5af79acccb3bdf0182fd974b12b483bab23fb28328d84302dd590eeb82992f0ed
+DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51 SHA512 d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
 DIST dscanner-0.8.0.tar.gz 87032 BLAKE2B ccef5b25c0f4793091f3776f9edac0eb91a34ee154ac83e8969288d8826acbf257ce2084a1e61ae701f4ea2598ae2a071e232ce6f729e1b2158c7ad186a86375 SHA512 2a6ff4daced9292500fc3ab4b623182d37cf3528b13d2388dccaa0b9e13f041b5e1d6edb13015004e5420c38eb79a65b34be3cfe36e926b344944922731758c1
+DIST dscanner-0.9.0.tar.gz 89372 BLAKE2B a1f958aa4a9319bd6aa856b0d54d22dde2bc84c392f5f50fcf17d61641a7a258091ea8a13516919583b5f02dbc37a79021a4aae68443fe46ed7a3732a1be3d6f SHA512 4d2564590a48231d4c1dd8a4126d5b640bd83e90e7189ceac33c2727f981f690e94079411f7f3cbb727be780069cebeacdd38fa6b78b4516cec4e23a8eb12aff
+DIST dsymbol-ceea154b0047f71e4ffec224096ce87015578a8a.tar.gz 32569 BLAKE2B d4b9e1a6c127f3a429f84b43364080137cc194d761f9b94f9803dd01e5d854de6d544194d95b76183482c9546c7405a32806ff9078658f3250a889d7eb778d21 SHA512 f480f8659fd1728dd314ad77e47090b95becddadaf4a01eb8040e7e24f471612ac9a972baf8f0f4a617e97c3ead8fe1900c674d07e762c7b470cffc1a8159058
 DIST dsymbol-f4a481cdc23b58ce544c2e91a39d5c0d406b67ac.tar.gz 31621 BLAKE2B a0ad6d5e9392ca239a0aa67cbcbc3210eff1b33d7a2d82d8df300635ab76bdd9a607ab47be2af0b5b812839814c529ea1bab2e8c2a9ae6bd2ccfc8386fc7b623 SHA512 38a74593a2ded9360b42d87ae47e343475dfcde6de67d14ca76814361166210745c0035b6ff6f4ca46f62fd09b569eb0de02b0c8e5b7db486c3b89db7f4483f9
 DIST inifiled-cecaff8037a60db2a51c9bded4802c87d938a44e.tar.gz 8251 BLAKE2B fa0bb78c11f69e257a0974c16188475d50fcf2a56138fc288d6262be91604b8e706bfab2572b2d0e358c8366b400a2c5a3af6ba87d5243825ddf26a5a03fbfe2 SHA512 9a3c66eca2b48350c798fd0a54d37c8714d6a499e8412983f1bda2f00cda6fe1439bfbc6766d32529f3d7cc708a0528c52c077f9169727b492616691833c52d0
 DIST libddoc-36d2b9a884920bb010ff937e9ffd0fa0c38d9795.tar.gz 19907 BLAKE2B d73e0de93f59bb4e6bbdd36c5e8ac75e4d3af30c18d2b00c9bf859a94307e8a3090c36c8d46888d2fce67dac96343b94e5c71e1e7a0e8725a7dac1433c1ea89d SHA512 22489789e26bb0d4e49e72a2dd4801dab0cee37e6dbd434a5e23c01bac8678cd1d0be2f4b05358f09e087757f8344f5ff33ec36275eab72847d7502f2ee6069e
+DIST libddoc-d50190b7e33b11d7fec05e504549f0f285bd2232.tar.gz 21319 BLAKE2B eafda40a7ca16b90d2c39ae9edbb2a8fa8e87a75089e31d4bc59ea2dd2127b4b7f5e9fc68be0f0e2c2b74c71e0875291a08b363ccbd569c733c3800690c02d6f SHA512 6c6519442cd63879bed5b6ebce27ff607fae04b3b3d44c84a767ca304506262f2e967feaa8c358ca62cfc0a56bb91bf7d4c8a1f9a442c11a4489bf17f1cf28a4
 DIST libdparse-5270739bcd1962418784c7760773e24d28b6009b.tar.gz 123594 BLAKE2B 879a21435ba622974a2c6d1bf7db7deb6fbaff07838325c6a7d0958272066b12b3fa6f96274126b6380a0da675d172ff07b1e0907ac6d3184d5842c86091717f SHA512 90ee5887b89ef1597a618761d6a974ad947946b5e7eaf56df883ab58a9d983279cbedc5ccfa01446576c3e74e4d4c8ac467585bb1b96ad7059ddf78dfc4557ff
+DIST libdparse-597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1.tar.gz 124830 BLAKE2B 1a7b4246b00938c44c3e32c7d0fdda4a0d343bbafad25e3e003c4672aac1dd3677a8163750b13753aa484e6bcdd120b35fc736db6d5c0be4eb3d9c78ab6a9e8e SHA512 c3b5660d455ca3dd8d22ae996ae437583b98c00e441bedfb72a5fcf8ccd4dc579e4fc8980faab501ff757ced62c079fbc116f91c796174895b33a57f0a183bbf
 DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 BLAKE2B c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138 SHA512 3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dscanner/dscanner-0.9.0.ebuild b/dev-util/dscanner/dscanner-0.9.0.ebuild
new file mode 100644
index 0000000..27d4949
--- /dev/null
+++ b/dev-util/dscanner/dscanner-0.9.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Swiss-army knife for D source code"
+HOMEPAGE="https://github.com/dlang-community/D-Scanner"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+CONTAINERS="f4e79375539554b3793adf1c557361a64a073524"
+DSYMBOL="ceea154b0047f71e4ffec224096ce87015578a8a"
+INIFILED="cecaff8037a60db2a51c9bded4802c87d938a44e"
+LIBDDOC="d50190b7e33b11d7fec05e504549f0f285bd2232"
+LIBDPARSE="597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1"
+ALLOCATOR="d6e6ce4a838e0dad43ef13f050f96627339cdccd"
+GITHUB_URI="https://codeload.github.com"
+SRC_URI="
+	${GITHUB_URI}/dlang-community/${PN}/tar.gz/v${PV} -> ${P}.tar.gz
+	${GITHUB_URI}/dlang-community/containers/tar.gz/${CONTAINERS} -> containers-${CONTAINERS}.tar.gz
+	${GITHUB_URI}/dlang-community/dsymbol/tar.gz/${DSYMBOL} -> dsymbol-${DSYMBOL}.tar.gz
+	${GITHUB_URI}/burner/inifiled/tar.gz/${INIFILED} -> inifiled-${INIFILED}.tar.gz
+	${GITHUB_URI}/economicmodeling/libddoc/tar.gz/${LIBDDOC} -> libddoc-${LIBDDOC}.tar.gz
+	${GITHUB_URI}/dlang-community/libdparse/tar.gz/${LIBDPARSE} -> libdparse-${LIBDPARSE}.tar.gz
+	${GITHUB_URI}/dlang-community/stdx-allocator/tar.gz/${ALLOCATOR} -> stdx-allocator-${ALLOCATOR}.tar.gz
+	"
+S="${WORKDIR}/D-Scanner-${PV}"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	# Stop makefile from executing git to write an unused githash.txt
+	echo "v${PV}" > githash.txt || die "Could not generate githash"
+	touch githash || die "Could not generate githash"
+	# Apply patches
+	dlang_src_prepare
+}
+
+compile_dscanner() {
+	local container_src="../containers-${CONTAINERS}/src"
+	local dsymbol_src="../dsymbol-${DSYMBOL}/src"
+	local inifiled_src="../inifiled-${INIFILED}/source"
+	local libddoc_src="../libddoc-${LIBDDOC}/src"
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${container_src} ${dsymbol_src} ${inifiled_src} ${libddoc_src} ${libdparse_src} ${allocator_src}"
+	local string_imports="."
+	local versions="StdLoggerDisableWarning"
+	use debug && versions="${versions} dparse_verbose"
+
+	local src=`find src -name "*.d" -printf "%p "`
+	local lib_src=`find ${container_src} ${dsymbol_src} ${inifiled_src} ${libddoc_src} ${libdparse_src} ${allocator_src} -name "*.d" -printf "%p "`
+
+	if [ "$1" == "unittest" ]; then
+		dlang_compile_lib_a bin/dscanner-unittest-lib.a "${lib_src}"
+		DCFLAGS="${DCFLAGS} ${DLANG_UNITTEST_FLAG}" dlang_compile_bin bin/dscanner-unittest bin/dscanner-unittest-lib.a "${src}"
+	else
+		dlang_compile_bin bin/dscanner "${src} ${lib_src}"
+	fi
+}
+
+d_src_compile() {
+	compile_dscanner
+}
+
+d_src_test() {
+	compile_dscanner unittest
+	bin/dscanner-unittest || die
+}
+
+d_src_install() {
+	dobin bin/dscanner
+	dodoc README.md LICENSE_1_0.txt
+}


             reply	other threads:[~2020-04-19 12:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 12:58 Marco Leise [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-15 18:01 [gentoo-commits] repo/user/dlang:master commit in: dev-util/dscanner/ Marco Leise
2020-11-16  4:05 Marco Leise
2021-07-07 15:41 Marco Leise
2024-03-13 21:29 Horodniceanu Andrei
2024-03-13 21:29 Horodniceanu Andrei
2024-04-13 23:04 Horodniceanu Andrei
2024-05-30 17:28 Horodniceanu Andrei
2024-06-02  5:29 Horodniceanu Andrei
2024-06-02  5:29 Horodniceanu Andrei
2024-07-14 19:44 Horodniceanu Andrei
2025-01-03 20:34 Horodniceanu Andrei

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=1587217032.e7ad49f37d2dd8c52ae50326ece91be58bda0710.mleise@gentoo \
    --to=marco.leise@gmx.de \
    --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