aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Leise <marco.leise@gmx.de>2020-05-30 16:52:54 +0200
committerMarco Leise <marco.leise@gmx.de>2020-05-30 17:27:37 +0200
commitc38e1e9ee84fac7c6eb1852d9ee023bf570d8b8b (patch)
tree8ff535d6102486c7a1bc724ba6d2de2611326524 /dev-util/dscanner/dscanner-0.8.0.ebuild
parentupdated .travis.yml (diff)
downloaddlang-c38e1e9ee84fac7c6eb1852d9ee023bf570d8b8b.tar.gz
dlang-c38e1e9ee84fac7c6eb1852d9ee023bf570d8b8b.tar.bz2
dlang-c38e1e9ee84fac7c6eb1852d9ee023bf570d8b8b.zip
stabilization sweep
Signed-off-by: Marco Leise <marco.leise@gmx.de>
Diffstat (limited to 'dev-util/dscanner/dscanner-0.8.0.ebuild')
-rw-r--r--dev-util/dscanner/dscanner-0.8.0.ebuild81
1 files changed, 0 insertions, 81 deletions
diff --git a/dev-util/dscanner/dscanner-0.8.0.ebuild b/dev-util/dscanner/dscanner-0.8.0.ebuild
deleted file mode 100644
index 5526c74..0000000
--- a/dev-util/dscanner/dscanner-0.8.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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="a978c3cda3f6ec3ba7449ec5c08dd5cd4dd79c6e"
-DSYMBOL="f4a481cdc23b58ce544c2e91a39d5c0d406b67ac"
-INIFILED="cecaff8037a60db2a51c9bded4802c87d938a44e"
-LIBDDOC="36d2b9a884920bb010ff937e9ffd0fa0c38d9795"
-LIBDPARSE="5270739bcd1962418784c7760773e24d28b6009b"
-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
-}