mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
dev-libs/mtxclient: drop 0.6.2-r1
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
parent
1f5ef58710
commit
4039bb8ced
@ -1,3 +1,2 @@
|
||||
DIST mtxclient-0.6.2.tar.gz 596675 BLAKE2B c796218849324222e94ecd82336f4bfed25f344c8d01f9de293f5220d43e9c3b2b3921dce5d0d9a0d850e85dcb2e2b74e26ab75000d1fa48601c433d646b90ba SHA512 91ac33b16fb2685f1aee3e76f3fe334a34e8403d11be8a065e10dac0181333131654f26886a8cf5b25ded1960010c06a259e7d2e5f195a28f7cc8041ca9dbff9
|
||||
DIST mtxclient-0.7.0.tar.gz 601042 BLAKE2B 05c390d7e3f48d5c02a74fb5783693d5380141b28738b064101f6aaa2fbddf30e0d4b95dc774e68fbad93c642592806d9417344fb9cdd6b01659ec874c3ba67f SHA512 fe015e6532a62fd1d1f5828c7aff08c181a4da1279afe54a502c09ba924a404099d23e74eb176841e774f67c6701e9c0ab666e239f486e4559aaea863ba8f5f9
|
||||
DIST mtxclient-0.8.0.tar.gz 606271 BLAKE2B 7a12f1f595d509cb2a0bbf9052393f67e427925875124398bf7fa6fc1f96f78084eb357d8ed1642df15274523b66ac78117ab1d088328131a5103d6a4da9b6d4 SHA512 4156432bf66d00bdabb6feee2521b659ee8b50cbcab8eae9d1c8dd496442822d204f7085baa616e51acd4cb7037994d5746fb37be73e71c1c5a3f882229f1e18
|
||||
|
@ -1,38 +0,0 @@
|
||||
From b95f9d85f87f78ce5cfbaeed513ea284678eaa83 Mon Sep 17 00:00:00 2001
|
||||
From: tastytea <tastytea@tastytea.de>
|
||||
Date: Mon, 25 May 2020 00:57:57 +0200
|
||||
Subject: [PATCH] Remove failing tests.
|
||||
|
||||
---
|
||||
CMakeLists.txt | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 689a091..58868b6 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -345,13 +345,6 @@ if(BUILD_LIB_TESTS)
|
||||
GTest::Main)
|
||||
target_include_directories(utils PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
|
||||
- add_executable(pushrules tests/pushrules.cpp)
|
||||
- target_link_libraries(pushrules
|
||||
- MatrixClient::MatrixClient
|
||||
- GTest::GTest
|
||||
- GTest::Main)
|
||||
- target_include_directories(pushrules PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
-
|
||||
add_executable(identifiers tests/identifiers.cpp)
|
||||
target_link_libraries(identifiers
|
||||
MatrixClient::MatrixClient
|
||||
@@ -395,7 +388,6 @@ if(BUILD_LIB_TESTS)
|
||||
GTest::Main)
|
||||
|
||||
add_test(Utilities utils)
|
||||
- add_test(Pushrules pushrules)
|
||||
add_test(Identifiers identifiers)
|
||||
add_test(Errors errors)
|
||||
add_test(CryptoStructs crypto)
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,72 +0,0 @@
|
||||
From e4e068ba5dd3964c890f25bbe668c8a964562ded Mon Sep 17 00:00:00 2001
|
||||
From: tastytea <tastytea@tastytea.de>
|
||||
Date: Mon, 25 May 2020 00:50:30 +0200
|
||||
Subject: [PATCH] Remove tests that require a network connection.
|
||||
|
||||
---
|
||||
CMakeLists.txt | 35 -----------------------------------
|
||||
1 file changed, 35 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 0073604..689a091 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -338,29 +338,6 @@ if(BUILD_LIB_TESTS)
|
||||
|
||||
file(COPY tests/fixtures DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
- add_executable(client_api tests/client_api.cpp)
|
||||
- target_link_libraries(client_api
|
||||
- MatrixClient::MatrixClient
|
||||
- GTest::GTest
|
||||
- GTest::Main)
|
||||
- target_include_directories(client_api PRIVATE
|
||||
- ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
-
|
||||
- add_executable(media_api tests/media_api.cpp)
|
||||
- target_link_libraries(media_api
|
||||
- MatrixClient::MatrixClient
|
||||
- GTest::GTest
|
||||
- GTest::Main)
|
||||
- target_include_directories(media_api PRIVATE
|
||||
- ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
-
|
||||
- add_executable(e2ee tests/e2ee.cpp)
|
||||
- target_link_libraries(e2ee
|
||||
- MatrixClient::MatrixClient
|
||||
- GTest::GTest
|
||||
- GTest::Main)
|
||||
- target_include_directories(e2ee PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
-
|
||||
add_executable(utils tests/utils.cpp)
|
||||
target_link_libraries(utils
|
||||
MatrixClient::MatrixClient
|
||||
@@ -375,14 +352,6 @@ if(BUILD_LIB_TESTS)
|
||||
GTest::Main)
|
||||
target_include_directories(pushrules PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
|
||||
- add_executable(connection tests/connection.cpp)
|
||||
- target_link_libraries(connection
|
||||
- MatrixClient::MatrixClient
|
||||
- GTest::GTest
|
||||
- GTest::Main)
|
||||
- target_include_directories(connection PRIVATE
|
||||
- ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
-
|
||||
add_executable(identifiers tests/identifiers.cpp)
|
||||
target_link_libraries(identifiers
|
||||
MatrixClient::MatrixClient
|
||||
@@ -425,10 +394,6 @@ if(BUILD_LIB_TESTS)
|
||||
GTest::GTest
|
||||
GTest::Main)
|
||||
|
||||
- add_test(BasicConnectivity connection)
|
||||
- add_test(ClientAPI client_api)
|
||||
- add_test(MediaAPI media_api)
|
||||
- add_test(Encryption e2ee)
|
||||
add_test(Utilities utils)
|
||||
add_test(Pushrules pushrules)
|
||||
add_test(Identifiers identifiers)
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio"
|
||||
HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient"
|
||||
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}" # ABI may break even on patch version changes
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/olm
|
||||
>=dev-libs/openssl-1.1.0
|
||||
dev-libs/spdlog
|
||||
>=dev-cpp/coeurl-0.1.1:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0.6.0_remove_network_tests.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_LIB_TESTS="$(usex test)"
|
||||
-DBUILD_LIB_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user