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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5280158089 for ; Thu, 28 Sep 2023 12:48:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AE632BC028; Thu, 28 Sep 2023 12:48:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F04FB2BC028 for ; Thu, 28 Sep 2023 12:48:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DA6F335CDF for ; Thu, 28 Sep 2023 12:48:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F113A1273 for ; Thu, 28 Sep 2023 12:48:48 +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: <1695905264.e74430bd07e71335c0c16a7155841ddeede1128b.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.8.7.ebuild X-VCS-Directories: dev-cpp/drogon/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: e74430bd07e71335c0c16a7155841ddeede1128b X-VCS-Branch: dev Date: Thu, 28 Sep 2023 12:48:48 +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: 7b0c2bc6-9660-4eb0-9def-103f1deec274 X-Archives-Hash: 0e82a23b21af6c02ccf706f7b5aa9a7e commit: e74430bd07e71335c0c16a7155841ddeede1128b Author: tastytea tastytea de> AuthorDate: Thu Sep 28 12:47:44 2023 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Thu Sep 28 12:47:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e74430bd dev-cpp/drogon: add 1.8.7 Signed-off-by: tastytea tastytea.de> dev-cpp/drogon/Manifest | 1 + dev-cpp/drogon/drogon-1.8.7.ebuild | 87 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest index 1dab2a3e25..e3bd6e720c 100644 --- a/dev-cpp/drogon/Manifest +++ b/dev-cpp/drogon/Manifest @@ -1,4 +1,5 @@ DIST drogon-1.8.4.tar.gz 550065 BLAKE2B 393c98f5c6f65368e9f89f46c4804a738a153139cc12adbe76c6ceff888637887f0dfa8099099255589e87d27e2840b4a9d65d88140bd18c5202f6eb344a43cc SHA512 381b4b576d316e55690dc0531cfeaeee4c0e00ce540a502e1c1870eea9a463d00d7e4bc9a354c459e5fbc6da5f046757f07ff2077bb3a9603f97f448f2d17ea2 DIST drogon-1.8.6.tar.gz 561577 BLAKE2B ad64cbb22b766403156a34cc604e7f9304541a98b86eea83b7afbb3d451c4aa176b7d359db5bfff48ce3f5475e436e13c8cf8d7adc1f4de123026ae2da1e4870 SHA512 4ca09f52fde3b080255c0938d510ea5592ec30e4ea9b7648a7ea1b528c9f096e1c1534647d5bf93d7923b43106227c6c1c3b67f238becbd6da15e8acecbf4c5c +DIST drogon-1.8.7.tar.gz 561601 BLAKE2B 9cca0fac0d34942a382371c1b654170456e3f7a2a565a798f19854dd0291ef0cf1ef19d668e36794a050a9acccd83c4aab5a0351f0b3f2a87753bc270793146c SHA512 a49b032689869e97505612570285d21c0a68604c70e379f95c70fd5d8014f6890809283956b1b83fda4551c01c526ab2b575351c23a3e58fb4f920c9e1b7e92b DIST trantor-1.5.11.tar.gz 113152 BLAKE2B 6ec0c8ae98835ad5fa94ab154ac3910496ddba2f67e307f90b48ee5bc39d3b4158adcac39b1bd2c2b7343a31f9fba394a6cbbb4fa86c1d1a8f1f28887d5a7955 SHA512 dd65938bebb2e6714e5603db3bfc82cd1a63395c17dce014147a41fdc74548cb526e1457a7472aa51bb80ce629a9935b4db9eeadf735efaf30899ef73f776a58 DIST trantor-1.5.13.tar.gz 143230 BLAKE2B 298870f3b132d4dbacbab88b9689fd2e8fec7450dcca82fc985393b718a701008debea7a50f2d7814871a9399bb423f21b9a9454de59468f7bfade51b70a283d SHA512 4f4cef4103faa323e5213c1b59c0d86606831e97127594d5c9248481ba4ce66905c40c25c5d83d00e78936d53ba03b8450e6848199a85e9120bb8f2522bf7805 diff --git a/dev-cpp/drogon/drogon-1.8.7.ebuild b/dev-cpp/drogon/drogon-1.8.7.ebuild new file mode 100644 index 0000000000..7841c9749a --- /dev/null +++ b/dev-cpp/drogon/drogon-1.8.7.ebuild @@ -0,0 +1,87 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_TRANTOR_V="1.5.13" + +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 + test? ( https://github.com/an-tao/trantor/archive/refs/tags/v${MY_TRANTOR_V}.tar.gz -> trantor-${MY_TRANTOR_V}.tar.gz ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+brotli doc examples mariadb postgres redis sqlite test +yaml" +# REQUIRED_USE="test? ( postgres sqlite mariadb )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-cpp/trantor-${MY_TRANTOR_V}:= + 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:3 ) + elibc_Darwin? ( sys-libs/native-uuid ) + elibc_SunOS? ( sys-libs/libuuid ) + !elibc_Darwin? ( !elibc_SunOS? ( + sys-apps/util-linux + ) ) + yaml? ( dev-cpp/yaml-cpp:= ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" +BDEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( "${FILESDIR}"/${PN}-1.8.4-fix-test-build.patch ) + +DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md ) + +src_unpack() { + default + + # the cert is in the trantor submodule normally, but we unbundle that + if use test; then + mkdir -p ${P}/trantor/trantor/tests || die + cp -v trantor-${MY_TRANTOR_V}/trantor/tests/server.{crt,key} \ + ${P}/trantor/trantor/tests/ \ + || die "could not copy test certificate and/or key" + fi +} + +src_configure() { + use doc && HTML_DOCS=( "${BUILD_DIR}/docs/drogon/html/." ) + + local -a mycmakeargs=( + -DBUILD_DOC=$(usex doc) + -DBUILD_EXAMPLES=NO + -DBUILD_POSTGRESQL=$(usex postgres) + -DBUILD_MYSQL=$(usex mariadb) + -DBUILD_SQLITE=$(usex sqlite) + -DBUILD_REDIS=$(usex redis) + -DBUILD_TESTING=$(usex test) + -DBUILD_BROTLI=$(usex brotli) + -DBUILD_YAML_CONFIG=$(usex yaml) + -DUSE_SUBMODULE=NO + $(cmake_use_find_package doc Doxygen) + ) + + cmake_src_configure +} + +src_install() { + use examples && DOCS+=( "${S}/examples" ) + docompress -x /usr/share/doc/${PF}/examples + + cmake_src_install +}