1 |
commit: 20344e32c931b46f9b66ebc2f7479b96b95704c8 |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Tue Nov 1 13:08:41 2022 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Tue Nov 1 13:08:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20344e32 |
7 |
|
8 |
dev-cpp/scitokens-cpp: drop 0.7.0 |
9 |
|
10 |
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> |
11 |
|
12 |
dev-cpp/scitokens-cpp/Manifest | 1 - |
13 |
.../scitokens-cpp-0.7.0-install-when-testing.patch | 21 --------- |
14 |
dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild | 55 ---------------------- |
15 |
3 files changed, 77 deletions(-) |
16 |
|
17 |
diff --git a/dev-cpp/scitokens-cpp/Manifest b/dev-cpp/scitokens-cpp/Manifest |
18 |
index 32bf633fd..56804bd76 100644 |
19 |
--- a/dev-cpp/scitokens-cpp/Manifest |
20 |
+++ b/dev-cpp/scitokens-cpp/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST scitokens-cpp-0.7.0.tar.gz 98971 BLAKE2B 3429ff89b5a5202f9892fc68fc558c8b64276977a396981af845f05f8eb3f638602cedd30ea97f3ab5e6d188de7249247854dd6281aeb138d6e304b5aa006bb9 SHA512 1be8a84b7d88c10ab7336c3c6bc8d7e7be5feb3253ef618cba1f3ed908aad3fc480f30dd2a292aa2774ec88ceba370af3fa7d96f228cba3df8f78b6face6991b |
23 |
DIST scitokens-cpp-0.7.1.tar.gz 99411 BLAKE2B b89c63ad35105a064e6f8ecd7596ba51de43096828a756b7c64669a352784c56bcb9295638f173cdbeac833e9dfc14828daf775d60a6cd124abf639125cf5842 SHA512 5c73fcccfb2db92916caced118e2ab4e110f7a8331a9bd84d06bd059da5258d7e8423822356e1833bbce7b047d7f31e2cd20cf4c0eb064dc2d248d9febab35b5 |
24 |
DIST scitokens-cpp-0.7.2.tar.gz 99557 BLAKE2B 93b5a4e331004b8bcec9b9ad931d5de2bb5ecd69dc75b4100261110aa0488f4b4616e085235dc8703f492bb80cce2d7a8e90824c32f11d9db6dec65e2be87d1f SHA512 40e4bd8b14e040f748e8b7c00a32f26028b502d293c8d4ed77f20294fe7356a991d9d0a449731cde28a90556aeefd42e4ca63ec882b94697abeef2483544451c |
25 |
|
26 |
diff --git a/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch |
27 |
deleted file mode 100644 |
28 |
index c2b500810..000000000 |
29 |
--- a/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch |
30 |
+++ /dev/null |
31 |
@@ -1,21 +0,0 @@ |
32 |
-Bug: https://github.com/scitokens/scitokens-cpp/issues/82 |
33 |
- |
34 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
35 |
-index ec5c878..611afb1 100644 |
36 |
---- a/CMakeLists.txt |
37 |
-+++ b/CMakeLists.txt |
38 |
-@@ -81,13 +81,12 @@ endif() |
39 |
- enable_testing() |
40 |
- add_subdirectory(test) |
41 |
- |
42 |
--else() |
43 |
-+endif() |
44 |
- get_directory_property(TARGETS BUILDSYSTEM_TARGETS) |
45 |
- install( |
46 |
- TARGETS ${TARGETS} |
47 |
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
48 |
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) |
49 |
--endif() |
50 |
- |
51 |
- install( |
52 |
- FILES src/scitokens.h |
53 |
|
54 |
diff --git a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild |
55 |
deleted file mode 100644 |
56 |
index 59eac5e9b..000000000 |
57 |
--- a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild |
58 |
+++ /dev/null |
59 |
@@ -1,55 +0,0 @@ |
60 |
-# Copyright 1999-2022 Gentoo Authors |
61 |
-# Distributed under the terms of the GNU General Public License v2 |
62 |
- |
63 |
-EAPI=8 |
64 |
- |
65 |
-inherit cmake |
66 |
- |
67 |
-if [[ ${PV} == *9999* ]]; then |
68 |
- inherit git-r3 |
69 |
- EGIT_REPO_URI="https://github.com/scitokens/scitokens-cpp" |
70 |
-else |
71 |
- SRC_URI="https://github.com/scitokens/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
72 |
- KEYWORDS="~amd64" |
73 |
-fi |
74 |
- |
75 |
-DESCRIPTION=" A C++ implementation of the SciTokens library with a C library interface" |
76 |
-HOMEPAGE="https://scitokens.org/" |
77 |
- |
78 |
-LICENSE="Apache-2.0" |
79 |
-SLOT="0" |
80 |
-IUSE="test" |
81 |
- |
82 |
-DEPEND="${RDEPEND} |
83 |
- <dev-cpp/jwt-cpp-0.5.0 |
84 |
- dev-db/sqlite |
85 |
- dev-libs/openssl |
86 |
- net-misc/curl |
87 |
- sys-apps/util-linux |
88 |
- test? ( dev-cpp/gtest )" |
89 |
-BDEPEND="virtual/pkgconfig" |
90 |
-RESTRICT="!test? ( test )" |
91 |
- |
92 |
-PATCHES=( |
93 |
- "${FILESDIR}"/"${PN}"-0.7.0-install-when-testing.patch |
94 |
-) |
95 |
- |
96 |
-src_prepare() { |
97 |
- # Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp |
98 |
- rm -rvf vendor |
99 |
- # Fix include path for picojson. |
100 |
- find src/ \( -name '*.cpp' -o -name '*.h' \) -type f -print0 | xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die |
101 |
- cmake_src_prepare |
102 |
-} |
103 |
- |
104 |
-src_configure() { |
105 |
- local mycmakeargs=( |
106 |
- -DBUILD_UNITTESTS="$(usex test)" |
107 |
- -DEXTERNAL_GTEST=YES |
108 |
- ) |
109 |
- cmake_src_configure |
110 |
-} |
111 |
- |
112 |
-src_test() { |
113 |
- cmake_run_in "${BUILD_DIR}" ctest --verbose || die |
114 |
-} |