From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98703158086 for ; Wed, 20 Oct 2021 19:08:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBAB2E088D; Wed, 20 Oct 2021 19:08:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4329E088D for ; Wed, 20 Oct 2021 19:08:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A0A0343A60 for ; Wed, 20 Oct 2021 19:07:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD04E151 for ; Wed, 20 Oct 2021 19:07:28 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1634756642.16af2cecd06e3db204fe27ad17b4a252e89a4351.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/drogon/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/drogon/Manifest dev-cpp/drogon/drogon-1.7.3.ebuild X-VCS-Directories: dev-cpp/drogon/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 16af2cecd06e3db204fe27ad17b4a252e89a4351 X-VCS-Branch: dev Date: Wed, 20 Oct 2021 19:07:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a286fe3c-cf62-4d51-a695-37ff06446051 X-Archives-Hash: d05f500aef60581cd8e2175c08fcc1ca commit: 16af2cecd06e3db204fe27ad17b4a252e89a4351 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Wed Oct 20 18:07:10 2021 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Wed Oct 20 19:04:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16af2cec dev-cpp/drogon: Version bump 1.7.3. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-cpp/drogon/Manifest | 1 + dev-cpp/drogon/drogon-1.7.3.ebuild | 64 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest index 54f3da8e6..90c964273 100644 --- a/dev-cpp/drogon/Manifest +++ b/dev-cpp/drogon/Manifest @@ -1,2 +1,3 @@ DIST drogon-1.7.1.tar.gz 465299 BLAKE2B 72ddcc050333f6ff8d0749c3de5a4db80cf5f36613253d90abcbf8983aa53db44a6a4e71b73cc42c0596684b7a56a1cb69faa348652c0fc673e6be7d3ad383b3 SHA512 8a7cb8aa87cc48b130a5b47558b3c9e2a0af13cd8b76681e42d14a366dac75c88e389f2e2fe03b4f0f1e0e31971a47eee2bf5df8fcb4b79f8ed00d2a592315b6 DIST drogon-1.7.2.tar.gz 475266 BLAKE2B dff7cdf76b4d30a7cd44f50efcf3b683eefe06e7b0be1fe167f1891370c55ee76b8f6e14582cbfdf0f2b129211301fd9b97e4dc4db313f28fccb21ca6271a57a SHA512 0546a7a6a1a1e9e1ec068cd45d747ccdd62a9bd9042db4941c004fbe795d051b8d115a71f8000352a2d284f141ebad9b66438dfabc255bb24c92bd5a3dc0ed8a +DIST drogon-1.7.3.tar.gz 483306 BLAKE2B b5b89f678f285de6533480d403725f172b40f1c97057b3234dc5a9456c1e13f3d3b2a11769e78a16199495584a9a411ccdd375090b3770acdff24054bba75060 SHA512 20146bf59898704f3b44778fa46e919d9124ef8a33eb1cfcce7f437507c20920829a0074e1c9e2493a1764b8a36b1a91b03f117fd78e740253b15d2146dca628 diff --git a/dev-cpp/drogon/drogon-1.7.3.ebuild b/dev-cpp/drogon/drogon-1.7.3.ebuild new file mode 100644 index 000000000..5d3ab972c --- /dev/null +++ b/dev-cpp/drogon/drogon-1.7.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="C++14/17 based HTTP web application framework" +HOMEPAGE="https://github.com/drogonframework/drogon" +SRC_URI="https://github.com/drogonframework/drogon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+brotli doc examples mariadb postgres redis sqlite +ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-cpp/trantor-1.5.2 + dev-libs/jsoncpp + sys-libs/zlib + brotli? ( app-arch/brotli ) + mariadb? ( dev-db/mariadb:= ) + postgres? ( dev-db/postgresql:= ) + redis? ( dev-libs/hiredis ) + sqlite? ( dev-db/sqlite ) + ssl? ( dev-libs/openssl ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" +BDEPEND="doc? ( app-doc/doxygen )" + +DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md ) + +src_prepare() { + sed -i '/add_subdirectory(trantor)/d' CMakeLists.txt || die + sed -i '/${PROJECT_SOURCE_DIR}\/trantor\/trantor\/tests\/server.pem/d' \ + lib/tests/CMakeLists.txt || die + use ssl || sed -i '/find_package(OpenSSL)/d' CMakeLists.txt || die + use doc || sed -i '/find_package(Doxygen/d' CMakeLists.txt || die + + use examples && DOCS+=( "${S}/examples" ) + + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + "-DBUILD_DOC=$(usex doc)" + "-DBUILD_EXAMPLES=NO" + "-DBUILD_DROGON_SHARED=YES" + "-DBUILD_POSTGRESQL=$(usex postgres)" + "-DBUILD_MYSQL=$(usex mariadb)" + "-DBUILD_SQLITE=$(usex sqlite)" + "-DBUILD_REDIS=$(usex redis)" + "-DBUILD_TESTING=$(usex test)" + "-DBUILD_BROTLI=$(usex brotli)" + ) + use doc && HTML_DOCS="${BUILD_DIR}/docs/drogon/html/*" + + cmake_src_configure +}