mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
dev-cpp/dtl: drop 1.19_p20210531
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST dtl-1.19_p20210531.tar.gz 26011 BLAKE2B 1ac4194cf536c072c45c2e2da0f0fd26232a5bf2e7aa57e8323457b5d43222df6a8579a41e54cd941cc69e013d4dac9fd051ad33950ed89692629ef57564a5f6 SHA512 2ac1f3d9871ed39f4183ebf0d9d8a1381ef2dacc3677f525d025eb292fbf4676a5a67abe34dfa1ff12bdb66e0fa71a83b8a99130e2e8048e08d3392327e84a9a
|
|
||||||
DIST dtl-1.20.tar.gz 26227 BLAKE2B a52f1e8878b0bbd7204d979eaf0ba303722140c5f57259dc8592a50f0f039baa3a90c1d309ac089805736a383e9265cbd133289216fe85aaac677265a29303d2 SHA512 44cdaf190d8a103effbca8df244c652b642590795f7307f5f7fdf64fc34bdbe2fa5ab2e1a08185abf099e35b0d9158306a80a8dc24bba9eccab4c77c7b1eed5e
|
DIST dtl-1.20.tar.gz 26227 BLAKE2B a52f1e8878b0bbd7204d979eaf0ba303722140c5f57259dc8592a50f0f039baa3a90c1d309ac089805736a383e9265cbd133289216fe85aaac677265a29303d2 SHA512 44cdaf190d8a103effbca8df244c652b642590795f7307f5f7fdf64fc34bdbe2fa5ab2e1a08185abf099e35b0d9158306a80a8dc24bba9eccab4c77c7b1eed5e
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
COMMIT="18e674e4a6fdc8c22534a207ff7812ed932a5e61"
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} pypy3 )
|
|
||||||
|
|
||||||
inherit python-any-r1 scons-utils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="diff template library written by C++"
|
|
||||||
HOMEPAGE="https://github.com/cubicdaiya/dtl"
|
|
||||||
SRC_URI="https://github.com/cubicdaiya/dtl/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="examples test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
test? (
|
|
||||||
dev-cpp/gtest
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-do-not-append-O2.patch" )
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
escons CC="$(tc-getCC)"
|
|
||||||
if use test; then
|
|
||||||
pushd test || die
|
|
||||||
escons CC="$(tc-getCC)"
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
if use examples; then
|
|
||||||
pushd examples || die
|
|
||||||
escons CC="$(tc-getCC)"
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
escons prefix="${T}" install
|
|
||||||
insinto /usr/include/dtl
|
|
||||||
doins "${T}/dtl/include"/*
|
|
||||||
if use examples; then
|
|
||||||
cd examples || die
|
|
||||||
rm SConstruct *.o *.cpp *.hpp || die
|
|
||||||
exeinto /usr/libexec/dtl/examples
|
|
||||||
doexe *
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd test || die
|
|
||||||
escons check
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user