From 904e501ae3ed374d8de2fb5a1fe696eefe129016 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 13 Apr 2024 19:08:31 +0000 Subject: Adding metadata --- dev-cpp/drogon/Manifest | 4 +- dev-cpp/drogon/drogon-1.9.0.ebuild | 87 ------------------------------ dev-cpp/drogon/drogon-1.9.3.ebuild | 92 ++++++++++++++++++++++++++++++++ dev-cpp/drogon/metadata.xml | 6 +-- dev-cpp/trantor/Manifest | 2 +- dev-cpp/trantor/trantor-1.5.14_p1.ebuild | 57 -------------------- dev-cpp/trantor/trantor-1.5.17.ebuild | 54 +++++++++++++++++++ 7 files changed, 151 insertions(+), 151 deletions(-) delete mode 100644 dev-cpp/drogon/drogon-1.9.0.ebuild create mode 100644 dev-cpp/drogon/drogon-1.9.3.ebuild delete mode 100644 dev-cpp/trantor/trantor-1.5.14_p1.ebuild create mode 100644 dev-cpp/trantor/trantor-1.5.17.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/drogon/Manifest b/dev-cpp/drogon/Manifest index 7029e49a979d..ebe27601d1b4 100644 --- a/dev-cpp/drogon/Manifest +++ b/dev-cpp/drogon/Manifest @@ -1,4 +1,4 @@ -DIST drogon-1.9.0.tar.gz 566471 BLAKE2B ce7b64748e8b8022527cdeeb4ad8f52e6179a3c6d80576eddd560bffac947fb7a8c4054410f455102fd07f4ff00a515edbcf6af0cb0af342f06fba7ee2c5a236 SHA512 2732bea50e913bb13b251c03da62e2935dcb8c2e48dcc85286bfe1bf1ecdefb4bfd712d1c6cf00daab15705be1c3b6851a4ee8b5a0c7b7d2341baa2d9500d8a5 DIST drogon-1.9.1.tar.gz 567917 BLAKE2B 2da1c1a433c19388eb6ed9a474369309b02d9200ae275c513923bcef19d2e5a8955c9361467f581ad1b2b65b0d183214b728a2c4280b8ca2f1a36091d5a4e2e7 SHA512 05666166e0b03a6f349a3811ea1014f6e7d8a42a5e749e478502461722a647c6170f5538a4cba9820c3135551d577276094cd96eb0997946c3a37787b531ac49 -DIST trantor-1.5.14.tar.gz 143236 BLAKE2B 843c67a3a4dedc8e476115438eae9a0ec99a6739fb5f29c79780c38d8d82dfe4b5add42d3c0c589c0be35662f7d24a89dfe037ac422fe8d53f00975b2a646f84 SHA512 468e5ffe9b47537992b9852ddec7714fb6e63147ff51ecfade7e1b0af02f5231ebc50b71d48d77c188f8d2af77c64c40fcbdc907f4f8d45d488aa2966f9406f9 +DIST drogon-1.9.3.tar.gz 611732 BLAKE2B a78a7f4e4e7bb3b650944f4ab2b50133e907d701df1cbb127ac646ea8006f441f05823254958ae8db3a3b3bc590d9b285d84679fb83e2228ab5a324825fcac6e SHA512 cb1ace1e6fcc9112c71c221d24b80dea62245b908037f5f1065b899c62142c568f0e3410a06210ddb599f7771b56ea8acd1c7b5070893f4effb07cfd4b61f8e4 DIST trantor-1.5.15.tar.gz 153133 BLAKE2B a69e46072269a8664d33d3b3b6575de07c645151a97f60bfe350d52972cf2b48c062a342c7b2ca57566fa213cc56b585b2fdf34b6d0a5f9c533d1c3f6bab2ba6 SHA512 f08bba448229d8121534cade55b74ac0d9cf5deb1c1116794c21fee37f8f8c3b3d5e6618d0806942a9bcf5eb30c87879ddaf1104417fb3fe14de0827670e03e8 +DIST trantor-1.5.17.tar.gz 155603 BLAKE2B 25631b3d8882cec58ff8eea2b449e805f846653d79af41a87b6ead6fff5c32dfc40559cdc734f51505a8ca1100b215cb8d66fa5fc5bf5baa96d6a3e93499a330 SHA512 43202240968b90d0e6d211d3b7a918567587e4ad26c360848efee2661cc1d49d35de408db5e2ff7314be879faac99ffa29ffa1f3735f9606d95874130db05250 diff --git a/dev-cpp/drogon/drogon-1.9.0.ebuild b/dev-cpp/drogon/drogon-1.9.0.ebuild deleted file mode 100644 index 637e4434b405..000000000000 --- a/dev-cpp/drogon/drogon-1.9.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# 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-text/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 -} diff --git a/dev-cpp/drogon/drogon-1.9.3.ebuild b/dev-cpp/drogon/drogon-1.9.3.ebuild new file mode 100644 index 000000000000..70912e1163b2 --- /dev/null +++ b/dev-cpp/drogon/drogon-1.9.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_TRANTOR_V="1.5.17" # NOTE: needs to be updated on each bump + +DESCRIPTION="C++14/17 based HTTP web application framework" +HOMEPAGE="https://github.com/drogonframework/drogon" +SRC_URI=" + https://github.com/drogonframework/drogon/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/an-tao/trantor/archive/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 spdlog 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 + ) ) + spdlog? ( + dev-libs/spdlog:= + dev-libs/libfmt:= + ) + yaml? ( dev-cpp/yaml-cpp:= ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" +BDEPEND="doc? ( app-text/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) + -DUSE_SPDLOG=$(usex spdlog) + ) + + cmake_src_configure +} + +src_install() { + use examples && DOCS+=( "${S}/examples" ) + docompress -x /usr/share/doc/${PF}/examples + + cmake_src_install +} diff --git a/dev-cpp/drogon/metadata.xml b/dev-cpp/drogon/metadata.xml index 7c87fd5523c1..70cfa03840e0 100644 --- a/dev-cpp/drogon/metadata.xml +++ b/dev-cpp/drogon/metadata.xml @@ -12,11 +12,9 @@ Enable support for brotli compression Add support for the mariadb database - - Add support for the Redis database via - dev-libs/hiredis - + Add support for the Redis database via dev-libs/hiredis Add support for yaml config file + enable dev-libs/spdlog logging backend gentoo-guru-overlay \ No newline at end of file diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest index 39004f492b25..8b7e5bf43f0e 100644 --- a/dev-cpp/trantor/Manifest +++ b/dev-cpp/trantor/Manifest @@ -1,2 +1,2 @@ -DIST trantor-1.5.14_p1.tar.gz 152566 BLAKE2B 09ea5e1d35d653073947e177a9630c93b235e84cdc66a69d4a944f656e957afe31206d7b6079b68f7517bfcd9619aa98e7e4bcc32c7873b01e7cfd94e0ea5704 SHA512 0725b66351a036f829499edb19be31f434ebea7133b129d994f3cb1a5e8c08844c181eab383b074bbcc8bf8efe7d761d12c593180d8ac07edf6dd8bde580578c DIST trantor-1.5.15.tar.gz 153133 BLAKE2B a69e46072269a8664d33d3b3b6575de07c645151a97f60bfe350d52972cf2b48c062a342c7b2ca57566fa213cc56b585b2fdf34b6d0a5f9c533d1c3f6bab2ba6 SHA512 f08bba448229d8121534cade55b74ac0d9cf5deb1c1116794c21fee37f8f8c3b3d5e6618d0806942a9bcf5eb30c87879ddaf1104417fb3fe14de0827670e03e8 +DIST trantor-1.5.17.tar.gz 155603 BLAKE2B 25631b3d8882cec58ff8eea2b449e805f846653d79af41a87b6ead6fff5c32dfc40559cdc734f51505a8ca1100b215cb8d66fa5fc5bf5baa96d6a3e93499a330 SHA512 43202240968b90d0e6d211d3b7a918567587e4ad26c360848efee2661cc1d49d35de408db5e2ff7314be879faac99ffa29ffa1f3735f9606d95874130db05250 diff --git a/dev-cpp/trantor/trantor-1.5.14_p1.ebuild b/dev-cpp/trantor/trantor-1.5.14_p1.ebuild deleted file mode 100644 index 4bd5d39b2586..000000000000 --- a/dev-cpp/trantor/trantor-1.5.14_p1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_COMMIT="f49cc3e5825812e8191e33da2264c76a75389f24" - -DESCRIPTION="Non-blocking I/O tcp network lib based on c++14/17" -HOMEPAGE="https://github.com/an-tao/trantor" -SRC_URI="https://github.com/an-tao/trantor/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_COMMIT}" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="adns doc +spdlog +ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - adns? ( net-dns/c-ares:= ) - ssl? ( dev-libs/openssl:= ) - spdlog? ( - dev-libs/spdlog:= - dev-libs/libfmt:= - ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" -BDEPEND="doc? ( app-text/doxygen[dot] )" - -src_prepare() { - sed -i 's/ -Werror)$/)/' CMakeLists.txt || die "could not remove -Werror" - cmake_src_prepare -} - -src_configure() { - local -a mycmakeargs=( - "-DBUILD_SHARED_LIBS=YES" - "-DBUILD_DOC=$(usex doc)" - "-DBUILD_TESTING=$(usex test)" - "-DBUILD_C-ARES=$(usex adns)" - "-DTRANTOR_USE_TLS=$(usex ssl openssl none)" - "-DUSE_SPDLOG=$(usex spdlog)" - ) - - cmake_src_configure -} - -src_install() { - use doc && HTML_DOCS="${BUILD_DIR}/docs/trantor/html/*" - - cmake_src_install -} diff --git a/dev-cpp/trantor/trantor-1.5.17.ebuild b/dev-cpp/trantor/trantor-1.5.17.ebuild new file mode 100644 index 000000000000..4a18bcd7bdca --- /dev/null +++ b/dev-cpp/trantor/trantor-1.5.17.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Non-blocking I/O tcp network lib based on c++14/17" +HOMEPAGE="https://github.com/an-tao/trantor" +SRC_URI="https://github.com/an-tao/trantor/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="adns doc +spdlog +ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + adns? ( net-dns/c-ares:= ) + ssl? ( dev-libs/openssl:= ) + spdlog? ( + dev-libs/spdlog:= + dev-libs/libfmt:= + ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" +BDEPEND="doc? ( app-text/doxygen[dot] )" + +src_prepare() { + sed -i 's/ -Werror)$/)/' CMakeLists.txt || die "could not remove -Werror" + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + "-DBUILD_SHARED_LIBS=YES" + "-DBUILD_DOC=$(usex doc)" + "-DBUILD_TESTING=$(usex test)" + "-DBUILD_C-ARES=$(usex adns)" + "-DTRANTOR_USE_TLS=$(usex ssl openssl none)" + "-DUSE_SPDLOG=$(usex spdlog)" + ) + + cmake_src_configure +} + +src_install() { + use doc && HTML_DOCS="${BUILD_DIR}/docs/trantor/html/*" + + cmake_src_install +} -- cgit v1.3