parent
0de4aec203
commit
5f2fb5dd50
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,39 @@
|
|||||||
|
From 873d4759aa7b0581bf34e8a7ebfcbeca789ed6e1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Florian Schmaus <flo@geekplace.eu>
|
||||||
|
Date: Tue, 16 May 2023 09:56:48 +0200
|
||||||
|
Subject: [PATCH] m4/ptyfuncs.m4 tools/configure: add linux headers for pty
|
||||||
|
functions
|
||||||
|
|
||||||
|
To avoid implicit function declarations, which will cause an error on
|
||||||
|
modern compilers. See https://wiki.gentoo.org/wiki/Modern_C_porting
|
||||||
|
|
||||||
|
Downstream Gentoo bug: https://bugs.gentoo.org/904449
|
||||||
|
|
||||||
|
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
|
||||||
|
--- a/m4/ptyfuncs.m4
|
||||||
|
+++ b/m4/ptyfuncs.m4
|
||||||
|
@@ -19,6 +19,9 @@ AC_DEFUN([AX_CHECK_PTYFUNCS], [
|
||||||
|
AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||||
|
#ifdef INCLUDE_LIBUTIL_H
|
||||||
|
#include INCLUDE_LIBUTIL_H
|
||||||
|
+#else
|
||||||
|
+#include <pty.h>
|
||||||
|
+#include <utmp.h>
|
||||||
|
#endif
|
||||||
|
int main(void) {
|
||||||
|
openpty(0,0,0,0,0);
|
||||||
|
--- a/tools/configure
|
||||||
|
+++ b/tools/configure
|
||||||
|
@@ -9002,6 +9002,9 @@ See \`config.log' for more details" "$LINENO" 5; }
|
||||||
|
|
||||||
|
#ifdef INCLUDE_LIBUTIL_H
|
||||||
|
#include INCLUDE_LIBUTIL_H
|
||||||
|
+#else
|
||||||
|
+#include <pty.h>
|
||||||
|
+#include <utmp.h>
|
||||||
|
#endif
|
||||||
|
int main(void) {
|
||||||
|
openpty(0,0,0,0,0);
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST mgorny-dev-scripts-37.tar.gz 12407 BLAKE2B 49e01dc5318c473fdf99b046c7bf8e9939aa3bcade8a481f1418878733c55777fea5a6a471bedd1b1af8009a32ec94ce3cc904f278382fd5060b69a8e276e734 SHA512 c5fc03f0e5fe0f491ada2c4eb1305f215ca33f7d0778a0423cb8e4973a5370b7da2153c0b86acfec1a7672c290acc77782f37fe95ebeb3d6b86436435eda2c95
|
DIST mgorny-dev-scripts-37.tar.gz 12407 BLAKE2B 49e01dc5318c473fdf99b046c7bf8e9939aa3bcade8a481f1418878733c55777fea5a6a471bedd1b1af8009a32ec94ce3cc904f278382fd5060b69a8e276e734 SHA512 c5fc03f0e5fe0f491ada2c4eb1305f215ca33f7d0778a0423cb8e4973a5370b7da2153c0b86acfec1a7672c290acc77782f37fe95ebeb3d6b86436435eda2c95
|
||||||
DIST mgorny-dev-scripts-38.tar.gz 12415 BLAKE2B 0312791a40032a7f395ee3bc77266c2fd02a77d5b071a33ef4dd28d8d29adb7f473d8775b640c9cf7891bcca4f0808c14267522e521193c32d176561763119ed SHA512 0ecd35e07100fc01a0d9b1e22fc3582f28e0c14ceafec58479fae861525a3f1d2311d64b91a6d7c3e510a161f6776e4a34f8eafb46b46fc1d906c378b86a11cb
|
DIST mgorny-dev-scripts-38.tar.gz 12415 BLAKE2B 0312791a40032a7f395ee3bc77266c2fd02a77d5b071a33ef4dd28d8d29adb7f473d8775b640c9cf7891bcca4f0808c14267522e521193c32d176561763119ed SHA512 0ecd35e07100fc01a0d9b1e22fc3582f28e0c14ceafec58479fae861525a3f1d2311d64b91a6d7c3e510a161f6776e4a34f8eafb46b46fc1d906c378b86a11cb
|
||||||
|
DIST mgorny-dev-scripts-39.tar.gz 12471 BLAKE2B 7457190873143cf902d077f43e4bf116ffd5c35d2a99343819e301cd1580ca39430bd8c68281cfe59cc2d415fb4ab7d4e89416a89baa7dd7473cae5d101d81ed SHA512 518ee649cb159059536205dad392035ba41bd68f6b0c69f40f18cee62844ec50253dcc4da759e4e4dd101f0ce022504c0db5c5a33938b19ce676504e76a3d1fe
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 2019-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Handy scripts for ebuild development and more"
|
||||||
|
HOMEPAGE="https://github.com/projg2/mgorny-dev-scripts/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/projg2/mgorny-dev-scripts/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-portage/gentoolkit
|
||||||
|
app-portage/portage-utils
|
||||||
|
dev-perl/URI
|
||||||
|
dev-util/pkgcheck
|
||||||
|
dev-vcs/git
|
||||||
|
net-misc/wget
|
||||||
|
sys-apps/portage
|
||||||
|
x11-misc/xdg-utils
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc README.rst
|
||||||
|
rm -f COPYING README.rst || die
|
||||||
|
dobin *
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,16 +0,0 @@
|
|||||||
diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
|
|
||||||
index 7b15bb56..4d8f73ad 100644
|
|
||||||
--- a/src/mongo/stdx/thread.h
|
|
||||||
+++ b/src/mongo/stdx/thread.h
|
|
||||||
@@ -105,10 +105,7 @@ private:
|
|
||||||
// . N Y : 4,344 | 13,048 | 7,352
|
|
||||||
// . Y Y : 4,424 | 13,672 | 8,392
|
|
||||||
// ( https://jira.mongodb.org/secure/attachment/233569/233569_stacktrace-writeup.txt )
|
|
||||||
- static constexpr std::size_t kMongoMinSignalStackSize = std::size_t{64} << 10;
|
|
||||||
-
|
|
||||||
- static constexpr std::size_t kStackSize =
|
|
||||||
- std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ});
|
|
||||||
+ static constexpr std::size_t kStackSize = std::size_t{64} << 10;
|
|
||||||
std::unique_ptr<std::byte[]> _stackStorage = std::make_unique<std::byte[]>(kStackSize);
|
|
||||||
|
|
||||||
#else // !MONGO_HAS_SIGALTSTACK
|
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=High-performance, schema-free document-oriented database
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=mongodb
|
|
||||||
ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,187 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..10} )
|
|
||||||
|
|
||||||
SCONS_MIN_VERSION="3.3.1"
|
|
||||||
CHECKREQS_DISK_BUILD="2400M"
|
|
||||||
CHECKREQS_DISK_USR="512M"
|
|
||||||
CHECKREQS_MEMORY="1024M"
|
|
||||||
|
|
||||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
|
||||||
|
|
||||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
|
||||||
|
|
||||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
|
||||||
HOMEPAGE="https://www.mongodb.com"
|
|
||||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 SSPL-1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 -riscv"
|
|
||||||
IUSE="debug kerberos lto ssl test +tools"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="acct-group/mongodb
|
|
||||||
acct-user/mongodb
|
|
||||||
>=app-arch/snappy-1.1.3:=
|
|
||||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
|
||||||
dev-libs/boost:=[nls]
|
|
||||||
>=dev-libs/libpcre-8.42[cxx]
|
|
||||||
app-arch/zstd:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
net-libs/libpcap
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
|
||||||
ssl? (
|
|
||||||
>=dev-libs/openssl-1.0.1g:0=
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/readline:0=
|
|
||||||
debug? ( dev-util/valgrind )"
|
|
||||||
BDEPEND="
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
|
||||||
>=dev-util/scons-3.1.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
PDEPEND="tools? ( >=app-admin/mongo-tools-100 )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-4.4.1-fix-scons.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.8-no-compass.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.1-boost.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.10-boost-1.79.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.10-no-force-lld.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.10-boost-1.81.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
if use test; then
|
|
||||||
python_has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
|
|
||||||
python_has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
python_has_version ">=dev-util/scons-3.1.1[${PYTHON_USEDEP}]" &&
|
|
||||||
python_has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
|
||||||
python_has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
|
||||||
python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
|
||||||
if ver_test "$REPLACING_VERSIONS" -lt 4.2; then
|
|
||||||
ewarn "To upgrade from a version earlier than the 4.2-series, you must"
|
|
||||||
ewarn "successively upgrade major releases until you have upgraded"
|
|
||||||
ewarn "to 4.2-series. Then upgrade to 4.4 series."
|
|
||||||
else
|
|
||||||
ewarn "Be sure to set featureCompatibilityVersion to 4.2 before upgrading."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# remove bundled libs
|
|
||||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*} || die
|
|
||||||
|
|
||||||
# remove compass
|
|
||||||
rm -r src/mongo/installer/compass || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
|
||||||
# --use-system-icu fails tests
|
|
||||||
# --use-system-tcmalloc is strongly NOT recommended:
|
|
||||||
scons_opts=(
|
|
||||||
AR="$(tc-getAR)"
|
|
||||||
CC="$(tc-getCC)"
|
|
||||||
CXX="$(tc-getCXX)"
|
|
||||||
|
|
||||||
--disable-warnings-as-errors
|
|
||||||
--use-system-boost
|
|
||||||
--use-system-pcre
|
|
||||||
--use-system-snappy
|
|
||||||
--use-system-stemmer
|
|
||||||
--use-system-yaml
|
|
||||||
--use-system-zlib
|
|
||||||
--use-system-zstd
|
|
||||||
)
|
|
||||||
|
|
||||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
|
||||||
use debug && scons_opts+=( --dbg=on )
|
|
||||||
use kerberos && scons_opts+=( --use-sasl-client )
|
|
||||||
use lto && scons_opts+=( --lto=on )
|
|
||||||
use ssl && scons_opts+=( --ssl )
|
|
||||||
|
|
||||||
# Needed to avoid forcing FORTIFY_SOURCE
|
|
||||||
# Gentoo's toolchain applies these anyway
|
|
||||||
scons_opts+=( --runtime-hardening=off )
|
|
||||||
|
|
||||||
# respect mongoDB upstream's basic recommendations
|
|
||||||
# see bug #536688 and #526114
|
|
||||||
if ! use debug; then
|
|
||||||
filter-flags '-m*'
|
|
||||||
filter-flags '-O?'
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
PREFIX="${EPREFIX}/usr" escons "${scons_opts[@]}" --nostrip install-core
|
|
||||||
}
|
|
||||||
|
|
||||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
|
||||||
src_test() {
|
|
||||||
ewarn "Tests may hang with FEATURES=usersandbox"
|
|
||||||
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin build/install/bin/{mongo,mongod,mongos}
|
|
||||||
|
|
||||||
doman debian/mongo*.1
|
|
||||||
dodoc README docs/building.md
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
|
||||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
|
||||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
|
||||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
|
||||||
|
|
||||||
# see bug #526114
|
|
||||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
|
||||||
|
|
||||||
local x
|
|
||||||
for x in /var/{lib,log}/${PN}; do
|
|
||||||
diropts -m0750 -o mongodb -g mongodb
|
|
||||||
keepdir "${x}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
|
||||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
|
||||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
|
||||||
}
|
|
@ -1,194 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..10} )
|
|
||||||
|
|
||||||
SCONS_MIN_VERSION="3.3.1"
|
|
||||||
CHECKREQS_DISK_BUILD="2400M"
|
|
||||||
CHECKREQS_DISK_USR="512M"
|
|
||||||
CHECKREQS_MEMORY="1024M"
|
|
||||||
|
|
||||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
|
||||||
|
|
||||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
|
||||||
|
|
||||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
|
||||||
HOMEPAGE="https://www.mongodb.com"
|
|
||||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 SSPL-1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 -riscv"
|
|
||||||
CPU_FLAGS="cpu_flags_x86_avx"
|
|
||||||
IUSE="debug kerberos lto mongosh ssl +tools ${CPU_FLAGS}"
|
|
||||||
|
|
||||||
# https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server
|
|
||||||
# resmoke needs python packages not yet present in Gentoo
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="acct-group/mongodb
|
|
||||||
acct-user/mongodb
|
|
||||||
>=app-arch/snappy-1.1.3:=
|
|
||||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
|
||||||
dev-libs/boost:=[nls]
|
|
||||||
>=dev-libs/libpcre-8.42[cxx]
|
|
||||||
app-arch/zstd:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
net-libs/libpcap
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
|
||||||
ssl? (
|
|
||||||
>=dev-libs/openssl-1.0.1g:0=
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/readline:0=
|
|
||||||
debug? ( dev-util/valgrind )"
|
|
||||||
BDEPEND="
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
>=dev-util/scons-3.1.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
mongosh? ( app-admin/mongosh-bin )
|
|
||||||
tools? ( >=app-admin/mongo-tools-100 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-4.4.1-boost.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.2-fix-scons.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.2-no-compass.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.2-skip-no-exceptions.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.2-skip-reqs-check.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.2-boost-1.79.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.5-no-force-lld.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.10-boost-1.81.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.0.5-boost-1.81-extra.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.4.8-gcc-13.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
python_has_version ">=dev-util/scons-3.1.1[${PYTHON_USEDEP}]" &&
|
|
||||||
python_has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
|
||||||
python_has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
|
||||||
python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
# Bug 809692
|
|
||||||
if use amd64 && ! use cpu_flags_x86_avx; then
|
|
||||||
eerror "MongoDB 5.0 requires use of the AVX instruction set"
|
|
||||||
eerror "https://docs.mongodb.com/v5.0/administration/production-notes/"
|
|
||||||
die "MongoDB requires AVX"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
|
||||||
if ver_test "$REPLACING_VERSIONS" -lt 4.4; then
|
|
||||||
ewarn "To upgrade from a version earlier than the 4.4-series, you must"
|
|
||||||
ewarn "successively upgrade major releases until you have upgraded"
|
|
||||||
ewarn "to 4.4-series. Then upgrade to 5.0 series."
|
|
||||||
else
|
|
||||||
ewarn "Be sure to set featureCompatibilityVersion to 4.4 before upgrading."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# remove bundled libs
|
|
||||||
rm -r src/third_party/{boost,pcre-*,snappy-*,yaml-cpp,zlib-*} || die
|
|
||||||
|
|
||||||
# remove compass
|
|
||||||
rm -r src/mongo/installer/compass || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
|
||||||
# --use-system-icu fails tests
|
|
||||||
# --use-system-tcmalloc is strongly NOT recommended:
|
|
||||||
scons_opts=(
|
|
||||||
AR="$(tc-getAR)"
|
|
||||||
CC="$(tc-getCC)"
|
|
||||||
CXX="$(tc-getCXX)"
|
|
||||||
|
|
||||||
--disable-warnings-as-errors
|
|
||||||
--jobs="$(makeopts_jobs)"
|
|
||||||
--use-system-boost
|
|
||||||
--use-system-pcre
|
|
||||||
--use-system-snappy
|
|
||||||
--use-system-stemmer
|
|
||||||
--use-system-yaml
|
|
||||||
--use-system-zlib
|
|
||||||
--use-system-zstd
|
|
||||||
)
|
|
||||||
|
|
||||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
|
||||||
use debug && scons_opts+=( --dbg=on )
|
|
||||||
use kerberos && scons_opts+=( --use-sasl-client )
|
|
||||||
use lto && scons_opts+=( --lto=on )
|
|
||||||
|
|
||||||
scons_opts+=( --ssl=$(usex ssl on off) )
|
|
||||||
|
|
||||||
# Needed to avoid forcing FORTIFY_SOURCE
|
|
||||||
# Gentoo's toolchain applies these anyway
|
|
||||||
scons_opts+=( --runtime-hardening=off )
|
|
||||||
|
|
||||||
# respect mongoDB upstream's basic recommendations
|
|
||||||
# see bug #536688 and #526114
|
|
||||||
if ! use debug; then
|
|
||||||
filter-flags '-m*'
|
|
||||||
filter-flags '-O?'
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
PREFIX="${EPREFIX}/usr" ./buildscripts/scons.py "${scons_opts[@]}" install-core || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin build/install/bin/{mongo,mongod,mongos}
|
|
||||||
|
|
||||||
doman debian/mongo*.1
|
|
||||||
dodoc README docs/building.md
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
|
||||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
|
||||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
|
||||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
|
||||||
|
|
||||||
# see bug #526114
|
|
||||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
|
||||||
|
|
||||||
local x
|
|
||||||
for x in /var/{lib,log}/${PN}; do
|
|
||||||
diropts -m0750 -o mongodb -g mongodb
|
|
||||||
keepdir "${x}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
|
||||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
|
||||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST alembic-1.10.4.tar.gz 1152769 BLAKE2B f940dec295f362cdb63bdb0326c5438734189518188e9de01d2aa164b3d51ac6d00ca960bae9fc539ac19b2c82982e907fa705efd02d30cd08d5a9f8d0ab2ae3 SHA512 bf49aff7d04fbbc966df351451dacd921c3b292313c1077d6b02a2679aeeef086313cd11ede8880c056950f8359bd9ab6e3f5219ae859e48d0298aeb8ea9e398
|
DIST alembic-1.10.4.tar.gz 1152769 BLAKE2B f940dec295f362cdb63bdb0326c5438734189518188e9de01d2aa164b3d51ac6d00ca960bae9fc539ac19b2c82982e907fa705efd02d30cd08d5a9f8d0ab2ae3 SHA512 bf49aff7d04fbbc966df351451dacd921c3b292313c1077d6b02a2679aeeef086313cd11ede8880c056950f8359bd9ab6e3f5219ae859e48d0298aeb8ea9e398
|
||||||
|
DIST alembic-1.11.0.tar.gz 1172377 BLAKE2B ec29af312516a6d2cf9168994efbfa89e2bc3d11294573138f5e145c51587f1ab5dd07f9da95ae7d8885de2618159b5566dbfbdec9c64495cc086d0d157c9105 SHA512 d3d38887835a632e3129e8fde1449f91c60ffba575b7e0c568303ac4e1fd6ddeecf8c93540b65fd827ce2c08e377820278ed8ce1a80df69968145fc16267e266
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/sqlalchemy/alembic/
|
||||||
|
https://pypi.org/project/alembic/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mako[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-editor-0.3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/typing-extensions-4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/. )
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYPI_NO_NORMALIZE=1
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Contains functions that facilitate working with various versions of Ansible"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/ansible-compat/
|
||||||
|
https://github.com/ansible/ansible-compat/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-admin/ansible-core-2.12[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-plus[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
# All these tests attempt to connect to galaxy.ansible.com
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
test/test_runtime.py::test_install_collection
|
||||||
|
test/test_runtime.py::test_install_collection_dest
|
||||||
|
test/test_runtime.py::test_prepare_environment_with_collections
|
||||||
|
test/test_runtime.py::test_prerun_reqs_v1
|
||||||
|
test/test_runtime.py::test_prerun_reqs_v2
|
||||||
|
test/test_runtime.py::test_require_collection_no_cache_dir
|
||||||
|
test/test_runtime.py::test_require_collection_wrong_version
|
||||||
|
test/test_runtime.py::test_require_collection
|
||||||
|
test/test_runtime.py::test_upgrade_collection
|
||||||
|
test/test_runtime_example.py::test_runtime
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,4 +1,3 @@
|
|||||||
DIST dask-2023.3.2.gh.tar.gz 8525841 BLAKE2B 660f3687320c0d56abe437bf7edea2f40fe624a3f48761238b00756f61358d73d47a570399ed70f6f1f2188cb03b04fc10e5c9683e2a49c6b73a21c35173e1dc SHA512 ef1a961a50e69a32aea14630e9d19fc92646e9f520fa265937bb923aeba5932397840b2971bfb9a47125672ac2bd9b0b6a017b650708a183b3bf6c0c345e2af2
|
|
||||||
DIST dask-2023.4.0.gh.tar.gz 8511473 BLAKE2B 3b6a4e07e0ddc1a40b9494089250e80254b16002c18b091911aa007e1e455f146a192e5f8f9c49b5cf73bc60d942429e1d5ff399516f2b81120ae8f4d79b1dbb SHA512 40071fc3f5597312af28a5c545ebb14d2e2aa3d1a3a0a5d81d335fce3a7a8e7036c900a1caa43f84f76335c469b1bf138f662588f0d015943c4a4bf931c20349
|
DIST dask-2023.4.0.gh.tar.gz 8511473 BLAKE2B 3b6a4e07e0ddc1a40b9494089250e80254b16002c18b091911aa007e1e455f146a192e5f8f9c49b5cf73bc60d942429e1d5ff399516f2b81120ae8f4d79b1dbb SHA512 40071fc3f5597312af28a5c545ebb14d2e2aa3d1a3a0a5d81d335fce3a7a8e7036c900a1caa43f84f76335c469b1bf138f662588f0d015943c4a4bf931c20349
|
||||||
DIST dask-2023.4.1.gh.tar.gz 8514681 BLAKE2B 5bdf8e81692f16b16f3c38ac45e309f73bf85b51aa3c2d9edaae36dc1d43b96a91a8f79e5219ea2a380d26f75c0954dec507b5913b74fdfabe691b340656c75f SHA512 e640ec2bb532dd2723db1c51a023b62aba1198a393beea8eec359f47388a2a42e7a0fe20d06f393ba0538b86fe2f6e0d29eb00eada9cf4ca22acc45b80062dc9
|
DIST dask-2023.4.1.gh.tar.gz 8514681 BLAKE2B 5bdf8e81692f16b16f3c38ac45e309f73bf85b51aa3c2d9edaae36dc1d43b96a91a8f79e5219ea2a380d26f75c0954dec507b5913b74fdfabe691b340656c75f SHA512 e640ec2bb532dd2723db1c51a023b62aba1198a393beea8eec359f47388a2a42e7a0fe20d06f393ba0538b86fe2f6e0d29eb00eada9cf4ca22acc45b80062dc9
|
||||||
DIST dask-2023.5.0.gh.tar.gz 8515830 BLAKE2B b703407b238057be5238dce1987b280e6e5a38389091b6c9bd08ee06a042309e69fa20d2f511b35a7c74982fc91115507da3c125c74df16ebfbee97fc1782a77 SHA512 12381da648753e675920c29f2071b962319fa7a653b0f75cf9f5e6cd1319d8c2f9d2cac74de1097b5f162886a46499b90787f16bb22526f5bf6c1e6449f1629a
|
DIST dask-2023.5.0.gh.tar.gz 8515830 BLAKE2B b703407b238057be5238dce1987b280e6e5a38389091b6c9bd08ee06a042309e69fa20d2f511b35a7c74982fc91115507da3c125c74df16ebfbee97fc1782a77 SHA512 12381da648753e675920c29f2071b962319fa7a653b0f75cf9f5e6cd1319d8c2f9d2cac74de1097b5f162886a46499b90787f16bb22526f5bf6c1e6449f1629a
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{10..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://www.dask.org/
|
|
||||||
https://github.com/dask/dask/
|
|
||||||
https://pypi.org/project/dask/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/numpy-1.21[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pandas-1.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/partd-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/toolz-0.8.2[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/toolz[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/moto[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
|
||||||
dev-python/scipy[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
|
||||||
# more tests relying on -Werror
|
|
||||||
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
|
|
||||||
dask/array/tests/test_random.py::test_RandomState_only_funcs
|
|
||||||
# TODO
|
|
||||||
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
|
|
||||||
dask/tests/test_config.py::test__get_paths
|
|
||||||
dask/array/tests/test_linalg.py::test_solve_assume_a
|
|
||||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]"
|
|
||||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]"
|
|
||||||
# require sqlalchemy<2.0
|
|
||||||
dask/dataframe/io/tests/test_sql.py
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# fails with sqlalchemy-2.0, even though we don't use it x_x
|
|
||||||
sed -i -e '/RemovedIn20Warning/d' setup.cfg || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest -p no:flaky -m "not network"
|
|
||||||
}
|
|
@ -1,5 +1 @@
|
|||||||
DIST pip-22.3.1-py3-none-any.whl 2051534 BLAKE2B b15f5eac6b3d8d12b382aabfb7fc920bea564be7f9133050d7cb0b4627a92c1de19676dced6bcb79971701898bb1606f3ea1b44349ab35527de90936c0057c71 SHA512 f09c2a48e85108514c20fdc58466b9be6a9b7f234241ccd46e23249f690bd1ec03fa5e60c9df80f4cf31a9be64d7d59b2fa786c1d7779e284fec42b04bffc257
|
|
||||||
DIST pip-23.0.1-py3-none-any.whl 2055563 BLAKE2B 1b7a2f007c44a0e3aa6c9ecbc3b4b55c3f88c6504fef0d55d2a23fa369393d481dd6e28eb8898aa0015a9744d2faa3ef985e720456d1011c08b0889416e6b51d SHA512 6bad5536c30a0b2d5905318a1592948929fbac9baf3bcf2e7faeaf90f445f82bc2b656d0a89070d8a6a9395761f4793c83187bd640c64b2656a112b5be41f73d
|
|
||||||
DIST pip-23.1-py3-none-any.whl 2064542 BLAKE2B 32357e85a6c827dc423d91b8d7201d20a0ce610213de8b3b352336203224646137a487779789f7b91e50da8965ca2dca96f88e805ed507c329b28d58c83925a5 SHA512 a15bae4a0c1548cfdf1b886157018b31c723aeefe68794cccf83b16e51d4b1874f885e33117172cb36b42613ec03d4aa82cc4318f042e2b7dcd4e39293e91a94
|
|
||||||
DIST pip-23.1.1-py3-none-any.whl 2064386 BLAKE2B 22c30379689760ef57d4fb4a0cd0d5653d7fe02fbfa6ae475fc43b20f820e9042a6c28dd943e611f053a1e9179bc1adfca84c8a915f1582994abbc42a965f2eb SHA512 c52fbbaf2d7f1ee8b9aab07d0540c79543caf6a814e41748d6219167957d4e797e7f8a4901a694c2205681981638684bad6a71cb6b156a4599fcdc9e653468de
|
|
||||||
DIST pip-23.1.2-py3-none-any.whl 2064688 BLAKE2B 85c19cc80a59404867e7212c442e60ed6735da35d544bd23ee4cf5a1bffad4c0fab1f34a652417a181cbcb4afc9baf94682b0ec6e1fd9457eb77bc971d29e459 SHA512 a5a8feab25f01a96c2d8c4e15a001cb38c4a0a9d88563da6653239f3966324fdbe86ae0c5172cbdb1d03b863b37a37358b80e8bb9c8112bd7809fd16fb2ec776
|
DIST pip-23.1.2-py3-none-any.whl 2064688 BLAKE2B 85c19cc80a59404867e7212c442e60ed6735da35d544bd23ee4cf5a1bffad4c0fab1f34a652417a181cbcb4afc9baf94682b0ec6e1fd9457eb77bc971d29e459 SHA512 a5a8feab25f01a96c2d8c4e15a001cb38c4a0a9d88563da6653239f3966324fdbe86ae0c5172cbdb1d03b863b37a37358b80e8bb9c8112bd7809fd16fb2ec776
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
# Copyright 2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
MY_PN=${PN#ensurepip-}
|
|
||||||
WHL=${MY_PN}-${PV}-py3-none-any.whl
|
|
||||||
|
|
||||||
DESCRIPTION="Shared pip wheel for ensurepip Python module"
|
|
||||||
HOMEPAGE="https://pypi.org/project/pip/"
|
|
||||||
SRC_URI="
|
|
||||||
https://files.pythonhosted.org/packages/py3/${MY_PN::1}/${MY_PN}/${WHL}
|
|
||||||
"
|
|
||||||
S=${DISTDIR}
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!<dev-python/ensurepip-wheels-100
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/lib/python/ensurepip
|
|
||||||
doins "${WHL}"
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Shared pip wheel for ensurepip Python module"
|
|
||||||
HOMEPAGE="https://pypi.org/project/pip/"
|
|
||||||
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
|
||||||
S=${DISTDIR}
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!<dev-python/ensurepip-wheels-100
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/lib/python/ensurepip
|
|
||||||
doins "${A}"
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Shared pip wheel for ensurepip Python module"
|
|
||||||
HOMEPAGE="https://pypi.org/project/pip/"
|
|
||||||
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
|
||||||
S=${DISTDIR}
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!<dev-python/ensurepip-wheels-100
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/lib/python/ensurepip
|
|
||||||
doins "${A}"
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Shared pip wheel for ensurepip Python module"
|
|
||||||
HOMEPAGE="https://pypi.org/project/pip/"
|
|
||||||
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
|
||||||
S=${DISTDIR}
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!<dev-python/ensurepip-wheels-100
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /usr/lib/python/ensurepip
|
|
||||||
doins "${A}"
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST feedgenerator-2.0.0.tar.gz 23093 BLAKE2B 9f8a597028303f86eaebc0e8e34454dda135a5d62000c4ff6b30fc5baf872b924c3bbf9a76d07817742255305d9a681a25693838992170068e4cd6af540840fb SHA512 1f53077e4c757059947a487a1aa7ca8cf28545bc86f1bf3c8fbe515615f83ac4c48de5c22dd020f28c21ec6549d7f9971513f3de450bad7d4efbe0a0e444b0fe
|
|
||||||
DIST feedgenerator-2.1.0.tar.gz 20682 BLAKE2B cf78ab6c8f84d82f260a315cdaac2780e563668179f13e087f760f6ba3acc11767d1d639f78b2ead9cec333ff04509b73a9e55ff0184c740cbf2090aad9f3987 SHA512 b8b41f5b256130166c8dba34dd950782f9acb506e3e37a2fe13b5e1f9d33f7d39b7f862e446f4f6f2f480973617feb70303f78a4fb6741f110166e61b92f0075
|
DIST feedgenerator-2.1.0.tar.gz 20682 BLAKE2B cf78ab6c8f84d82f260a315cdaac2780e563668179f13e087f760f6ba3acc11767d1d639f78b2ead9cec333ff04509b73a9e55ff0184c740cbf2090aad9f3987 SHA512 b8b41f5b256130166c8dba34dd950782f9acb506e3e37a2fe13b5e1f9d33f7d39b7f862e446f4f6f2f480973617feb70303f78a4fb6741f110166e61b92f0075
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( pypy3 python3_{9..11} )
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Standalone version of django.utils.feedgenerator"
|
|
||||||
HOMEPAGE="https://pypi.org/project/feedgenerator/"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~riscv x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest -o addopts=
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST icalendar-5.0.4.tar.gz 102093 BLAKE2B 5bb618f8abfa8c96cdf45b0fd85f97ecfbe99361fb2eda08fe6ba43da1d01642e116218bc01353a745f6dc401278887d5ffc616fcf666691360174459c896362 SHA512 5b9b1b770c903bec4d8e5a4dc20b82d8e35eb86e6421d62abad640e65db20ccc71757a939e9ccb051653962ab5725e80dbc024703de158fee2cb0d608b8b5732
|
|
||||||
DIST icalendar-5.0.5.tar.gz 103204 BLAKE2B 20887b535f595ab222f3aca8ac396a71b53975816663693f89277a03be41885780d0b15269cd5955e00eeda0867db46781ea2300f542bca1a18687d50e025989 SHA512 1c1e6c94e2caa07686bc12389c3a5b823478f1652695bc167af95c26f92bbd3d60fb4e540d74eb90db289c647bfd6e1c82e83ee8f89bc87b80100d8b6fe5dd90
|
DIST icalendar-5.0.5.tar.gz 103204 BLAKE2B 20887b535f595ab222f3aca8ac396a71b53975816663693f89277a03be41885780d0b15269cd5955e00eeda0867db46781ea2300f542bca1a18687d50e025989 SHA512 1c1e6c94e2caa07686bc12389c3a5b823478f1652695bc167af95c26f92bbd3d60fb4e540d74eb90db289c647bfd6e1c82e83ee8f89bc87b80100d8b6fe5dd90
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/collective/icalendar/
|
|
||||||
https://pypi.org/project/icalendar/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
|
||||||
' 3.8)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# reset conf.py to not read version from an installed instance
|
|
||||||
sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \
|
|
||||||
-i docs/conf.py || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST ipykernel-6.22.0.tar.gz 151303 BLAKE2B c3567066375099d388c65b43b5b8c8059a823f4185855b6131fd90f42624a71c08d839a3c59c41cf83bb51ec07d0c0487d7bbee573eafa7e7d049dbeff8e59a8 SHA512 e109a2b771ffa40e05416bd925f26a4492c65a44a1acd8100e65ae3e779da9a0eef7222566e79cdcbed4b0fc3224fbd0722728d3fe953b16ab1a14090d0205c2
|
DIST ipykernel-6.22.0.tar.gz 151303 BLAKE2B c3567066375099d388c65b43b5b8c8059a823f4185855b6131fd90f42624a71c08d839a3c59c41cf83bb51ec07d0c0487d7bbee573eafa7e7d049dbeff8e59a8 SHA512 e109a2b771ffa40e05416bd925f26a4492c65a44a1acd8100e65ae3e779da9a0eef7222566e79cdcbed4b0fc3224fbd0722728d3fe953b16ab1a14090d0205c2
|
||||||
DIST ipykernel-6.23.0.tar.gz 151969 BLAKE2B c41aac053b27a2e3618831f8d6458b21877b4510062019576fe98f921b9485fe180f2bced09c0a8ddd930af5a386a09d4d13a2ffbb78e58d71bb7a7cea1c91c1 SHA512 d852742bd858639d150864d343da23ee915c2034b8fbad7875755ea580be80b5faf553c16af65c50001f214979cd4a80c89fe08e4db7198754b554de0101a1d1
|
DIST ipykernel-6.23.0.tar.gz 151969 BLAKE2B c41aac053b27a2e3618831f8d6458b21877b4510062019576fe98f921b9485fe180f2bced09c0a8ddd930af5a386a09d4d13a2ffbb78e58d71bb7a7cea1c91c1 SHA512 d852742bd858639d150864d343da23ee915c2034b8fbad7875755ea580be80b5faf553c16af65c50001f214979cd4a80c89fe08e4db7198754b554de0101a1d1
|
||||||
|
DIST ipykernel-6.23.1.tar.gz 153370 BLAKE2B 654998d46851bcc55d3c0c9c6134f3fcf8c81c2552d5af6dcdbd791e1ac98ed223a59aafc9b7b4260345f8730d243d3c82d4e19e03935a368a0a0154de547cb0 SHA512 8f3921789c837f7c046eed4ffdaade2273b6491cfd97b9a192a256966a66d58c1ad93cbfa69a5e933e052fa35c2c7a4671a652ee9f2bb2cca5a156c79df0f14f
|
||||||
|
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi virtualx
|
||||||
|
|
||||||
|
DESCRIPTION="IPython Kernel for Jupyter"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/ipython/ipykernel/
|
||||||
|
https://pypi.org/project/ipykernel/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/comm-0.1.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/debugpy-1.6.5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jupyter-client-8[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jupyter-core-4.12[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nest_asyncio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
dev-python/psutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyzmq-20[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/tornado-6.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
# RDEPEND seems specifically needed in BDEPEND, at least jupyter
|
||||||
|
# bug #816486
|
||||||
|
BDEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ipyparallel[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
distutils-r1_python_compile
|
||||||
|
# Use python3 in kernel.json configuration, bug #784764
|
||||||
|
sed -i -e '/python3.[0-9]\+/s//python3/' \
|
||||||
|
"${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
ipykernel/tests/test_debugger.py::test_attach_debug
|
||||||
|
ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
|
||||||
|
ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint
|
||||||
|
ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
|
||||||
|
ipykernel/tests/test_debugger.py::test_set_breakpoints
|
||||||
|
ipykernel/tests/test_debugger.py::test_stop_on_breakpoint
|
||||||
|
ipykernel/tests/test_debugger.py::test_copy_to_globals
|
||||||
|
# hangs?
|
||||||
|
ipykernel/tests/test_eventloop.py::test_tk_loop
|
||||||
|
)
|
||||||
|
|
||||||
|
virtx distutils-r1_src_test
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST loky-3.3.0.gh.tar.gz 141130 BLAKE2B 35560dca81cf41e03b24c8be6e70952c19b88fc9794cb13d7c910ac67ec4554555233026a215c6f147dc1354ad11bc14117b4eb6455ba758b79ea6650dc01f62 SHA512 120f771c75fe8691a198c93a91bf683af3d32c1bcaf2fa3e9c439d16546bff9feb6ce203667bd6c4e06ac326500b7bd117948e4deea6f53b04682af1f8d65734
|
|
||||||
DIST loky-3.4.0.gh.tar.gz 143864 BLAKE2B bebfa2c934e4645c5cd1a4c62792bccd9b5a4ef3c9a104809b57f35ba3318596717bf82714c1b7583675bdc504dc0a2054a88009d964a900176d353a54add52c SHA512 d8113f6f6c173c208b90c29bc4a296d7844f7010cfcabbd8d55106b8e93f256b2debb86aa993a33c41f40fcdd4f00c1e1e010dbe4a184b138da357652315657c
|
DIST loky-3.4.0.gh.tar.gz 143864 BLAKE2B bebfa2c934e4645c5cd1a4c62792bccd9b5a4ef3c9a104809b57f35ba3318596717bf82714c1b7583675bdc504dc0a2054a88009d964a900176d353a54add52c SHA512 d8113f6f6c173c208b90c29bc4a296d7844f7010cfcabbd8d55106b8e93f256b2debb86aa993a33c41f40fcdd4f00c1e1e010dbe4a184b138da357652315657c
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 2020-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Robust and reusable Executor for joblib"
|
|
||||||
HOMEPAGE="https://github.com/joblib/loky"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/joblib/loky/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/packaging[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
EPYTEST_DESELECT=(
|
|
||||||
# docker, seriously?
|
|
||||||
tests/test_loky_module.py::test_cpu_count_cfs_limit
|
|
||||||
# hangs, and even pytest-timeout does not help
|
|
||||||
tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill
|
|
||||||
tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize
|
|
||||||
)
|
|
||||||
|
|
||||||
# high memory test needs a lot of memory + is broken on 32-bit platforms
|
|
||||||
epytest --skip-high-memory
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST munch-2.5.0.tar.gz 17015 BLAKE2B 17af271ae082a6e5f91781ba48a440f11cbe85ecb81d47ee2bc51910307080e3ba6c95e99e7475534400b2915a86d8f853bc65d419c3d3b7138bf021e66de25c SHA512 7eca31111f40782a19b49535322bc56d723022d52b0842c4beff512f32fa415a6c75851eb84950358cb6a11693095cafe56364028e48385b11135de414edca21
|
DIST munch-2.5.0.tar.gz 17015 BLAKE2B 17af271ae082a6e5f91781ba48a440f11cbe85ecb81d47ee2bc51910307080e3ba6c95e99e7475534400b2915a86d8f853bc65d419c3d3b7138bf021e66de25c SHA512 7eca31111f40782a19b49535322bc56d723022d52b0842c4beff512f32fa415a6c75851eb84950358cb6a11693095cafe56364028e48385b11135de414edca21
|
||||||
|
DIST munch-3.0.0.tar.gz 19276 BLAKE2B df7b8ee8ff807c2a1ca61974d70379623411db2229d176b890949aa3318f7b2ec1e108a340e55445751c46da24deb0f749d66fb69f9e10e92a04a01c766a73c6 SHA512 d08ac1b19badf0fb17f2dc81e53ab7492e49da225d8fa890fa9227df9d4e2bce395c7d7a8000f635529c1fb2a7eccd4eef10370b76e95b960955985b38003baf
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="A dot-accessible dictionary (a la JavaScript objects)"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/Infinidat/munch/
|
||||||
|
https://pypi.org/project/munch/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/pbr[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,2 +1 @@
|
|||||||
DIST pdm-pep517-1.1.3.gh.tar.gz 232038 BLAKE2B 8d7e4cbd439c8cd5fd541043da93fcee4737d47c27ce049743c0944bff66b4784b00e3650e088e1ddfabcdfd4398e5fe90f3029a8353d91cc4b11ec8625d44eb SHA512 ed29b2c5a2030ceb103eb9df3d399efa316c02fb97b2000d770591c9f1abe0adeabf1cbdb9b5863dc82a1adfb67dd6385c362963145779fbf63dd39e0ff533f0
|
|
||||||
DIST pdm-pep517-1.1.4.gh.tar.gz 232583 BLAKE2B 0f718e5b0a854505ca22b15cbe0bf3eeb9e028062e1bbd8a5fa6ca79e605ced7ec45e9429747c18fa2b96872487b2a5b3007567e2875d2121ed52c5027e1a4d4 SHA512 b3359ed0f0746e879b3cad8fdedcf49a36f179d68a530a80e5c985d26f89e9e3ab92a56a128dd69603e52fff5070ebe8ec2dc0f6ec07c8eb14da27e5a3b3b4a8
|
DIST pdm-pep517-1.1.4.gh.tar.gz 232583 BLAKE2B 0f718e5b0a854505ca22b15cbe0bf3eeb9e028062e1bbd8a5fa6ca79e605ced7ec45e9429747c18fa2b96872487b2a5b3007567e2875d2121ed52c5027e1a4d4 SHA512 b3359ed0f0746e879b3cad8fdedcf49a36f179d68a530a80e5c985d26f89e9e3ab92a56a128dd69603e52fff5070ebe8ec2dc0f6ec07c8eb14da27e5a3b3b4a8
|
||||||
|
@ -1,63 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=standalone
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
# upstream has renamed the repo but the legacy branch is still published
|
|
||||||
# as pdm-pep517, sigh
|
|
||||||
MY_P=pdm-backend-${PV}
|
|
||||||
DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pypi.org/project/pdm-pep517/
|
|
||||||
https://github.com/pdm-project/pdm-backend/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/license-expression[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tomli-2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
dev-vcs/git
|
|
||||||
)
|
|
||||||
"
|
|
||||||
# setuptools are used to build C extensions
|
|
||||||
RDEPEND+="
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
rm -r pdm/pep517/_vendor || die
|
|
||||||
find -name '*.py' -exec sed \
|
|
||||||
-e 's:from pdm\.pep517\._vendor\.:from :' \
|
|
||||||
-e 's:from pdm\.pep517\._vendor ::' \
|
|
||||||
-i {} + || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
git config --global user.email "test@example.com" || die
|
|
||||||
git config --global user.name "Test User" || die
|
|
||||||
distutils-r1_src_test
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
|
DIST pymdown-extensions-10.0.gh.tar.gz 1062913 BLAKE2B a7f0da6ce416ece64ecf4340e9c0c0330858cc972924b7d646abfb2080b10814f81bf4f5ad42895e523edfb1bdb61e805cb66507780fdad04dad7ffa6e266c66 SHA512 660e903705fe379e6ed2c67ede21eea8a4d0e14731e036b556eaccc6a3ab76dce71e29d1581fbd822794d66382970fbc95ece9c2cd2f5854018a81a65e06239a
|
||||||
DIST pymdown-extensions-9.11.gh.tar.gz 1062074 BLAKE2B d695fa946c264f7ce2da7731fd5ce5388152a2179830108a6b43f769144246c33118084b4b2fe1e45b4255e26dc91871be699043008f67d2f04c5e5396f9ad12 SHA512 7745f0da83e3ecab9ac16947662c7a4da31e9ed62c6c519457083e0e8075f386a10146f18edc59cb17dee383335bb303c109da2ab08501118a53ee7315b1095f
|
DIST pymdown-extensions-9.11.gh.tar.gz 1062074 BLAKE2B d695fa946c264f7ce2da7731fd5ce5388152a2179830108a6b43f769144246c33118084b4b2fe1e45b4255e26dc91871be699043008f67d2f04c5e5396f9ad12 SHA512 7745f0da83e3ecab9ac16947662c7a4da31e9ed62c6c519457083e0e8075f386a10146f18edc59cb17dee383335bb303c109da2ab08501118a53ee7315b1095f
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
DOCS_BUILDER="mkdocs"
|
||||||
|
DOCS_DEPEND="
|
||||||
|
dev-python/mkdocs-git-revision-date-localized-plugin
|
||||||
|
dev-python/mkdocs-minify-plugin
|
||||||
|
dev-python/mkdocs-material
|
||||||
|
dev-python/pymdown-lexers
|
||||||
|
dev-python/pyspelling
|
||||||
|
"
|
||||||
|
DOCS_INITIALIZE_GIT=1
|
||||||
|
|
||||||
|
inherit distutils-r1 docs
|
||||||
|
|
||||||
|
DESCRIPTION="Extensions for Python Markdown"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/facelessuser/pymdown-extensions/
|
||||||
|
https://pypi.org/project/pymdown-extensions/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/facelessuser/pymdown-extensions/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
default
|
||||||
|
# We need to do this manually instead of relying on docs_compile
|
||||||
|
# https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446
|
||||||
|
# https://bugs.gentoo.org/859637
|
||||||
|
if use doc; then
|
||||||
|
python -m mkdocs build || die "Failed to make docs"
|
||||||
|
# Colliding files found by ecompress:
|
||||||
|
rm site/sitemap.xml.gz || die
|
||||||
|
HTML_DOCS=( "site/." )
|
||||||
|
fi
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST pytest-subtests-0.10.0.gh.tar.gz 10253 BLAKE2B dba434dfc3f27293d5576ad408665917394ff54d41aef5604f40d787c4d7d9c6fc42b99ca10a8d46707fc8ce0eb5aab8e27bb32b464f5c9350f6bda6b12df031 SHA512 2fc3f8316db879d64d4dd4ad53df7dbda30b69df9291608eb6235aa27e9e6b3ec4174023f9ffa016811eb8955f0ebd673ead7b7319d927d18d7c016e0c7ef573
|
DIST pytest-subtests-0.10.0.gh.tar.gz 10253 BLAKE2B dba434dfc3f27293d5576ad408665917394ff54d41aef5604f40d787c4d7d9c6fc42b99ca10a8d46707fc8ce0eb5aab8e27bb32b464f5c9350f6bda6b12df031 SHA512 2fc3f8316db879d64d4dd4ad53df7dbda30b69df9291608eb6235aa27e9e6b3ec4174023f9ffa016811eb8955f0ebd673ead7b7319d927d18d7c016e0c7ef573
|
||||||
|
DIST pytest-subtests-0.11.0.tar.gz 12763 BLAKE2B b1e1373d197798a9c27ed65569a681e9ea8dd36014cf6ea57a1d44ed888dca21bd8c5afffeb7f590a501d83d1bc0a8e1fe06b13832173e6937b722163614f21e SHA512 cab486252148e457e234e0dadacefa5ff38cf67df48d9c8bd61aa546a4a1e712b70dca0a270dffceede6be0f8a6324e8c21beaa4d1528b39f12bba72e077ef1d
|
||||||
|
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 2022-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYPI_NO_NORMALIZE=1
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Unittest subTest() support and subtests fixture"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/pytest-dev/pytest-subtests/
|
||||||
|
https://pypi.org/project/pytest-subtests/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-7[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
# pytest-xdist is used to test compatibility
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests
|
||||||
|
epytest
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/scikit-build/scikit-build/
|
||||||
|
https://pypi.org/project/scikit-build/
|
||||||
|
"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="MIT"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/distro[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/setuptools-42.0.0[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/tomli[${PYTHON_USEDEP}]
|
||||||
|
' 3.{9..10})
|
||||||
|
>=dev-python/wheel-0.32.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
|
||||||
|
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
>=dev-python/build-0.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/cython-0.25.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-mock-1.10.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-virtualenv-1.2.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/sphinx-rtd-theme \
|
||||||
|
dev-python/sphinx-issues
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# not packaged
|
||||||
|
sed -i -e '/cmakedomain/d' docs/conf.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest -m "not isolated and not nosetuptoolsscm"
|
||||||
|
rm -r "${BUILD_DIR}/install$(python_get_sitedir)"/{easy-install.pth,*.egg,*.egg-link} || die
|
||||||
|
}
|
@ -0,0 +1,114 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P=sentry-python-${PV}
|
||||||
|
DESCRIPTION="Python client for Sentry"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://sentry.io/
|
||||||
|
https://github.com/getsentry/sentry-python/
|
||||||
|
https://pypi.org/project/sentry-sdk/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="PSF-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/certifi[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||||
|
dev-python/django[${PYTHON_USEDEP}]
|
||||||
|
dev-python/executing[${PYTHON_USEDEP}]
|
||||||
|
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||||
|
dev-python/responses[${PYTHON_USEDEP}]
|
||||||
|
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||||
|
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
EPYTEST_IGNORE=(
|
||||||
|
# tests require Internet access
|
||||||
|
tests/integrations/httpx/test_httpx.py
|
||||||
|
tests/integrations/requests/test_requests.py
|
||||||
|
tests/integrations/stdlib/test_httplib.py
|
||||||
|
tests/integrations/flask/test_flask.py
|
||||||
|
tests/integrations/django/test_basic.py
|
||||||
|
tests/integrations/socket/test_socket.py
|
||||||
|
# wtf is it supposed to do?!
|
||||||
|
tests/integrations/gcp/test_gcp.py
|
||||||
|
# broken by rq-1.10.1 (optional dep)
|
||||||
|
tests/integrations/rq/test_rq.py
|
||||||
|
# fastapi is not packaged
|
||||||
|
tests/integrations/asgi/test_fastapi.py
|
||||||
|
# TODO
|
||||||
|
tests/integrations/bottle
|
||||||
|
# TODO: causes breakage in other tests
|
||||||
|
tests/integrations/starlette
|
||||||
|
# TODO
|
||||||
|
tests/integrations/tornado
|
||||||
|
# requires mockupdb
|
||||||
|
tests/integrations/pymongo
|
||||||
|
)
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# hangs
|
||||||
|
'tests/test_transport.py::test_transport_works'
|
||||||
|
# TODO
|
||||||
|
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||||
|
tests/test_client.py::test_databag_depth_stripping
|
||||||
|
tests/test_client.py::test_databag_string_stripping
|
||||||
|
tests/test_client.py::test_databag_breadth_stripping
|
||||||
|
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||||
|
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||||
|
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||||
|
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||||
|
# incompatible version?
|
||||||
|
tests/integrations/falcon/test_falcon.py
|
||||||
|
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated
|
||||||
|
# test_circular_references: apparently fragile
|
||||||
|
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||||
|
# test for new feature, fails with IndexError
|
||||||
|
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||||
|
# TODO
|
||||||
|
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||||
|
tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
|
||||||
|
tests/test_profiler.py::test_sample_buffer
|
||||||
|
tests/test_profiler.py::test_thread_scheduler_takes_first_samples
|
||||||
|
tests/test_profiler.py::test_thread_scheduler_takes_more_samples
|
||||||
|
tests/test_profiler.py::test_thread_scheduler_single_background_thread
|
||||||
|
# broken with py3.11, *shrug*
|
||||||
|
tests/test_profiler.py::test_extract_stack_with_max_depth
|
||||||
|
# TODO
|
||||||
|
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved
|
||||||
|
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string
|
||||||
|
tests/test_scrubber.py::test_breadcrumb_extra_scrubbing
|
||||||
|
tests/test_scrubber.py::test_span_data_scrubbing
|
||||||
|
)
|
@ -1 +1,2 @@
|
|||||||
DIST sh-2.0.3.tar.gz 345365 BLAKE2B f818f84c71992fcfb653b757872da89a0007a873c639b3b0438a794bdfbd455e2ac22ef035b657b35da23e6890761ce7f161a02e3e0f847ee5209cec5fe911a4 SHA512 4d3bc20b2175b2507f0081af0b83faaf5eb97d131a24abaafb333a56e45d2cdb9167c3568bb40c6a6ea79b9836e335cb0d5bec2d036ce619eb312916d69fa72d
|
DIST sh-2.0.3.tar.gz 345365 BLAKE2B f818f84c71992fcfb653b757872da89a0007a873c639b3b0438a794bdfbd455e2ac22ef035b657b35da23e6890761ce7f161a02e3e0f847ee5209cec5fe911a4 SHA512 4d3bc20b2175b2507f0081af0b83faaf5eb97d131a24abaafb333a56e45d2cdb9167c3568bb40c6a6ea79b9836e335cb0d5bec2d036ce619eb312916d69fa72d
|
||||||
|
DIST sh-2.0.4.tar.gz 345443 BLAKE2B b5b765c558ad8f7aa5197687b73b20e32397f195f401aa6313fb2b918d96446adad0c8f06485550fc70a623bc18f036b4fc037ee26f8acdb27358190bd4b573d SHA512 dc402941a3d6229f3331e32590e69745bf68d8680734f19661398559090fcb4b48ce3a28e1cdd7ba30b79b65c119f7b66ed6fe9351f12697670cf31a3ee7b270
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=poetry
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Python subprocess interface"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/amoffat/sh/
|
||||||
|
https://pypi.org/project/sh/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
distutils_enable_tests unittest
|
@ -1,2 +1 @@
|
|||||||
DIST sphinx-gallery-0.12.2.tar.gz 402524 BLAKE2B c872ec403adf150df540253b996e35f5d99dae17a884fad8e6a79a9b08934228e22c2b830d79cbe08cf43889738b2f0f8aa8e582851a993584d59d36adb6ced2 SHA512 c56c84ab7e4c55686b1c83791c46a83f3887c5c3a19da89baeba8aba874663d1dc4718534fadb11d3d95197c34ee9b78884095e2caeee4f58a9b0d4bba26d5d2
|
|
||||||
DIST sphinx-gallery-0.13.0.tar.gz 403284 BLAKE2B fac67eab0c49a756f4b73b05434c80b5876d241afae66bfd4d2f50b5ffb715f03da3e87146531c90632ecef0d092c5d087c3ada0d01a6df21c8032b3b60d1890 SHA512 26168e25ff46a34d7cf1d2d70e59d5e81bab6e57ec497f2a6e55e5356fb832b8fefc5a19976cc4fb495fdc1ef8b44a33de93cc7a6f376f72c9dbcaa94ed723ef
|
DIST sphinx-gallery-0.13.0.tar.gz 403284 BLAKE2B fac67eab0c49a756f4b73b05434c80b5876d241afae66bfd4d2f50b5ffb715f03da3e87146531c90632ecef0d092c5d087c3ada0d01a6df21c8032b3b60d1890 SHA512 26168e25ff46a34d7cf1d2d70e59d5e81bab6e57ec497f2a6e55e5356fb832b8fefc5a19976cc4fb495fdc1ef8b44a33de93cc7a6f376f72c9dbcaa94ed723ef
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYPI_NO_NORMALIZE=1
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Sphinx extension to automatically generate an examples gallery"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/sphinx-gallery/sphinx-gallery/
|
|
||||||
https://sphinx-gallery.github.io/
|
|
||||||
https://pypi.org/project/sphinx-gallery/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/joblib[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's:--cov-report= --cov=sphinx_gallery::' setup.cfg || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
|
||||||
# Internet
|
|
||||||
sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data
|
|
||||||
sphinx_gallery/tests/test_full.py::test_run_sphinx
|
|
||||||
sphinx_gallery/tests/test_full.py::test_embed_links_and_styles
|
|
||||||
# require jupyterlite_sphinx
|
|
||||||
sphinx_gallery/tests/test_full.py
|
|
||||||
sphinx_gallery/tests/test_full_noexec.py
|
|
||||||
sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents
|
|
||||||
sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_non_default_contents
|
|
||||||
sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_with_jupyterlite_disabled_via_config
|
|
||||||
)
|
|
@ -1 +1,2 @@
|
|||||||
DIST stevedore-5.0.0.tar.gz 513970 BLAKE2B e1135a281c88633daed4ec41a5bb66c3bf2ed2275a3502fbc90b6ba09ac55693e5c98a0af49d948adf141812e195dfdb6a293021405abdba962c05ff506a1879 SHA512 4041172deba14b8e33cb48d8b629810e66a52e1676a989417c1b896930e980e0057efbf8f9b6b9c4c82ffce02b132b8e6c5f7a5b02e49d7c7c242ab4a20bac02
|
DIST stevedore-5.0.0.tar.gz 513970 BLAKE2B e1135a281c88633daed4ec41a5bb66c3bf2ed2275a3502fbc90b6ba09ac55693e5c98a0af49d948adf141812e195dfdb6a293021405abdba962c05ff506a1879 SHA512 4041172deba14b8e33cb48d8b629810e66a52e1676a989417c1b896930e980e0057efbf8f9b6b9c4c82ffce02b132b8e6c5f7a5b02e49d7c7c242ab4a20bac02
|
||||||
|
DIST stevedore-5.1.0.tar.gz 514100 BLAKE2B f12e0eaa0c3d4bfa334a89ced740277bd2979e7ff48c7bc36bd85d801d0d2dd92f2f8cf7ef29b8fb61a5361a655c6a5303ad6f6aa2666fb57ebcee209ac0c344 SHA512 d7ad920961c9f4055cb145c84578f09f0af93eadf82f60bd7903dfc909cc2cdb64159d9b9b1469eb04569705f4208b667ded5aab17e97bba5dd7310263f449de
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Manage dynamic plugins for Python applications"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://opendev.org/openstack/stevedore/
|
||||||
|
https://github.com/openstack/stevedore/
|
||||||
|
https://pypi.org/project/stevedore/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||||
|
dev-python/testtools[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests unittest
|
||||||
|
distutils_enable_sphinx 'doc/source' \
|
||||||
|
'>=dev-python/openstackdocstheme-1.18.1' \
|
||||||
|
'>=dev-python/reno-2.5.0' \
|
||||||
|
'>=dev-python/sphinx-2.0.0'
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Delete spurious data in requirements.txt
|
||||||
|
sed -e '/^pbr/d' -i requirements.txt || die
|
||||||
|
|
||||||
|
# Also known problem, inside venv
|
||||||
|
sed -i -e 's:test_disable_caching_file:_&:' \
|
||||||
|
stevedore/tests/test_cache.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST tavern-2.0.6.gh.tar.gz 207404 BLAKE2B 6dc5a01bac0ffce55e3459dcaf4bab60852c4d06c29e86fb6006ad7279cc7114d8e18dbdd6ce07edb70beebc77c13d4c1a34498232dcdafa9827085c7be63361 SHA512 d660a773fae85d40ea461a3529fd233f392f2b523501984f7f228b0b45439309a8386559477154db5bc90c0b2f3b52f27a658f30dd9ed83a945dcf8f7faf74c7
|
|
||||||
DIST tavern-2.0.7.gh.tar.gz 207577 BLAKE2B 1583bfdb0ef013f65ed437bb613e87ad0d0e9375cceb3ed295dfe96afcdc11607b77b9e91cfe3db2f5b53a33be56db558f2f489ba60cda15c270ab9ec07118a2 SHA512 9e69d4dc3a3a06855cbbb567e9b73e62fe65832e022e3d0eb471d2eee9035950207abbba2fca5e0aeda091987bebafce78ba96814a41bf785dab5a48afdc5302
|
DIST tavern-2.0.7.gh.tar.gz 207577 BLAKE2B 1583bfdb0ef013f65ed437bb613e87ad0d0e9375cceb3ed295dfe96afcdc11607b77b9e91cfe3db2f5b53a33be56db558f2f489ba60cda15c270ab9ec07118a2 SHA512 9e69d4dc3a3a06855cbbb567e9b73e62fe65832e022e3d0eb471d2eee9035950207abbba2fca5e0aeda091987bebafce78ba96814a41bf785dab5a48afdc5302
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=flit
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/taverntesting/tavern/
|
|
||||||
https://pypi.org/project/tavern/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/taverntesting/tavern/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
|
||||||
dev-python/paho-mqtt[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyjwt[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pykwalify[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/python-box[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/stevedore[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/colorlog[${PYTHON_USEDEP}]
|
|
||||||
dev-python/Faker[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# strip unnecessary pins, upstream doesn't update them a lot
|
|
||||||
sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest -p tavern
|
|
||||||
}
|
|
@ -1,3 +1,4 @@
|
|||||||
DIST tornado-6.2.tar.gz 504849 BLAKE2B 18fee464e043e20dcdd5677bc3a72949140a64ce353e09a21242fcade6d8b668517553c649d65e892d9c3fabacea96903d4e42b70676a62759900abc8f4a202f SHA512 157cbeee21bef29ac68b319329e7fc57db4c68dbb5a245e2171b7a28427ebbfe16b745e3bdbdec5912caae5eaa60c3cbbf8830c9c76fec5ffdf025e234468517
|
DIST tornado-6.2.tar.gz 504849 BLAKE2B 18fee464e043e20dcdd5677bc3a72949140a64ce353e09a21242fcade6d8b668517553c649d65e892d9c3fabacea96903d4e42b70676a62759900abc8f4a202f SHA512 157cbeee21bef29ac68b319329e7fc57db4c68dbb5a245e2171b7a28427ebbfe16b745e3bdbdec5912caae5eaa60c3cbbf8830c9c76fec5ffdf025e234468517
|
||||||
DIST tornado-6.3.1.tar.gz 508547 BLAKE2B ed7d9085f75291d341574c610b23a9a24468238988e7bd726be6da4ed8cd5588c1df5e11a154f3c9843931d210198d3bd57d3999b4bdcdf13b3b78afec04df36 SHA512 e6b33d017448060d29e718cb4ed4f852f3f1a970ef6149fcf88900cf7a7f008b737cfdad3c217a6c43a5c7176aee0adb72c3c0055b6b3faac49acd34c3b74b90
|
DIST tornado-6.3.1.tar.gz 508547 BLAKE2B ed7d9085f75291d341574c610b23a9a24468238988e7bd726be6da4ed8cd5588c1df5e11a154f3c9843931d210198d3bd57d3999b4bdcdf13b3b78afec04df36 SHA512 e6b33d017448060d29e718cb4ed4f852f3f1a970ef6149fcf88900cf7a7f008b737cfdad3c217a6c43a5c7176aee0adb72c3c0055b6b3faac49acd34c3b74b90
|
||||||
|
DIST tornado-6.3.2.tar.gz 508776 BLAKE2B 10cea881365ab72290ac9bc240dc7fa4e77511be1aa9d005e84fff1c494888d204935f5bf5101d102cc6e8f0995d41c0cc257e372d740f2aa47dc904032c434d SHA512 cd4be43672dcf0814536ad1b2b1dde045f25494a9f70facf0dbae5d3a71b112d0dbca235916948982922975d0d4c58efff880c0b432db382f58f25d65ef18c92
|
||||||
DIST tornado-6.3.tar.gz 507992 BLAKE2B a894fbb62e4246be82b09856977758e8e55886b77917a4a23a6411a58b2b85ae1ae9113e70cc00bf0b0775566d0bda237ab3ba91ff18012c7c72f24dff587a9e SHA512 f25bbf1e489bb53ba5ed502a9241b3629a66a8bee3ba54d8bd96946e478ea06dfdf70e6f937da25c8240cb16cc5c9ff3011415503c7d03e2b1eeb2f7567d8209
|
DIST tornado-6.3.tar.gz 507992 BLAKE2B a894fbb62e4246be82b09856977758e8e55886b77917a4a23a6411a58b2b85ae1ae9113e70cc00bf0b0775566d0bda237ab3ba91ff18012c7c72f24dff587a9e SHA512 f25bbf1e489bb53ba5ed502a9241b3629a66a8bee3ba54d8bd96946e478ea06dfdf70e6f937da25c8240cb16cc5c9ff3011415503c7d03e2b1eeb2f7567d8209
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_EXT=1
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Python web framework and asynchronous networking library"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://www.tornadoweb.org/
|
||||||
|
https://github.com/tornadoweb/tornado/
|
||||||
|
https://pypi.org/project/tornado/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE="examples test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
|
||||||
|
' 'python*')
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# network-sandbox? ipv6?
|
||||||
|
sed -i -e 's:test_localhost:_&:' \
|
||||||
|
tornado/test/netutil_test.py || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x ASYNC_TEST_TIMEOUT=60
|
||||||
|
cd "${T}" || die
|
||||||
|
"${EPYTHON}" -m tornado.test.runtests --verbose ||
|
||||||
|
die "tests failed under ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
if use examples; then
|
||||||
|
docinto examples
|
||||||
|
dodoc -r demos/.
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST tzlocal-4.3.gh.tar.gz 24147 BLAKE2B 41ed6338b97f1f6c4a5cb64b82f6a93c4e68f275c2d593c774592998a7c63d1c8470fcd5babc13679092da4f92edeb798bfe80186628cb6c34b7fa595a21daf7 SHA512 b93541951c90ef59a0d9b224c75170a0857723ee0f50782980a78a003b1040b7ceef3bbadd2cabde2a8599cecdd7644ccd1431eb8e4d33cd9e4e9d980c048736
|
DIST tzlocal-4.3.gh.tar.gz 24147 BLAKE2B 41ed6338b97f1f6c4a5cb64b82f6a93c4e68f275c2d593c774592998a7c63d1c8470fcd5babc13679092da4f92edeb798bfe80186628cb6c34b7fa595a21daf7 SHA512 b93541951c90ef59a0d9b224c75170a0857723ee0f50782980a78a003b1040b7ceef3bbadd2cabde2a8599cecdd7644ccd1431eb8e4d33cd9e4e9d980c048736
|
||||||
|
DIST tzlocal-5.0.1.gh.tar.gz 25032 BLAKE2B a1b0d2d2d6422c91752332d789efddad5f14e02e0097deaea1b8df2de20686d1e73dddb1864c5c643b20f8cfce56ff28adb741f7ae74b58409a60bf0eb172057 SHA512 b89293180e82334e3c1627845516ac25d8862c799d6d56a9eff13549bfafef2e4e4b0a624e9455e4310429f50b9d82fa984b7dfe8cdd9ed3dc7325ea89c0c5b1
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="tzinfo object for the local timezone"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/regebro/tzlocal/
|
||||||
|
https://pypi.org/project/tzlocal/
|
||||||
|
"
|
||||||
|
# symlinks aren't correctly preserved in sdist, as of 5.0.1
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/regebro/tzlocal/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
||||||
|
' 3.8)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST entice-0_pre20210919.tar.gz 102691 BLAKE2B 2967f34acad5900c798ec2fa776cc5722cf34f4f097e37dfce50749e80a02a422f77e93f2a2d149f2151512fa6ce8f51ca9a29650276eae8cb6609c2b0e2bf20 SHA512 8f38f00d344b8477a410176e7a1ecf75ffe46a413caca4b497d81440b2a48e52cd6da35305729fe971a955de2c613ab7f78ce5c6b60884b771e8298d12f0c782
|
|
||||||
DIST entice-0_pre20220809.tar.gz 7940222 BLAKE2B 8fb23d904e66894f60db94e64f5d9f0f00b82d6409c3c5e3439ecb8cd7835d2aadd7e52280eed4fc81fd0ac92fc02c9ad58c32d263f3081d93986bf21037c04e SHA512 2f6d549d87ca39be3b2d2fa15b488c6ddf0a31fc5164d90e7b4c37343af2fe44c674330b3764f100b048f94da003c7807e28b95ab059e3c04632026e53e5b96b
|
DIST entice-0_pre20220809.tar.gz 7940222 BLAKE2B 8fb23d904e66894f60db94e64f5d9f0f00b82d6409c3c5e3439ecb8cd7835d2aadd7e52280eed4fc81fd0ac92fc02c9ad58c32d263f3081d93986bf21037c04e SHA512 2f6d549d87ca39be3b2d2fa15b488c6ddf0a31fc5164d90e7b4c37343af2fe44c674330b3764f100b048f94da003c7807e28b95ab059e3c04632026e53e5b96b
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit meson optfeature xdg
|
|
||||||
|
|
||||||
MY_COMMIT="8b62c4ff8eeadd37d5304a01b287da3011283b66"
|
|
||||||
|
|
||||||
DESCRIPTION="A simple image viewer based on EFL"
|
|
||||||
HOMEPAGE="https://github.com/vtorri/entice"
|
|
||||||
SRC_URI="https://github.com/vtorri/entice/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
DEPEND="|| ( dev-libs/efl[X] dev-libs/efl[wayland] )
|
|
||||||
media-libs/libexif"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/entice-${MY_COMMIT}"
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
|
|
||||||
optfeature_header "Image format support:"
|
|
||||||
optfeature "avif support" dev-libs/efl[avif]
|
|
||||||
optfeature "bmp,wbmp support" dev-libs/efl[bmp]
|
|
||||||
optfeature "dds support" dev-libs/efl[dds]
|
|
||||||
optfeature "gif support" dev-libs/efl[gif]
|
|
||||||
optfeature "heif support" dev-libs/efl[heif]
|
|
||||||
optfeature "ico,cur support" dev-libs/efl[ico]
|
|
||||||
optfeature "jp2k support" dev-libs/efl[jpeg2k]
|
|
||||||
optfeature "pmaps support" dev-libs/efl[pmaps]
|
|
||||||
optfeature "psd support" dev-libs/efl[psd]
|
|
||||||
optfeature "raw support" dev-libs/efl[raw]
|
|
||||||
optfeature "svg,rsvg support" dev-libs/efl[svg]
|
|
||||||
optfeature "tga support" dev-libs/efl[tga]
|
|
||||||
optfeature "tgv support" dev-libs/efl[tgv]
|
|
||||||
optfeature "tiff support" dev-libs/efl[tiff]
|
|
||||||
optfeature "webp support" dev-libs/efl[webp]
|
|
||||||
optfeature "xcf support" dev-libs/efl[xcf]
|
|
||||||
optfeature "xpm support" dev-libs/efl[xpm]
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST exiv2-0.27.6-Source.tar.gz 32280263 BLAKE2B a025452b7e70aef109a2f7831ba5c0528b0cb8fda92e5959a5927abd442d650f8d40cc47f56d8f87508e5f37e8378728f99e3a4fa96e7a0319cb4542659d9a60 SHA512 045d7fb391202b53897336094812600680141a292367a9194e9529bccb8ab54465190ea0f0636970114402a38840b33b2fcf2edf7b6c616f3e585fa295a887a4
|
DIST exiv2-0.27.6-Source.tar.gz 32280263 BLAKE2B a025452b7e70aef109a2f7831ba5c0528b0cb8fda92e5959a5927abd442d650f8d40cc47f56d8f87508e5f37e8378728f99e3a4fa96e7a0319cb4542659d9a60 SHA512 045d7fb391202b53897336094812600680141a292367a9194e9529bccb8ab54465190ea0f0636970114402a38840b33b2fcf2edf7b6c616f3e585fa295a887a4
|
||||||
|
DIST exiv2-0.27.7-Source.tar.gz 32290404 BLAKE2B ac83c36dd15c7f6aa2d6607542a12b981d1b58bed671047d3dbfdc9eea64a977630863e4c4abe1e9c2e3e8af05adf6849a05d70e42cde4bb0d6f4a3fbb9b2e49 SHA512 8f12b056439867a05b6dfe4b93a82e02d9e5032554b590e399bcf38d73208a783f8349e66870cc030ad2a47650389d96522b60086b308145121646c9fa93d8ae
|
||||||
DIST exiv2-0.28.0.tar.gz 45138274 BLAKE2B 6ccdc4e6a7dbd4aa2a892e61306f0c63659d804075cae9e771096cfdc21ec0aff0df22232c036551f4e321f497184e7ad100fb9c2011c14cd0315e8118c3e85f SHA512 35e483c6123f099167ed8647fae7c6e5512434c24d0afe684180ba6a5114068d5678280a01c8e6cfee0d1e555e1dc2a1606989d46950ce3ef1a3859caeed4dad
|
DIST exiv2-0.28.0.tar.gz 45138274 BLAKE2B 6ccdc4e6a7dbd4aa2a892e61306f0c63659d804075cae9e771096cfdc21ec0aff0df22232c036551f4e321f497184e7ad100fb9c2011c14cd0315e8118c3e85f SHA512 35e483c6123f099167ed8647fae7c6e5512434c24d0afe684180ba6a5114068d5678280a01c8e6cfee0d1e555e1dc2a1606989d46950ce3ef1a3859caeed4dad
|
||||||
|
@ -0,0 +1,113 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/${PN^}/${PN}/releases/download/v${PV}/${P}-Source.tar.gz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||||
|
S="${WORKDIR}/${P}-Source"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
inherit cmake-multilib python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility"
|
||||||
|
HOMEPAGE="https://exiv2.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
# In 0.27.5, ABI seemed to be broken for bmff functions
|
||||||
|
SLOT="0/27.5"
|
||||||
|
IUSE="+bmff doc examples nls +png test webready +xmp"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
|
||||||
|
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
|
||||||
|
webready? (
|
||||||
|
>net-libs/libssh-0.9.1[sftp,${MULTILIB_USEDEP}]
|
||||||
|
net-misc/curl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
xmp? ( dev-libs/expat[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
DEPEND="${DEPEND}
|
||||||
|
test? ( dev-cpp/gtest )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
doc? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
app-doc/doxygen
|
||||||
|
dev-libs/libxslt
|
||||||
|
media-gfx/graphviz
|
||||||
|
virtual/pkgconfig
|
||||||
|
)
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( README.md doc/ChangeLog doc/cmd.txt )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use doc && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# FIXME @upstream:
|
||||||
|
einfo "Converting doc/cmd.txt to UTF-8"
|
||||||
|
iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die
|
||||||
|
mv -f doc/cmd.txt.tmp doc/cmd.txt || die
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
|
||||||
|
sed -e "/^include.*compilerFlags/s/^/#DONT /" -i CMakeLists.txt || die
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCMAKE_CXX_STANDARD=14
|
||||||
|
-DEXIV2_BUILD_SAMPLES=NO
|
||||||
|
-DEXIV2_ENABLE_NLS=$(usex nls)
|
||||||
|
-DEXIV2_ENABLE_PNG=$(usex png)
|
||||||
|
-DEXIV2_ENABLE_CURL=$(usex webready)
|
||||||
|
-DEXIV2_ENABLE_SSH=$(usex webready)
|
||||||
|
-DEXIV2_ENABLE_WEBREADY=$(usex webready)
|
||||||
|
-DEXIV2_ENABLE_XMP=$(usex xmp)
|
||||||
|
-DEXIV2_ENABLE_BMFF=$(usex bmff)
|
||||||
|
$(multilib_is_native_abi || echo -DEXIV2_BUILD_EXIV2_COMMAND=NO)
|
||||||
|
$(multilib_is_native_abi && echo -DEXIV2_BUILD_DOC=$(usex doc))
|
||||||
|
$(multilib_is_native_abi && echo -DEXIV2_BUILD_UNIT_TESTS=$(usex test))
|
||||||
|
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
cmake_src_compile
|
||||||
|
|
||||||
|
if multilib_is_native_abi; then
|
||||||
|
use doc && eninja doc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
if multilib_is_native_abi; then
|
||||||
|
cd "${BUILD_DIR}"/bin || die
|
||||||
|
./unit_tests || die "Failed to run tests"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} )
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
docinto examples
|
||||||
|
dodoc samples/*.cpp
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST ueberzugpp-2.8.0.tar.gz 38768 BLAKE2B 80c879196339e3ce8fc5aeb2a87df8d3785021f72e5c0e47c55026d5cefc8cd3caa2174fea8413c642f54190970480488a6ec09d93e765b59dcf6616369dfbb7 SHA512 a5fceec97300cc3ada6c087fadc3b2d70f574207c5fd3f682c1a56b877c2b76ff40abe0ae76767e22ae82742be2bedee782e0ec86d200d28a15061bc1b4c2696
|
DIST ueberzugpp-2.8.0.tar.gz 38768 BLAKE2B 80c879196339e3ce8fc5aeb2a87df8d3785021f72e5c0e47c55026d5cefc8cd3caa2174fea8413c642f54190970480488a6ec09d93e765b59dcf6616369dfbb7 SHA512 a5fceec97300cc3ada6c087fadc3b2d70f574207c5fd3f682c1a56b877c2b76ff40abe0ae76767e22ae82742be2bedee782e0ec86d200d28a15061bc1b4c2696
|
||||||
DIST ueberzugpp-2.8.2.tar.gz 42004 BLAKE2B 44fea9fa7367f38d4a93e8dabc2cba21a693ef5dcc7f0d652ddf363ba0e236ba0190e27781a3c350558163b498b8c042693872e8937776312eb8c9aa848e71ca SHA512 0f726cbef3a107e0bc040bec8eea31d4b153b4e43bf04f6ea3038fe30a2141f06686fd77bcb44c73fcd32084a7740b740ef3343b30be848fa46bd4162b8095e9
|
DIST ueberzugpp-2.8.2.tar.gz 42004 BLAKE2B 44fea9fa7367f38d4a93e8dabc2cba21a693ef5dcc7f0d652ddf363ba0e236ba0190e27781a3c350558163b498b8c042693872e8937776312eb8c9aa848e71ca SHA512 0f726cbef3a107e0bc040bec8eea31d4b153b4e43bf04f6ea3038fe30a2141f06686fd77bcb44c73fcd32084a7740b740ef3343b30be848fa46bd4162b8095e9
|
||||||
|
DIST ueberzugpp-2.8.3.tar.gz 42663 BLAKE2B 4889cc2ac7b22541c7d1c89d1a60cd6d091b4ce996f4c8b3166707cec236db3a28a72def0a9a9379d2fdb55cb0390c02e9996007abc3331da390a911843ebdcc SHA512 f3cc95e8b6ce06b30c2fcb749cb5cf0c77f982c3eb3e0e12fd34cad6820e9a7ae91ee3ff6f325edc7b764f69e33f2c9a8a2b4d34d3f22a87fb8c6e4f6dfed59e
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Drop in replacement for ueberzug written in C++"
|
||||||
|
HOMEPAGE="https://github.com/jstkdng/ueberzugpp/"
|
||||||
|
SRC_URI="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="X opencv"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-cpp/tbb:=
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/libfmt:=
|
||||||
|
dev-libs/openssl:=
|
||||||
|
dev-libs/spdlog:=
|
||||||
|
media-libs/libsixel
|
||||||
|
media-libs/vips:=
|
||||||
|
net-libs/zeromq:=
|
||||||
|
X? (
|
||||||
|
x11-libs/libxcb:=
|
||||||
|
x11-libs/xcb-util-image
|
||||||
|
)
|
||||||
|
opencv? ( media-libs/opencv:= )
|
||||||
|
!media-gfx/ueberzug"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-cpp/cli11
|
||||||
|
dev-cpp/ms-gsl
|
||||||
|
dev-cpp/nlohmann_json
|
||||||
|
net-libs/cppzmq
|
||||||
|
X? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
CMAKE_BUILD_TYPE=Release # install target wants this
|
||||||
|
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DENABLE_OPENCV=$(usex opencv)
|
||||||
|
-DENABLE_X11=$(usex X)
|
||||||
|
-DENABLE_TURBOBASE64=no # not packaged
|
||||||
|
-DFETCHCONTENT_FULLY_DISCONNECTED=yes
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
# not handled by cmake, but upstream creates the pp symlink in their
|
||||||
|
# self-maintained AUR package and some scripts like ytfzf look for it
|
||||||
|
dosym ueberzug /usr/bin/${PN}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue