Compare commits
3 Commits
93be0dc744
...
77c495d604
Author | SHA1 | Date |
---|---|---|
Robert Förster | 77c495d604 | |
Robert Förster | 648f44fa3f | |
Robert Förster | ea6841e7e4 |
|
@ -28,7 +28,6 @@ IUSE=""
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||||
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
dev-python/dnspython[${PYTHON_USEDEP}]"
|
||||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
DIST timescaledb-2.3.1.tar.lzma 1256454 BLAKE2B 43ec4a5a5f802f2e096bfa126765b4e9b3f5b80bb08cae80f5a005767f4063c844b2b17a20de5cc494a9d9d19d2f8ff62af450cde2efbbb386e6c5ab0031dbaf SHA512 68c5af6265979d418559db3454adb75c83862bedba20f5a7014599374da659902d7c57a3f016e17c1e56a4907ab85b7bac7bfc97246ae895e01c48a4df1d3627
|
DIST timescaledb-2.3.1.tar.lzma 1256454 BLAKE2B 43ec4a5a5f802f2e096bfa126765b4e9b3f5b80bb08cae80f5a005767f4063c844b2b17a20de5cc494a9d9d19d2f8ff62af450cde2efbbb386e6c5ab0031dbaf SHA512 68c5af6265979d418559db3454adb75c83862bedba20f5a7014599374da659902d7c57a3f016e17c1e56a4907ab85b7bac7bfc97246ae895e01c48a4df1d3627
|
||||||
|
DIST timescaledb-2.4.1.tar.gz 2401410 BLAKE2B 752d484b03a59cde22f295d47a90d05bfc0674428dd2d03152dbf6604e10c0fb6780815666f65f4d2df58075f7911636c13a671504eed78642e211ceda8aba3d SHA512 54baced28eb20aa14c78605ce7828f7c48210125d9193c3e1c88e9ae81616b2baf37a1eb97c5eb0ddc9b6820d534d134ad047f3c7ace374e29191a42142f35a1
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
POSTGRES_COMPAT=( {12..13} )
|
||||||
|
POSTGRES_USEDEP="server,ssl?"
|
||||||
|
|
||||||
|
inherit cmake postgres-multi
|
||||||
|
|
||||||
|
DESCRIPTION="A time-series database optimized for fast ingest and complex queries"
|
||||||
|
HOMEPAGE="https://www.timescale.com/"
|
||||||
|
SRC_URI="https://github.com/timescale/${PN}/archive/refs/tags//${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0
|
||||||
|
tsl? ( timescale )"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="ssl +tsl"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="${POSTGRES_DEP}
|
||||||
|
ssl? ( dev-libs/openssl )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
postgres-multi_foreach cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
pg_src_configure () {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DUSE_OPENSSL=$(usex ssl ON OFF)
|
||||||
|
-DAPACHE_ONLY=$(usex tsl OFF ON)
|
||||||
|
-DWARNINGS_AS_ERRORS=OFF
|
||||||
|
-DSEND_TELEMETRY_DEFAULT=OFF
|
||||||
|
-DREGRESS_CHECKS=OFF
|
||||||
|
-DPG_CONFIG=${PG_CONFIG}
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
postgres-multi_foreach pg_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
postgres-multi_foreach cmake_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
postgres-multi_foreach cmake_src_install
|
||||||
|
|
||||||
|
find "${ED}" -name '*.a' -delete
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
inherit cmake python-single-r1
|
inherit cmake python-single-r1
|
||||||
|
|
||||||
|
@ -13,8 +13,7 @@ DESCRIPTION="An advanced IRC Bouncer"
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
if [[ ${PV} == *9999* ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/znc/znc.git"}
|
EGIT_REPO_URI="https://github.com/znc/znc.git"
|
||||||
SRC_URI=""
|
|
||||||
else
|
else
|
||||||
MY_PV=${PV/_/-}
|
MY_PV=${PV/_/-}
|
||||||
MY_P=${PN}-${MY_PV}
|
MY_P=${PN}-${MY_PV}
|
||||||
|
@ -28,7 +27,7 @@ fi
|
||||||
|
|
||||||
HOMEPAGE="https://znc.in"
|
HOMEPAGE="https://znc.in"
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
# "If you upgrade your ZNC version you must recompile all your modules."
|
# "If you upgrade your ZNC version, you must recompile all your modules."
|
||||||
# - https://wiki.znc.in/Compiling_modules
|
# - https://wiki.znc.in/Compiling_modules
|
||||||
SLOT="0/${PV}"
|
SLOT="0/${PV}"
|
||||||
IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
|
IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
|
||||||
|
@ -36,17 +35,7 @@ RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
|
||||||
|
|
||||||
DEPEND="
|
# perl is a build-time dependency of modpython
|
||||||
icu? ( dev-libs/icu:= )
|
|
||||||
nls? ( dev-libs/boost:=[nls] )
|
|
||||||
perl? ( >=dev-lang/perl-5.10:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
|
||||||
ssl? ( dev-libs/openssl:0= )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
zlib? ( sys-libs/zlib:0= )
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
nls? ( sys-devel/gettext )
|
nls? ( sys-devel/gettext )
|
||||||
|
@ -63,8 +52,20 @@ BDEPEND="
|
||||||
dev-qt/qtnetwork:5
|
dev-qt/qtnetwork:5
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
DEPEND="
|
||||||
|
icu? ( dev-libs/icu:= )
|
||||||
|
nls? ( dev-libs/boost:=[nls] )
|
||||||
|
perl? ( >=dev-lang/perl-5.10:= )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||||
|
ssl? ( dev-libs/openssl:0= )
|
||||||
|
tcl? ( dev-lang/tcl:0= )
|
||||||
|
zlib? ( sys-libs/zlib:0= )
|
||||||
|
"
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-1.7.1-inttest-dir.patch )
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.7.1-inttest-dir.patch
|
||||||
|
)
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
if use python; then
|
if use python; then
|
||||||
|
@ -82,6 +83,8 @@ src_prepare() {
|
||||||
sed -i -e "s|DZNC_BIN_DIR:path=|DZNC_BIN_DIR:path=${T}/inttest|" \
|
sed -i -e "s|DZNC_BIN_DIR:path=|DZNC_BIN_DIR:path=${T}/inttest|" \
|
||||||
test/CMakeLists.txt || die
|
test/CMakeLists.txt || die
|
||||||
|
|
||||||
|
sed -i "s|--datadir=|&${EPREFIX}|" znc.service.in || die
|
||||||
|
|
||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,6 +95,7 @@ src_configure() {
|
||||||
-DWANT_I18N="$(usex nls)"
|
-DWANT_I18N="$(usex nls)"
|
||||||
-DWANT_PERL="$(usex perl)"
|
-DWANT_PERL="$(usex perl)"
|
||||||
-DWANT_PYTHON="$(usex python)"
|
-DWANT_PYTHON="$(usex python)"
|
||||||
|
-DWANT_PYTHON_VERSION="${EPYTHON#python}"
|
||||||
-DWANT_CYRUS="$(usex sasl)"
|
-DWANT_CYRUS="$(usex sasl)"
|
||||||
-DWANT_OPENSSL="$(usex ssl)"
|
-DWANT_OPENSSL="$(usex ssl)"
|
||||||
-DWANT_TCL="$(usex tcl)"
|
-DWANT_TCL="$(usex tcl)"
|
||||||
|
|
Loading…
Reference in New Issue