mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-cpp/termcolor: New package.
Header-only library for printing colored messages to the terminal, dependency for app-text/epubgrep. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
1
dev-cpp/termcolor/Manifest
Normal file
1
dev-cpp/termcolor/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST termcolor-2.0.0.tar.gz 88582 BLAKE2B 3e7a4a99af3586fff103d0de0601e019881745e2921b4750dbf476439138a71120b6513a287c5fe26fd96a9c6115cb82295810d9bea11d0992f48fcd5d0a8d18 SHA512 72dead77fb9f3ff79432b1659b57c3d961a57b46305937acd0c221f5abb016f609dfaf7a9bf508bd7a073338ee604cf55f9915c8e8a76ddfaf6c68bc031e37f9
|
||||
11
dev-cpp/termcolor/metadata.xml
Normal file
11
dev-cpp/termcolor/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>Ronny (tastytea) Gutbrod</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/ikalnytskyi/termcolor/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
28
dev-cpp/termcolor/termcolor-2.0.0.ebuild
Normal file
28
dev-cpp/termcolor/termcolor-2.0.0.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Header-only library for printing colored messages to the terminal"
|
||||
HOMEPAGE="https://termcolor.readthedocs.io/"
|
||||
SRC_URI="https://github.com/ikalnytskyi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DTERMCOLOR_TESTS=$(usex test)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/test_termcolor || die
|
||||
}
|
||||
Reference in New Issue
Block a user