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: Thu, 16 Nov 2023 16:31:54 +0000 (UTC)	[thread overview]
Message-ID: <1700152302.adaea5b7658dc8a0b5c0aa113fec1be74154d811.tastytea@gentoo> (raw)

commit:     adaea5b7658dc8a0b5c0aa113fec1be74154d811
Author:     tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Nov 16 16:30:46 2023 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Nov 16 16:31:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=adaea5b7

dev-cpp/drogon: add 1.9.0

Signed-off-by: tastytea <gentoo <AT> tastytea.de>

 dev-cpp/drogon/Manifest            |  2 +
 dev-cpp/drogon/drogon-1.9.0.ebuild | 87 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest
index f5cacccdbf..46d9342302 100644
--- a/dev-cpp/drogon/Manifest
+++ b/dev-cpp/drogon/Manifest
@@ -1,3 +1,5 @@
 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 drogon-1.9.0.tar.gz 566471 BLAKE2B ce7b64748e8b8022527cdeeb4ad8f52e6179a3c6d80576eddd560bffac947fb7a8c4054410f455102fd07f4ff00a515edbcf6af0cb0af342f06fba7ee2c5a236 SHA512 2732bea50e913bb13b251c03da62e2935dcb8c2e48dcc85286bfe1bf1ecdefb4bfd712d1c6cf00daab15705be1c3b6851a4ee8b5a0c7b7d2341baa2d9500d8a5
 DIST trantor-1.5.13.tar.gz 143230 BLAKE2B 298870f3b132d4dbacbab88b9689fd2e8fec7450dcca82fc985393b718a701008debea7a50f2d7814871a9399bb423f21b9a9454de59468f7bfade51b70a283d SHA512 4f4cef4103faa323e5213c1b59c0d86606831e97127594d5c9248481ba4ce66905c40c25c5d83d00e78936d53ba03b8450e6848199a85e9120bb8f2522bf7805
+DIST trantor-1.5.14.tar.gz 143236 BLAKE2B 843c67a3a4dedc8e476115438eae9a0ec99a6739fb5f29c79780c38d8d82dfe4b5add42d3c0c589c0be35662f7d24a89dfe037ac422fe8d53f00975b2a646f84 SHA512 468e5ffe9b47537992b9852ddec7714fb6e63147ff51ecfade7e1b0af02f5231ebc50b71d48d77c188f8d2af77c64c40fcbdc907f4f8d45d488aa2966f9406f9

diff --git a/dev-cpp/drogon/drogon-1.9.0.ebuild b/dev-cpp/drogon/drogon-1.9.0.ebuild
new file mode 100644
index 0000000000..76ff8fa0f5
--- /dev/null
+++ b/dev-cpp/drogon/drogon-1.9.0.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.14"
+
+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}_p1:=
+	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
+}


             reply	other threads:[~2023-11-16 16:31 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-16 16:31 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-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
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=1700152302.adaea5b7658dc8a0b5c0aa113fec1be74154d811.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