From 2e966616a226d6761b4c8de5cd6273c9712b2daf Mon Sep 17 00:00:00 2001 From: liuyujielol <2073201758GD@gmail.com> Date: Fri, 10 Nov 2023 18:38:26 +0800 Subject: [PATCH] dev-cpp/tgbot-cpp: add 1.7.2, drop old Signed-off-by: liuyujielol <2073201758GD@gmail.com> --- dev-cpp/tgbot-cpp/Manifest | 1 + dev-cpp/tgbot-cpp/metadata.xml | 2 +- .../tgbot-cpp/tgbot-cpp-1.3_p220616.ebuild | 34 ------------------- .../tgbot-cpp/tgbot-cpp-1.3_p220911.ebuild | 34 ------------------- dev-cpp/tgbot-cpp/tgbot-cpp-1.4.ebuild | 34 ------------------- dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild | 34 ------------------- ...-cpp-1.3.ebuild => tgbot-cpp-1.7.2.ebuild} | 11 +++--- 7 files changed, 7 insertions(+), 143 deletions(-) create mode 100644 dev-cpp/tgbot-cpp/Manifest delete mode 100644 dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220616.ebuild delete mode 100644 dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220911.ebuild delete mode 100644 dev-cpp/tgbot-cpp/tgbot-cpp-1.4.ebuild delete mode 100644 dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild rename dev-cpp/tgbot-cpp/{tgbot-cpp-1.3.ebuild => tgbot-cpp-1.7.2.ebuild} (72%) diff --git a/dev-cpp/tgbot-cpp/Manifest b/dev-cpp/tgbot-cpp/Manifest new file mode 100644 index 00000000000..d4a091e20ab --- /dev/null +++ b/dev-cpp/tgbot-cpp/Manifest @@ -0,0 +1 @@ +DIST tgbot-cpp-1.7.2.tar.gz 162819 BLAKE2B ea03a962089eba0c52abc1ced72fce521cb4f25c5c6a19fff1f6b5ceb3e9e7b37cf4cf016d3c9aae53a7b7958fd3b387a5bb871a67316ddc89a9e84a258f691a SHA512 44f16e2cef6ea6407f6a707885734cd0e850d89553a35c12b63c0864ea952377f07553c9cbf5ee464a1e8390723cd9fff867caafa725c97612a664d13ca87ec1 diff --git a/dev-cpp/tgbot-cpp/metadata.xml b/dev-cpp/tgbot-cpp/metadata.xml index 0c627cc3799..92b77b427d7 100644 --- a/dev-cpp/tgbot-cpp/metadata.xml +++ b/dev-cpp/tgbot-cpp/metadata.xml @@ -6,7 +6,7 @@ Haonan Chen - Build shared library instead of static library. + Build shared library instead of static library. reo7sp/tgbot-cpp diff --git a/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220616.ebuild b/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220616.ebuild deleted file mode 100644 index 7e2e607a1ed..00000000000 --- a/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220616.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 - -DESCRIPTION="C++ library for Telegram bot API" -HOMEPAGE="https://github.com/reo7sp/tgbot-cpp" -EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git" -EGIT_COMMIT=336a7c5 - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+shared doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - sys-libs/zlib - dev-libs/openssl - >=net-misc/curl-7.56.0 - >=dev-libs/boost-1.59.0" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen[dot] )" - -src_configure() { - mycmakeargs=( - -DENABLE_TESTS=$(usex test ON OFF) - -DBUILD_SHARED_LIBS=$(usex shared ON OFF) - -DBUILD_DOCUMENTATION=$(usex doc ON OFF) - ) - cmake_src_configure -} diff --git a/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220911.ebuild b/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220911.ebuild deleted file mode 100644 index 7e2e607a1ed..00000000000 --- a/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220911.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 - -DESCRIPTION="C++ library for Telegram bot API" -HOMEPAGE="https://github.com/reo7sp/tgbot-cpp" -EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git" -EGIT_COMMIT=336a7c5 - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+shared doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - sys-libs/zlib - dev-libs/openssl - >=net-misc/curl-7.56.0 - >=dev-libs/boost-1.59.0" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen[dot] )" - -src_configure() { - mycmakeargs=( - -DENABLE_TESTS=$(usex test ON OFF) - -DBUILD_SHARED_LIBS=$(usex shared ON OFF) - -DBUILD_DOCUMENTATION=$(usex doc ON OFF) - ) - cmake_src_configure -} diff --git a/dev-cpp/tgbot-cpp/tgbot-cpp-1.4.ebuild b/dev-cpp/tgbot-cpp/tgbot-cpp-1.4.ebuild deleted file mode 100644 index 614b4626662..00000000000 --- a/dev-cpp/tgbot-cpp/tgbot-cpp-1.4.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 - -DESCRIPTION="C++ library for Telegram bot API" -HOMEPAGE="https://github.com/reo7sp/tgbot-cpp" -EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git" -EGIT_COMMIT=9cb2e9c - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+shared doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - sys-libs/zlib - dev-libs/openssl - >=net-misc/curl-7.56.0 - >=dev-libs/boost-1.59.0" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen[dot] )" - -src_configure() { - mycmakeargs=( - -DENABLE_TESTS=$(usex test ON OFF) - -DBUILD_SHARED_LIBS=$(usex shared ON OFF) - -DBUILD_DOCUMENTATION=$(usex doc ON OFF) - ) - cmake_src_configure -} diff --git a/dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild b/dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild deleted file mode 100644 index 3936aab4854..00000000000 --- a/dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 - -DESCRIPTION="C++ library for Telegram bot API" -HOMEPAGE="https://github.com/reo7sp/tgbot-cpp" -EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git" -EGIT_COMMIT=746f848 - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+shared doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - sys-libs/zlib - dev-libs/openssl - >=net-misc/curl-7.56.0 - >=dev-libs/boost-1.59.0" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen[dot] )" - -src_configure() { - mycmakeargs=( - -DENABLE_TESTS=$(usex test ON OFF) - -DBUILD_SHARED_LIBS=$(usex shared ON OFF) - -DBUILD_DOCUMENTATION=$(usex doc ON OFF) - ) - cmake_src_configure -} diff --git a/dev-cpp/tgbot-cpp/tgbot-cpp-1.3.ebuild b/dev-cpp/tgbot-cpp/tgbot-cpp-1.7.2.ebuild similarity index 72% rename from dev-cpp/tgbot-cpp/tgbot-cpp-1.3.ebuild rename to dev-cpp/tgbot-cpp/tgbot-cpp-1.7.2.ebuild index 01e56caf224..729d6a0c3a1 100644 --- a/dev-cpp/tgbot-cpp/tgbot-cpp-1.3.ebuild +++ b/dev-cpp/tgbot-cpp/tgbot-cpp-1.7.2.ebuild @@ -3,22 +3,21 @@ EAPI=8 -inherit cmake git-r3 +inherit cmake DESCRIPTION="C++ library for Telegram bot API" HOMEPAGE="https://github.com/reo7sp/tgbot-cpp" -EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git" -EGIT_COMMIT=f74c381 +SRC_URI="https://github.com/reo7sp/tgbot-cpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="+shared doc test" +IUSE="+shared-libs doc test" RESTRICT="!test? ( test )" DEPEND=" sys-libs/zlib - dev-libs/openssl + dev-libs/openssl:= >=net-misc/curl-7.56.0 >=dev-libs/boost-1.59.0" RDEPEND="${DEPEND}" @@ -27,7 +26,7 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )" src_configure() { mycmakeargs=( -DENABLE_TESTS=$(usex test ON OFF) - -DBUILD_SHARED_LIBS=$(usex shared ON OFF) + -DBUILD_SHARED_LIBS=$(usex shared-libs ON OFF) -DBUILD_DOCUMENTATION=$(usex doc ON OFF) ) cmake_src_configure