dev-cpp/rang: treeclean

Closes: https://bugs.gentoo.org/925075 (obsolete)
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2026-01-03 19:22:36 +05:00
parent 24a54285dc
commit fe29f0d919
5 changed files with 0 additions and 114 deletions

View File

@@ -1 +0,0 @@
DIST rang-3.2.gh.tar.gz 13601 BLAKE2B 7694a221fc925c5f10e13b7ef4d087629ff6012b53212f45ed527d07ede69165fcf0bef8518e7be3592bf483663a9a2641608c9d8f57cd7a98edcdb1f56f1591 SHA512 f579aaf3bddbfa2325dd31bdbe7c32598af8a340fee62c3a1e7ed1cf189af2808b7838a5fb13b3765279ddd1e7481f6229da72e72218a4916455cf3ae12b5a68

View File

@@ -1,48 +0,0 @@
https://src.fedoraproject.org/rpms/rang/blob/rawhide/f/0000-rang-fix-tests.patch
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -8,7 +8,6 @@ set(CMAKE_CXX_EXTENSIONS OFF)
function(rang_add_test file_name)
add_executable("${file_name}" "${file_name}.cpp")
- target_link_libraries("${file_name}" rang)
endfunction()
# simple tests #################################################################
@@ -23,7 +22,7 @@ find_package(doctest)
if (${doctest_FOUND} EQUAL 1)
add_executable(all_rang_tests "test.cpp")
- target_link_libraries(all_rang_tests rang doctest::doctest)
+ target_link_libraries(all_rang_tests doctest::doctest)
enable_testing()
--- a/test/colorTest.cpp
+++ b/test/colorTest.cpp
@@ -1,4 +1,4 @@
-#include "rang.hpp"
+#include "../include/rang.hpp"
#include <string>
using namespace std;
--- a/test/envTermMissing.cpp
+++ b/test/envTermMissing.cpp
@@ -1,4 +1,4 @@
-#include "rang.hpp"
+#include "../include/rang.hpp"
#include <cstdlib>
using std::cout;
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -1,7 +1,7 @@
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
-#include "doctest.h"
+#include "doctest/doctest.h"
-#include "rang.hpp"
+#include "../include/rang.hpp"
#include <fstream>
#include <string>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>watermanpaint@posteo.net</email>
<name>Lucio Sauer</name>
</maintainer>
<upstream>
<remote-id type="github">agauniyal/rang</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,48 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Minimal, header-only, modern C++ library for terminal goodies"
HOMEPAGE="https://agauniyal.github.io/rang/"
SRC_URI="https://github.com/agauniyal/rang/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~ppc64"
IUSE="test"
RESTRICT="!test? ( test )"
PATCHES="${FILESDIR}/${P}-fix-tests.patch"
BDEPEND="test? ( dev-cpp/doctest )"
src_configure() {
cmake_src_configure
if use test; then
local BUILD_DIR CMAKE_USE_DIR
BUILD_DIR="${WORKDIR}/${P}_test"
CMAKE_USE_DIR="${S}/test"
cmake_src_configure
fi
}
src_compile() {
if use test; then
local BUILD_DIR CMAKE_USE_DIR
BUILD_DIR="${WORKDIR}/${P}_test"
CMAKE_USE_DIR="${S}/test"
cmake_src_compile
fi
}
src_test() {
local BUILD_DIR CMAKE_USE_DIR
BUILD_DIR="${WORKDIR}/${P}_test"
CMAKE_USE_DIR="${S}/test"
cmake_src_test
}

View File

@@ -77,12 +77,6 @@ app-editors/amp
# Removal on 2025-11-18
dev-util/fnm
# Lucio Sauer <watermanpaint@posteo.net> (2025-10-17)
# Header-only library with no revdeps and dead upstream for 3 years.
# Fails to build w/ dev-build/cmake-4.
# Removal on 2025-11-17
dev-cpp/rang
# David (stkw0) Roman <davidroman96@gmail.com> (2025-07-25)
# Depends on removed pydantic version.
dev-python/safety-schemas