public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/drogon/
Date: Sun, 29 Jan 2023 11:39:16 +0000 (UTC)	[thread overview]
Message-ID: <1674992346.4f2ee8a18a32db4a0df4c6a7d9550b1a636a7c78.tastytea@gentoo> (raw)

commit:     4f2ee8a18a32db4a0df4c6a7d9550b1a636a7c78
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sun Jan 29 11:35:51 2023 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sun Jan 29 11:39:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f2ee8a1

dev-cpp/drogon: add 1.8.3

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 dev-cpp/drogon/Manifest            |  2 +
 dev-cpp/drogon/drogon-1.8.3.ebuild | 90 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest
index ad2f1df70..988e07d20 100644
--- a/dev-cpp/drogon/Manifest
+++ b/dev-cpp/drogon/Manifest
@@ -1,4 +1,6 @@
 DIST drogon-1.8.1.tar.gz 531042 BLAKE2B f12c76ddc0ad13b6ec154bdb39a2eb287f1be4df2b651cd95a50731c830592398e9cfdf921b71b7c76c2469d6f0e40ff9dbb5a67c5c0886a1c029a32355befb3 SHA512 ee7303350fd2b6d7a6ad283d0edcc5a7e6ef289652e3393699d9c4101308681f0124ebff6225de1665e86d2e2cf4c3192a17e70a204268e40d935acd097324a3
 DIST drogon-1.8.2.tar.gz 538230 BLAKE2B d4ad90ed6a32e6ada9d7d37409ab6f35e2a11e82b13b71a062f1f05ab3df50cf39a7e5d72ceadb6ae5886a90aeadf035d3dd4cf9fc379b3c1046c293cee3581e SHA512 f50252a59951570c87cc1254b1954ef275ee7b2a5cac229aba98b49f34f9f73314d2db9df0abc92efdfeab565f6c1ee14080e049d370384e3398b8c27f5519b7
+DIST drogon-1.8.3.tar.gz 543846 BLAKE2B 3faf24f0d3d9115ea463b38c285e43f098dab488df905cc0e467fec1dc981b1587d97112547eb5b5324775d5176a743ff55ebc383243b15efcab64accf9aba10 SHA512 48653f40b408cebe3e2b250df97c1819d090f85daa1f8d6b252aa6824a69f742762dbc1869a3aac378740dd01d0a2cf30af85779c5e56cffa82e2ad8a950fd83
+DIST trantor-1.5.10.tar.gz 112413 BLAKE2B 7ee04f57ba6f41edcc4c5334c63c7194e8a581edaec771ca6a2b2f6c444603da7a43d5ebf30ac89b9302f4302c4a54af9cee3c9532545345f0bf51b56b95dae3 SHA512 27ddc46b81747ba43f2abb5d6f3b82257ee6a7295f3cca3da0320dea2e6ef4b6276641a3fc3f61a082aa7ea360ee56663cebf4c6301ba79dcdbbdc96a450cb28
 DIST trantor-1.5.7.tar.gz 112139 BLAKE2B f0584b762c9c4f4e34eaec06f7438ef9bc587f5f6333ee9ee26a8c65f60bafc159f1b9b52a9079d5454824ec0911015274c4dcedaf102d1a09b3edc6a9cf06d5 SHA512 52fe66a5eb4a682abffe90b69b5ebf4f5791d07e020bf8bbe88317b3fddbc9f3c04b6a2664aa3ca1851c5c9681433f99e3851458bb9a99be89452382ca33e837
 DIST trantor-1.5.8.tar.gz 112315 BLAKE2B ee7b1805005fe33c8820fe84adf2af23a12e3758646fe18e681e2fc7a89109546f9bfa2b64cc03fd667a3d78d70377da31dfad67f76269b9afa3d9659163fee4 SHA512 6c90d3dbbc4e175500dfa8365dd42b1e260c5401b6551fb8f28e3673a6540b0937a66ca9f2ae0cc1ef6b1ba27c6232a053ef5402e5ef36835a51f841354de5c9

diff --git a/dev-cpp/drogon/drogon-1.8.3.ebuild b/dev-cpp/drogon/drogon-1.8.3.ebuild
new file mode 100644
index 000000000..bb44f9e87
--- /dev/null
+++ b/dev-cpp/drogon/drogon-1.8.3.ebuild
@@ -0,0 +1,90 @@
+# 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.10"
+
+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 +ssl test"
+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 )
+	ssl? ( dev-libs/openssl:= )
+	elibc_Darwin? ( sys-libs/native-uuid )
+	elibc_SunOS? ( sys-libs/libuuid )
+	!elibc_Darwin? ( !elibc_SunOS? (
+		sys-apps/util-linux
+	) )
+"
+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_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.pem \
+			${P}/trantor/trantor/tests/server.pem \
+			|| die "could not copy test certificate"
+	fi
+}
+
+src_prepare() {
+	use examples && DOCS+=( "${S}/examples" )
+
+	cmake_comment_add_subdirectory "trantor"
+
+	cmake_src_prepare
+}
+
+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)
+		$(cmake_use_find_package ssl OpenSSL)
+		$(cmake_use_find_package doc Doxygen)
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	docompress -x /usr/share/doc/${PF}/examples
+
+	cmake_src_install
+}


             reply	other threads:[~2023-01-29 11:39 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 11:39 Ronny Gutbrod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-21 15:16 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/drogon/ Ronny Gutbrod
2024-07-21 15:16 Ronny Gutbrod
2024-06-28  6:17 Ronny Gutbrod
2024-06-28  6:17 Ronny Gutbrod
2024-05-08 16:50 Ronny Gutbrod
2024-05-08 16:50 Ronny Gutbrod
2024-04-12 23:08 Ronny Gutbrod
2024-04-12 23:08 Ronny Gutbrod
2024-01-15 22:14 Ronny Gutbrod
2024-01-15 22:14 Ronny Gutbrod
2023-11-16 16:31 Ronny Gutbrod
2023-11-16 16:31 Ronny Gutbrod
2023-09-28 12:48 Ronny Gutbrod
2023-09-28 12:48 Ronny Gutbrod
2023-08-26 15:46 Ronny Gutbrod
2023-08-26 15:46 Ronny Gutbrod
2023-03-30 19:49 Ronny Gutbrod
2023-01-29 11:39 Ronny Gutbrod
2023-01-29 11:39 Ronny Gutbrod
2022-11-13  9:29 Ronny Gutbrod
2022-09-27 10:41 Ronny Gutbrod
2022-09-27 10:41 Ronny Gutbrod
2022-09-08  0:09 Ronny Gutbrod
2022-09-03 19:49 Ronny Gutbrod
2022-08-24 15:52 [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-08-19 15:49 ` [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-08-19 15:49 Ronny Gutbrod
2022-02-26  8:06 Ronny Gutbrod
2022-02-26  8:06 Ronny Gutbrod
2021-12-12 15:28 Ronny Gutbrod
2021-12-12 15:28 Ronny Gutbrod
2021-12-01 11:52 Anna Vyalkova
2021-10-26 15:51 Ronny Gutbrod
2021-10-25 18:52 Ronny Gutbrod
2021-10-20 19:07 Ronny Gutbrod
2021-08-24 15:01 Ronny Gutbrod
2021-08-24 14:33 Ronny Gutbrod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1674992346.4f2ee8a18a32db4a0df4c6a7d9550b1a636a7c78.tastytea@gentoo \
    --to=gentoo@tastytea.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox