mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-cpp/drogon: drop 1.9.1
Signed-off-by: tastytea <gentoo@tastytea.de>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
DIST drogon-1.9.1.tar.gz 567917 BLAKE2B 2da1c1a433c19388eb6ed9a474369309b02d9200ae275c513923bcef19d2e5a8955c9361467f581ad1b2b65b0d183214b728a2c4280b8ca2f1a36091d5a4e2e7 SHA512 05666166e0b03a6f349a3811ea1014f6e7d8a42a5e749e478502461722a647c6170f5538a4cba9820c3135551d577276094cd96eb0997946c3a37787b531ac49
|
||||
DIST drogon-1.9.3.tar.gz 611732 BLAKE2B a78a7f4e4e7bb3b650944f4ab2b50133e907d701df1cbb127ac646ea8006f441f05823254958ae8db3a3b3bc590d9b285d84679fb83e2228ab5a324825fcac6e SHA512 cb1ace1e6fcc9112c71c221d24b80dea62245b908037f5f1065b899c62142c568f0e3410a06210ddb599f7771b56ea8acd1c7b5070893f4effb07cfd4b61f8e4
|
||||
DIST drogon-1.9.4.tar.gz 612364 BLAKE2B d22d594f64423ee2db271f8b0b7242bffb0d9099e0aad9a6806e3d036d89f992da05dc26d3d2652bc5e2838524f031552913a32eb092ea49b4c9c656c687eae2 SHA512 0c58ed45aacbfd1916bbd9c52ecbd203abdc1032c7d6f908750a188443e293d749705d35c2b56eab54e30f36cc606b2437889e11a482ebda34d36035e8221499
|
||||
DIST trantor-1.5.15.tar.gz 153133 BLAKE2B a69e46072269a8664d33d3b3b6575de07c645151a97f60bfe350d52972cf2b48c062a342c7b2ca57566fa213cc56b585b2fdf34b6d0a5f9c533d1c3f6bab2ba6 SHA512 f08bba448229d8121534cade55b74ac0d9cf5deb1c1116794c21fee37f8f8c3b3d5e6618d0806942a9bcf5eb30c87879ddaf1104417fb3fe14de0827670e03e8
|
||||
DIST trantor-1.5.17.tar.gz 155603 BLAKE2B 25631b3d8882cec58ff8eea2b449e805f846653d79af41a87b6ead6fff5c32dfc40559cdc734f51505a8ca1100b215cb8d66fa5fc5bf5baa96d6a3e93499a330 SHA512 43202240968b90d0e6d211d3b7a918567587e4ad26c360848efee2661cc1d49d35de408db5e2ff7314be879faac99ffa29ffa1f3735f9606d95874130db05250
|
||||
DIST trantor-1.5.18.tar.gz 155626 BLAKE2B 7fdd5fdd310b783dbc23be7e3594fe3e4e5135c1fcd7c9c96e153ff28397e543a4be50153e54f4a4f648de21d6c9ca5ffa85518806b7e6d91485956f3b3627b3 SHA512 2dba27efad95155a76968959d9bd2510be8502b9424716493f385aebbce2481553cc8fae283076029aed4bef6f0aadb0bec3f9acb98fbca3ef4d49b936558f8c
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# 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.15" # 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 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-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
|
||||
}
|
||||
Reference in New Issue
Block a user