Sync with portage [Fri May 27 13:24:29 MSK 2022].

akrasnyh 2278
root 2 years ago
parent c7d5fed1ca
commit 34f1aa2f6a

Binary file not shown.

Binary file not shown.

@ -8,3 +8,4 @@ DIST aws-cli-1.24.5.gh.tar.gz 2215786 BLAKE2B db9077cfe3cf561109dea9ce1395f9d5bb
DIST aws-cli-1.24.6.gh.tar.gz 2216124 BLAKE2B 584c1b5f6bc76f565346734b3d1b5a877f0f91085f959712c6310a2609ab3089191a7f89755763422b55a6b0e6e1549d818cdb7ed2bbf1c0e7e4e4d60279e515 SHA512 dcfff4a5308d33dc91fd0569b0045842e59776d496e6a39d734c0ed082e127470e672059c1443785b1d563eb6722c775ba9ecafb6bab17d423fc7db6dba243a0
DIST aws-cli-1.24.7.gh.tar.gz 2216941 BLAKE2B 132c5e1bf0ba26f5a1b25bdfaa24138d4b664d98c35edb33061513859fb52817b6fd0d3e8a18331621134f2e222bfd087f2ed30f4b23ee4960dbd5a5762decc4 SHA512 0f87ab2312171efc99fd4666c0d8935a9bb88d6ad1653ddf3a071d3ba5b36f69bbef1fe24f32c63d5e0991281cd15a9312a1f2827ad23da472aa23f58fe67b3d
DIST aws-cli-1.24.8.gh.tar.gz 2218012 BLAKE2B 1b2459045646524fac28ab792554e20dd1dc73acc121f155e25a1ad99d56a269d083f4b96ac059e3ab32752b225db6afccff55d58cdf8a7a29ff4f60d16e5cb0 SHA512 2c9bc27516ea9bfc369b2c76052a9dc2e1776675d240b3bf5050a5db6ad4cb98ddb69cb56243b0e7451e4dc202e44dedb8ea4ba798763b87780b89f1d7775583
DIST aws-cli-1.24.9.gh.tar.gz 2218350 BLAKE2B 9e2a672330a7fa9c814a02786e99830943bb4243a358d0b82e17b25ce1e3dd40475d2086477f292b9c1c185078e28a1a9d10e9087a5b3b7e87d3e72821d726d4 SHA512 f4f256153c9b66fb9686319050b1a16690bcab5070b05409f2667260f15b22e1ef398025a3f8d6e36d93892186066243b87da9a1bdf43f673b1a8a6848a4adb5

@ -0,0 +1,71 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit bash-completion-r1 distutils-r1 multiprocessing
MY_P=aws-cli-${PV}
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="
https://github.com/aws/aws-cli/
https://pypi.org/project/awscli/
"
SRC_URI="
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
# botocore is x.(y+2).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
RDEPEND="
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# do not rely on bundled deps in botocore (sic!)
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
# strip overzealous upper bounds on requirements
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
distutils-r1_src_prepare
}
python_test() {
# integration tests require AWS credentials and Internet access
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
}
python_install_all() {
newbashcomp bin/aws_bash_completer aws
insinto /usr/share/zsh/site-functions
newins bin/aws_zsh_completer.sh _aws
distutils-r1_python_install_all
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
}

@ -1,4 +1,5 @@
DIST consul-1.12.0-deps.tar.xz 252403904 BLAKE2B 742eaeaf4c24276de9b66d8d6b8f3b51d836d41b8466e7be23a00e3787132f8a0ffad7bf6e8c288797d8de52885ec4c72f43206022d6d4d2a1b89febd878531d SHA512 11087675a0d353c94576609986a7ddf777e8454e90161e35f80f1592ea3af48477684ec63d1ed870db71066a58c21977b7e9d58a5408c65fee213d64f152671a
DIST consul-1.12.0.tar.gz 23969785 BLAKE2B 57a13905917bac77793be26fb5ac7e668233400e1f9c8eceace3463018cd8fee06b6f5a3753c8eeb250c276f8c95afd63b3b6ae1a7d847dc5adaa11880e52f53 SHA512 c83a5b9e68f46e5f458fb607f60d80fa7bc2dd46000c60bd9838fb03ea925ec5f0c0a4336f9052f70f805b41b4dd8fc872f5f6e883de5da29a87f5273507f31e
DIST consul-1.12.1.tar.gz 24196810 BLAKE2B b82929de9228adaaf1bbf3a4269dd09e17b51f769d0bf040b86949dd8648e1f0b813e5cc5d5e9704b964ef5185074f58ac7347e049be6bc493cc96e4b977e22b SHA512 33925b20a81c7ab9873e5dfc24c26d14c86494c03de0a4030304bf4ac0169b59843337ef05f0564fa69de9dba08e350774e7ae62c6914769d8f0d4cb625e4910
DIST consul-1.9.17-deps.tar.xz 214799320 BLAKE2B c9fe5511156d50d4155ed6050186af894b7efc29e2f311ff542f79d298769b2dc55ee1bba12ca5ba5b81eddb6959a1d7a5e55aeb533827d5e924d3a72853a418 SHA512 be9f417e721372b8eaffe8b908f1ca1d1299c897f032cfb8b7ea8b62f7c2689011c5079a450fb5eed2e4e5454f0ad6a5e3859c91bd67166193334d100968f093
DIST consul-1.9.17.tar.gz 29480703 BLAKE2B c233eab63ea515f886234395100e47910c1acdefa0b29af5bbc96d6c078dae41e0cd4150e1f6f17daac972b3e66d3abe43b594a0c37bff790e43f0f3c0a20da2 SHA512 c859fbede7294884befd0c70469febed5a4269b21cb351f8619d13e3b29f9b8bdd8d18e9611ef34908fc54bd38f2fd0bbc6e96d4e08ab23da952c3db537fb92c

@ -0,0 +1,51 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit go-module systemd
DESCRIPTION="A tool for service discovery, monitoring and configuration"
HOMEPAGE="https://www.consul.io"
GIT_COMMIT="e57f76ae5cce9e70738aadb16f1e47d7c4c257f4"
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~zmedico/dist/consul-1.12.0-deps.tar.xz"
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
RESTRICT+=" test"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-go/gox"
COMMON_DEPEND="
acct-group/consul
acct-user/consul"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
src_compile() {
# The dev target sets causes build.sh to set appropriate XC_OS
# and XC_ARCH, and skips generation of an unused zip file,
# avoiding a dependency on app-arch/zip.
GIT_DESCRIBE="v${PV}" \
GIT_DIRTY="" \
GIT_COMMIT="${GIT_COMMIT}" \
emake dev-build
}
src_install() {
dobin bin/consul
keepdir /etc/consul.d
insinto /etc/consul.d
doins "${FILESDIR}/"*.json.example
keepdir /var/log/consul
fowners consul:consul /var/log/consul
newinitd "${FILESDIR}/consul.initd" "${PN}"
newconfd "${FILESDIR}/consul.confd" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/consul.service"
}

@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/project/kpcli/${P}.pl"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
RDEPEND="dev-perl/Clone
dev-perl/Crypt-Rijndael

Binary file not shown.

@ -1,3 +1,4 @@
DIST elasticsearch-6.8.23.tar.gz 149672445 BLAKE2B dd7b080f1496f3a20755c183befae74194eab05b04c6f77679e9dad6067eef5222a4c7ce43d6267f1233a7bf864c6f8b23d5caf52278e1fe5f48f465e6603113 SHA512 73258b400cd194768058105a74ca0e811962ccf81bed8c4d3a824d4e5b97a8178a31150e60602fa1e04c6764b139980eb45ae6f246864702120653b45120b597
DIST elasticsearch-7.17.3-no-jdk-linux-x86_64.tar.gz 167378547 BLAKE2B 4bacb075e94587351bb4638da15644ed372ec1ad2b72e1c9b84c511e84666f6b79ccc8519ce5fede119e6c134ac500a1209578f18a26fd8566646e870a17f9ba SHA512 f2d5953710adfe31f1e30a0fdf4c091c0493f613a83927ddec4bbc74d2eccb839e1ffa6d44636ad0ad9c07613915847cc7a68fc87e465a8a851c96e023917bf1
DIST elasticsearch-8.2.0-linux-x86_64.tar.gz 529729465 BLAKE2B e176a047e49b343673c6f20e45d6ff96650e4ebb6b0d9d09450e4fb435ac56e22527be32c4327b5667ce6b4dbd6824477fc445c1db3e78a42e9c6bd01a1f5934 SHA512 f5e48538a835d61b7321133158c988b536945451f783964a10f50a0208aa46c013c2e55b86a5f4ec06c7ac61700c0f41d47124c91e4bf93b24ad3f150933a77d
DIST elasticsearch-oss-6.8.23.tar.gz 68573265 BLAKE2B 80366fdc4eaaf45161a36da112397938a82d08d842d82dd5a9311abf63ca20afb93ecc06387c6852bbb1a861306382d6e7c2314e67635b6f2e75cdc183057ad8 SHA512 14dbb2809b06499373c3ec5035d829d62255c2c93103618fbfe3d7d03cecf8847f654e83c78f765f23224126ff18ed713b959857e8ecf435c475b11bcd143d3f

@ -0,0 +1,94 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd tmpfiles
DESCRIPTION="Free and Open, Distributed, RESTful Search Engine"
HOMEPAGE="https://www.elastic.co/elasticsearch/"
SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz"
LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}/${PN}-env.patch"
)
DEPEND="acct-group/elasticsearch
acct-user/elasticsearch"
RDEPEND="acct-group/elasticsearch
acct-user/elasticsearch
sys-libs/zlib
virtual/jre:17"
QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
src_prepare() {
default
rm -rf jdk || die
sed -i -e "s:logs/:/var/log/${PN}/:g" config/jvm.options || die
rm LICENSE.txt NOTICE.txt || die
rmdir logs || die
}
src_install() {
keepdir /etc/${PN}
keepdir /etc/${PN}/scripts
insinto /etc/${PN}
doins -r config/.
rm -r config || die
fowners -R root:${PN} /etc/${PN}
fperms -R 2750 /etc/${PN}
insinto /usr/share/${PN}
doins -r .
keepdir /usr/share/${PN}/plugins
exeinto /usr/share/${PN}/bin
doexe ${FILESDIR}/elasticsearch-systemd-pre-exec
fperms -R +x /usr/share/${PN}/bin
fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin
keepdir /var/{lib,log}/${PN}
fowners ${PN}:${PN} /var/{lib,log}/${PN}
fperms 0750 /var/{lib,log}/${PN}
insinto /etc/sysctl.d
newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
newconfd "${FILESDIR}/${PN}.conf.4" ${PN}
newinitd "${FILESDIR}/${PN}.init.8" ${PN}
systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service
newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
}
pkg_postinst() {
# Elasticsearch will choke on our keep file and dodir will not preserve the empty dir
rm /usr/share/${PN}/plugins/.keep* || die
tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf
if [ ! systemd_is_booted ]; then
elog "You may create multiple instances of ${PN} by"
elog "symlinking the init script:"
elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
elog
elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
elog "from /etc/${PN} into the configuration directory of the instance:"
elog "/etc/${PN}/instance"
elog
fi
ewarn "Please make sure you have proper permissions on /etc/${PN}"
ewarn "prior to keystore generation or you may experience startup failures."
ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
}

@ -0,0 +1,24 @@
Since ES 8.0.0 upstream stopped distributing a 'no-JDK' package.
This requires us to set `ES_JAVA_HOME` else it fails to find the
JDK that we unbundled and will not start.
--- a/bin/elasticsearch-env
+++ b/bin/elasticsearch-env
@@ -36,6 +36,18 @@ ES_HOME=`dirname "$ES_HOME"`
ES_CLASSPATH="$ES_HOME/lib/*"
LAUNCHERS_CLASSPATH="$ES_CLASSPATH:$ES_HOME/lib/launchers/*"
+# Set our JVM in a Gentoo-specific manner
+if [ -z "$ES_JAVA_HOME" ]; then
+ GENTOO_VM=$(depend-java-query --get-vm virtual/jre:17)
+ if [ ! -z "$GENTOO_VM" ]; then
+ ES_JAVA_HOME=$(java-config-2 --select-vm=${GENTOO_VM} --jre-home)
+ else
+ echo "Unable to automatically detect a supported Java 17 VM. Elasticsearch is unlikely to launch."
+ echo "Please ensure that you have installed an appropriate Java VM using portage"
+ echo "OR pass the ES_JAVA_HOME environment variable."
+ fi
+fi
+
# now set the path to java
if [ ! -z "$ES_JAVA_HOME" ]; then
JAVA="$ES_JAVA_HOME/bin/java"

@ -0,0 +1,67 @@
[Unit]
Description=Elasticsearch
Documentation=https://www.elastic.co
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
RuntimeDirectory=elasticsearch
PrivateTmp=true
Environment=ES_HOME=/usr/share/elasticsearch
Environment=ES_PATH_CONF=/etc/elasticsearch
WorkingDirectory=/usr/share/elasticsearch
ExecStartPre=+"/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec"
User=elasticsearch
Group=elasticsearch
ExecStart=/usr/share/elasticsearch/bin/elasticsearch \
-p ${PID_DIR}/elasticsearch.pid \
-Epath.logs=${LOG_DIR} \
-Epath.data=${DATA_DIR} \
--quiet
# StandardOutput is configured to redirect to journalctl since
# some error messages may be logged in standard output before
# elasticsearch logging system is initialized. Elasticsearch
# stores its logs in /var/log/elasticsearch and does not use
# journalctl by default. If you also want to enable journalctl
# logging, you can simply remove the "quiet" option from ExecStart.
StandardOutput=journal
StandardError=inherit
# Specifies the maximum file descriptor number that can be opened by this process
LimitNOFILE=65535
# Specifies the maximum number of processes
LimitNPROC=4096
# Specifies the maximum size of virtual memory
LimitAS=infinity
# Specifies the maximum file size
LimitFSIZE=infinity
# Disable timeout logic and wait until process is stopped
TimeoutStopSec=0
# SIGTERM signal is used to stop the Java process
KillSignal=SIGTERM
# Send the signal only to the JVM rather than its control group
KillMode=process
# Java process is never killed
SendSIGKILL=no
# When a JVM receives a SIGTERM signal it exits with code 143
SuccessExitStatus=143
# Allow a slow startup before the systemd notifier module kicks in to extend the timeout
TimeoutStartSec=75
[Install]
WantedBy=multi-user.target

@ -1,10 +0,0 @@
diff --git a/requirements/base.txt b/requirements/base.txt
index fb2ab61..17e3516 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -1,4 +1,4 @@
kaptan>=0.5.10
libtmux>=0.8,<0.9
-click>=7,<8
+click>=7
colorama>=0.3.9

Binary file not shown.

@ -1 +1,2 @@
DIST heimdall-1.4.2.tar.gz 5486693 BLAKE2B 213bfa5bb7ede8d418847916a5ec16c17e4dec7fcb07de296d96e16c929634167afb57e13cee0e8a6e42fbbddcd2f2e0f5069cfbc3e8c3b5721d2d303ef48407 SHA512 c554662f9ccb763a8e9867a0c563618879d2533af985d44db3c237d3ee51add44c1681d13b1a83b72b30ba6e5b32d7c2f9c02b31114c67c5fbe01cbb010acfe7
DIST heimdall-2.0.1.tar.gz 83642 BLAKE2B 29cd784a4ea4c25f9670d27c306ca95d60d7ad8a11175d2ee835a0cf1e7fc5eb179aa4e49c5e05e280ed5ce475a9e66e56b48444dd4b3b93ea8cb173e3d18060 SHA512 f6df4551702a7ad7688018d60569b8b94f20be4f78a9b4bf5f6e89396ed43cd7519617ef1f420b41bbfeec8b51ae636759a7b90443d3d5945cd8744b43e2d0ef

@ -0,0 +1,52 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake udev
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64"
S="${WORKDIR}/Heimdall-v${PV}"
else
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall"
fi
DESCRIPTION="Tool suite used to flash firmware onto Samsung devices"
HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall"
LICENSE="MIT"
SLOT="0"
IUSE="gui"
RDEPEND="
sys-libs/zlib
virtual/libusb:1=
gui? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DDISABLE_FRONTEND=$(usex !gui)
)
cmake_src_configure
}
src_install() {
dobin "${BUILD_DIR}"/bin/heimdall
use gui && dobin "${BUILD_DIR}"/bin/heimdall-frontend
udev_dorules heimdall/60-heimdall.rules
dodoc README.md Linux/README
}
pkg_postinst() {
udev_reload
}

@ -1,21 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake udev
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/Heimdall-${PV}"
SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64"
S="${WORKDIR}/Heimdall-v${PV}"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git"
EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall"
fi
DESCRIPTION="Tool suite used to flash firmware onto Samsung devices"
HOMEPAGE="https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall"
HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall"
LICENSE="MIT"
SLOT="0"
@ -46,3 +46,7 @@ src_install() {
udev_dorules heimdall/60-heimdall.rules
dodoc README.md Linux/README
}
pkg_postinst() {
udev_reload
}

@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">Benjamin-Dobell/Heimdall</remote-id>
</upstream>
<maintainer type="person" proxied="yes">
<email>duje.mihanovic@skole.hr</email>
<name>Duje Mihanović</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

Binary file not shown.

@ -1,2 +1 @@
DIST discount-2.2.7.tar.bz2 102277 BLAKE2B 58ec3bce2b8fc41a090d9b81b4326cbf54e36bf774f4f9ef63c2a2b1d34ba464e9f0a021f19b4fef165da426742af3045a631af005371d1a8a4cd81dc0be3367 SHA512 1b61eb7c625bb50da0dbe97350a0ccbb15930ccaef449c4b4659950907bce3c0564dabf20578379a7fdd0e375f5d4d5b61acd34db474a85e942b60373688bd08
DIST discount-2.2.7b.tar.bz2 102685 BLAKE2B 1af4d47248e4a65ea1517b03d0b1a0b15eb79bdb7d1f00779515e2a1113b2a923f5d9e5d0a93d63cfc6c7257f11d3825d9baa55c7f2252fe3d2513785ab67ae3 SHA512 d68ffb85ae3e6d6ce8a2e506609bd4cb042617e350d113dd632a1ed81adb0b076df75ca4e70e97d43f3a3a2907555a9f28087a3762f41806289c526af3c55806

@ -1,67 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A Markdown-to HTML translator written in C"
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
IUSE="minimal test"
RESTRICT="!test? ( test )"
src_prepare() {
default
# for QA, we remove the Makefiles usage of install -s.
# Drop ldconfig invocation.
# Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
# at that point).
sed -i \
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \
-e 's/\(LDCONFIG=\).*/\1:/' \
-e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
configure.inc || die "sed configure.inc failed"
}
src_configure() {
local configure_call=(
./configure.sh
--libdir="${EPREFIX}/usr/$(get_libdir)"
--prefix="${EPREFIX}/usr"
--mandir="${EPREFIX}/usr/share/man"
--shared
--pkg-config
$(usex minimal '' --enable-all-features)
# Enable deterministic HTML generation behavior. Otherwise, will
# actually call rand() as part of its serialization code...
--debian-glitch
)
einfo "Running ${configure_call[@]}"
CC="$(tc-getCC)" AR="$(tc-getAR)" \
"${configure_call[@]}" || die
}
src_compile() {
emake libmarkdown
emake
}
src_install() {
emake \
DESTDIR="${D}" \
$(usex minimal install install.everything) \
SAMPLE_PFX="${PN}-"
}
pkg_postinst() {
if ! use minimal; then
elog 'Sample binaries with overly-generic names have been'
elog "prefixed with \"${PN}-\"."
fi
}

@ -1,11 +0,0 @@
diff -ur qpdfview-0.4.18.orig/sources/model.h qpdfview-0.4.18/sources/model.h
--- a/sources/model.h 2019-07-24 21:18:33.000000000 +0200
+++ b/sources/model.h 2020-05-29 11:44:33.012891583 +0200
@@ -27,6 +27,7 @@
#include <QtPlugin>
#include <QWidget>
#include <QVector>
+#include <QPainterPath>
class QAbstractItemModel;
class QColor;

Binary file not shown.

@ -1,3 +1,4 @@
DIST timescaledb-2.5.2.tar.gz 2773859 BLAKE2B 918768e21ea43de2678c2ce12c5ea9faa9794eb48d4f1003c898d5510330d25c319b30323692facff78f95ee417a4cd4ec0e78363de17c4746aeb3f42c0b5bba SHA512 28cc4b4a786c62651aa9e499bb82bbc079307ed237a8c2478d5fbd4d6aaa9bb43bf3c1df971f76921d25112761a79dc9dec31d663fa31caca38b0c822f2026b0
DIST timescaledb-2.6.0.tar.gz 2863860 BLAKE2B 14b7bbfcfe1ca874ef24a7d31f3855f78cde0be57022251e1b1eb141819e19af45a2269123583a2d97c08c778aed38d9662cd4a6ff9c44281a605b8c0faed1ec SHA512 b076a44e3b30e99986dba710079cdc1a38b59a9d65ecd9f78fa16f3b762f253d7a9236a34a4d7e7beb29c1051113ea8877973e07ed3116012c9d2175a77e2edc
DIST timescaledb-2.6.1.tar.gz 2876847 BLAKE2B 6053e69fd6f7b86287c0ae54966a9e7528cf371d2952b6edfe80c0c616c4fcaccf04fa1f3af5f7ed787e85b7b12ac00e709664552c79561f7b4e503891cb5dd4 SHA512 edcc84c37af9670c1a7bf527f5c430405e9b04e9a35e676d04e7ac70b20184032f992d05545a180b50ac2346b076aac4fc98348c355006345394910978864a8f
DIST timescaledb-2.7.0.tar.gz 2962972 BLAKE2B 37a0c3c7f51936d888492b7be59d2abc635bead3681a0414c5b7bfaca6b70a162638d5f9cf8368bfd49e2a8a03bbcdbf4fde853466edebbbc8a38d57ef567674 SHA512 fb07e06be36c2a59fbbaa77c7cbc3b564ce26b8f508211ec10b19b2e9bf08afed2e734b9a578b97ed99af95936a8f722cbc4cf2b5c6952df739e777ea96bf414

@ -0,0 +1,67 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
POSTGRES_COMPAT=( 12 13 14 )
POSTGRES_USEDEP="ssl"
inherit postgres-multi cmake
DESCRIPTION="Open-source time-series SQL database"
HOMEPAGE="https://www.timescale.com/"
SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
IUSE="proprietary-extensions"
LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )"
KEYWORDS="~amd64"
SLOT=0
RESTRICT="test"
DEPEND="${POSTGRES_DEP}"
RDEPEND="${DEPEND}"
CMAKE_IN_SOURCE_BUILD=yes
CMAKE_BUILD_TYPE="RelWithDebInfo"
BUILD_DIR=${WORKDIR}/${P}
src_prepare() {
postgres-multi_src_prepare
postgres-multi_foreach cmake_src_prepare
}
timescale_configure() {
local CMAKE_USE_DIR=$BUILD_DIR
local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" )
# licensing is tied to features, this useflag disables the non-apache2 licensed bits
if ! use proprietary-extensions ; then
mycmakeargs+=("-DAPACHE_ONLY=ON")
fi
cmake_src_configure
}
src_configure() {
postgres-multi_foreach timescale_configure
}
timescale_src_compile() {
local CMAKE_USE_DIR=$BUILD_DIR
cmake_src_compile
}
src_compile() {
postgres-multi_foreach timescale_src_compile
}
timescale_src_install() {
local CMAKE_USE_DIR=$BUILD_DIR
cmake_src_install
}
src_install() {
postgres-multi_foreach timescale_src_install
}

Binary file not shown.

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit golang-base toolchain-funcs
inherit go-module toolchain-funcs
DESCRIPTION="Automated Component Toolkit code generator"
HOMEPAGE="https://github.com/Autodesk/AutomaticComponentToolkit"
@ -14,7 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RESTRICT="strip test"
RESTRICT="test"
# Package does not follow the usual go directory structure
# Functions borrowed from dev-lang/go ebuild.

Binary file not shown.

@ -1,18 +0,0 @@
--- a/src/test/java/jakarta/mail/util/FactoryFinderTest.java
+++ b/src/test/java/jakarta/mail/util/FactoryFinderTest.java
@@ -23,6 +23,7 @@ import static org.junit.Assert.fail;
import java.util.ServiceConfigurationError;
import org.junit.Test;
+import org.junit.Ignore;
public class FactoryFinderTest {
@@ -39,6 +40,7 @@ public class FactoryFinderTest {
assertEquals(DummyStreamProvider.class, impl.getClass());
}
+ @Ignore
@Test
public void doesNotExist() {
try {

Binary file not shown.

@ -3,3 +3,4 @@ DIST elixir-1.12.1.tar.gz 2458060 BLAKE2B 512f016cb7f064f2b90a4d2dae4ffaf957422f
DIST elixir-1.12.2.tar.gz 2460047 BLAKE2B eebcb4b828bf445ece6bfceb40b228406a15b0d33fb6efcc2b34fa4a264d83c5d71aa9787c5b641e903fb97ba02da07f3edf76424136e3dab0248a65823f225f SHA512 4c19a6a0310606b3016b3699079dc5f667e348c86c92e7e998cbecbacd283f5f4ccdd3d83b757725ba637a39729e9d82673b596feee72e831d575630e2f3111a
DIST elixir-1.12.3.tar.gz 2461828 BLAKE2B cdae9bd7f3463b89dd737ce943d57b7f9801bf382500a274332e1cb87902ecc37bd6e7a53af4dd5c1cd6e6d9d64171e226e676cd8023252c86fdf028d80dd383 SHA512 945e33ca9c3e50015531f87630c1bc1b9966acc64bbf7d01c8c4f8cfc104ee1e08113f572f0ad6a9f5e8ee37e33144e58b2ac33dc0a2b01e1355fc5f8b1b9329
DIST elixir-1.13.3.tar.gz 2922197 BLAKE2B 47c98ffe24d11ea161e9b9fa55d3c8ee1c2234848707aeeaf715eb02a61b7d3e8784bf2599b4129a824edf004d1edda2f0a42252710d957cc0213202f86dc06d SHA512 88bf585e18bfefa54c1c771247ec489bc96d16cc0f88384e9c0c981ddb665cd7efccd49383b4de1fbbd823ecd0a5e65d76e3065c9ce3c45f2f4feccd01ace48e
DIST elixir-1.13.4.tar.gz 2912984 BLAKE2B 3849e7be7d1ba54ac3f96690f158b60a3b7da720e85a6c2ef38b078da795c1debaff319133eae6d5e77a7159f452b2ee6a7ad9ebbf7339391e4ee9ae8838d848 SHA512 cd3a28cd227bf60f09500563b7ad4700b2688e0361f975268d5fa81b530aee80ed4f8640335bf08a8c544a2f5d79dbf96c97f281bd3bf4582466a73a9d2edbec

@ -0,0 +1,37 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Elixir programming language"
HOMEPAGE="https://elixir-lang.org"
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 ErlPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-lang/erlang-22:0=[ssl]
"
# 'mix' tool collides with sci-biology/phylip, bug #537514
RDEPEND="${DEPEND}
!!sci-biology/phylip
"
DEPEND+="
test? ( dev-vcs/git )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.9.1-disable-network-tests.patch
"${FILESDIR}"/${PN}-1.10.3-no-Q.patch
"${FILESDIR}"/${PN}-1.10.3-epmd-daemon.patch
)
src_install() {
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" install
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
}

@ -0,0 +1,98 @@
From 830cc58f8a10598f4caa337ca97be51741945499 Mon Sep 17 00:00:00 2001
From: Ralf Jung <post@ralfj.de>
Date: Sun, 3 Apr 2022 20:00:03 -0400
Subject: [PATCH] rustup
gyakovlev: changed paths and removed irrelevant bits
---
rust-version | 2 +-
src/helpers.rs | 4 ++--
src/machine.rs | 2 +-
src/shims/env.rs | 2 +-
src/shims/foreign_items.rs | 4 ++--
src/shims/posix/foreign_items.rs | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/helpers.rs b/src/helpers.rs
index 3ffb983aa..7a63bb03d 100644
--- a/src/tools/miri/src/helpers.rs
+++ b/src/tools/miri/src/helpers.rs
@@ -510,7 +510,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
let this = self.eval_context_mut();
let target = &this.tcx.sess.target;
let target_os = &target.os;
- let last_error = if target.families.contains(&"unix".to_owned()) {
+ let last_error = if target.families.iter().any(|f| f == "unix") {
this.eval_libc(match err_kind {
ConnectionRefused => "ECONNREFUSED",
ConnectionReset => "ECONNRESET",
@@ -534,7 +534,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
)
}
})?
- } else if target.families.contains(&"windows".to_owned()) {
+ } else if target.families.iter().any(|f| f == "windows") {
// FIXME: we have to finish implementing the Windows equivalent of this.
this.eval_windows(
"c",
diff --git a/src/machine.rs b/src/machine.rs
index e9ed50724..b4b07a61a 100644
--- a/src/tools/miri/src/machine.rs
+++ b/src/tools/miri/src/machine.rs
@@ -227,7 +227,7 @@ impl MemoryExtra {
pub fn init_extern_statics<'tcx, 'mir>(
this: &mut MiriEvalContext<'mir, 'tcx>,
) -> InterpResult<'tcx> {
- match this.tcx.sess.target.os.as_str() {
+ match this.tcx.sess.target.os.as_ref() {
"linux" => {
// "environ"
Self::add_extern_static(
diff --git a/src/shims/env.rs b/src/shims/env.rs
index c2050647a..822bef56c 100644
--- a/src/tools/miri/src/shims/env.rs
+++ b/src/src/tools/miri/shims/env.rs
@@ -41,7 +41,7 @@ impl<'tcx> EnvVars<'tcx> {
mut excluded_env_vars: Vec<String>,
forwarded_env_vars: Vec<String>,
) -> InterpResult<'tcx> {
- let target_os = ecx.tcx.sess.target.os.as_str();
+ let target_os = ecx.tcx.sess.target.os.as_ref();
// HACK: Exclude `TERM` var to avoid terminfo trying to open the termcap file.
// This is (a) very slow and (b) does not work on Windows.
excluded_env_vars.push("TERM".to_owned());
diff --git a/src/shims/foreign_items.rs b/src/shims/foreign_items.rs
index ecffd310d..d9e4d9382 100644
--- a/src/tools/miri/src/shims/foreign_items.rs
+++ b/src/tools/miri/src/shims/foreign_items.rs
@@ -46,7 +46,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
fn min_align(&self, size: u64, kind: MiriMemoryKind) -> Align {
let this = self.eval_context_ref();
// List taken from `libstd/sys_common/alloc.rs`.
- let min_align = match this.tcx.sess.target.arch.as_str() {
+ let min_align = match this.tcx.sess.target.arch.as_ref() {
"x86" | "arm" | "mips" | "powerpc" | "powerpc64" | "asmjs" | "wasm32" => 8,
"x86_64" | "aarch64" | "mips64" | "s390x" | "sparc64" => 16,
arch => bug!("Unsupported target architecture: {}", arch),
@@ -695,7 +695,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
}
// Platform-specific shims
- _ => match this.tcx.sess.target.os.as_str() {
+ _ => match this.tcx.sess.target.os.as_ref() {
"linux" | "macos" => return shims::posix::foreign_items::EvalContextExt::emulate_foreign_item_by_name(this, link_name, abi, args, dest, ret),
"windows" => return shims::windows::foreign_items::EvalContextExt::emulate_foreign_item_by_name(this, link_name, abi, args, dest, ret),
target => throw_unsup_format!("the target `{}` is not supported", target),
diff --git a/src/shims/posix/foreign_items.rs b/src/shims/posix/foreign_items.rs
index 02fb7089c..36bf53059 100644
--- a/src/tools/miri/src/shims/posix/foreign_items.rs
+++ b/src/tools/miri/src/shims/posix/foreign_items.rs
@@ -462,7 +462,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
// Platform-specific shims
_ => {
- match this.tcx.sess.target.os.as_str() {
+ match this.tcx.sess.target.os.as_ref() {
"linux" => return shims::posix::linux::foreign_items::EvalContextExt::emulate_foreign_item_by_name(this, link_name, abi, args, dest, ret),
"macos" => return shims::posix::macos::foreign_items::EvalContextExt::emulate_foreign_item_by_name(this, link_name, abi, args, dest, ret),
_ => unreachable!(),

@ -12,7 +12,7 @@
<use>
<flag name="clippy">Install clippy, Rust code linter</flag>
<flag name="dist">Install dist tarballs (used for bootstrapping)</flag>
<flag name="miri">Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly)</flag>
<flag name="miri">Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly, sometimes is broken)</flag>
<flag name="nightly">Enable nightly (UNSTABLE) features (NOTE: it does not install nightly version, just enables features marked as nightly at time of release)</flag>
<flag name="parallel-compiler">Build a multi-threaded rustc (experimental, not tested by upstream)</flag>
<flag name="profiler">Build the profiler runtime and rust-demangler tool (needed for '-C profile-generate' or '-C instrument-coverage' codegen opts)</flag>
@ -20,7 +20,7 @@
<flag name="rustfmt">Install rustfmt, Rust code formatter</flag>
<flag name="rust-src">Install rust-src, needed by developer tools and for build-std (cross)</flag>
<flag name="system-bootstrap">Bootstrap using installed rust compiler</flag>
<flag name="system-llvm">Use the system LLVM install</flag>
<flag name="system-llvm">Use the system LLVM installation</flag>
<flag name="wasm">Build support for the wasm32-unknown-unknown target</flag>
</use>
</pkgmetadata>

@ -158,6 +158,7 @@ PATCHES=(
"${FILESDIR}"/1.61.0-gentoo-musl-target-specs.patch
"${FILESDIR}"/1.61.0-llvm_selectInterleaveCount.patch
"${FILESDIR}"/1.61.0-llvm_addrspacecast.patch
"${FILESDIR}"/1.61.0-miri-cow.patch
)
S="${WORKDIR}/${MY_P}-src"
@ -258,7 +259,7 @@ src_prepare() {
}
src_configure() {
local rust_target="" rust_targets="" arch_cflags
local rust_target="" rust_targets="" arch_cflags use_libcxx="false"
# Collect rust target names to compile standard libs for all ABIs.
for v in $(multilib_get_enabled_abi_pairs); do
@ -307,6 +308,14 @@ src_configure() {
rust_target="$(rust_abi)"
# https://bugs.gentoo.org/732632
if tc-is-clang; then
local clang_slot="$(clang-major-version)"
if { has_version "sys-devel/clang:${clang_slot}[default-libcxx]" || is-flagq -stdlib=libc++; }; then
use_libcxx="true"
fi
fi
cat <<- _EOF_ > "${S}"/config.toml
changelog-seen = 2
[llvm]
@ -318,6 +327,7 @@ src_configure() {
targets = "${LLVM_TARGETS// /;}"
experimental-targets = ""
link-shared = $(toml_usex system-llvm)
use-libcxx = ${use_libcxx}
$(case "${rust_target}" in
i586-*-linux-*)
# https://github.com/rust-lang/rust/issues/93059
@ -325,6 +335,8 @@ src_configure() {
echo 'cxxflags = "-fcf-protection=none"'
echo 'ldflags = "-fcf-protection=none"'
;;
*)
;;
esac)
[build]
build-stage = 2

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 638f39f7e..791477c41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -787,7 +787,7 @@ else()
set(ZIG1_RELEASE_ARG -OReleaseFast --strip)
endif()
if(ZIG_SINGLE_THREADED)
- set(ZIG1_SINGLE_THREADED_ARG "-fsingle-threaded")
+ set(ZIG1_SINGLE_THREADED_ARG "--single-threaded")
else()
set(ZIG1_SINGLE_THREADED_ARG "")
endif()

@ -3,9 +3,10 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="stage2">Install stage2 alongside stage1</flag>
<flag name="stage2">Install stage2 compiler (written in Zig) alongside stage1 compiler (written in C++ and Zig)</flag>
</use>
<upstream>
<remote-id type="github">ziglang/zig</remote-id>
<bugs-to>https://github.com/ziglang/zig/issues</bugs-to>
</upstream>
</pkgmetadata>

@ -18,9 +18,11 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="test"
IUSE="test +threads"
RESTRICT="!test? ( test )"
PATCHES=("${FILESDIR}/${P}-fix-single-threaded.patch")
BUILD_DIR="${S}/build"
# According to zig's author, zig builds that do not support all targets are not
@ -56,6 +58,7 @@ src_configure() {
local mycmakeargs=(
-DZIG_USE_CCACHE=OFF
-DZIG_PREFER_CLANG_CPP_DYLIB=ON
-DZIG_SINGLE_THREADED="$(usex threads OFF ON)"
)
cmake_src_configure

@ -18,7 +18,7 @@ fi
LICENSE="MIT"
SLOT="0"
IUSE="test +stage2"
IUSE="test +stage2 +threads"
RESTRICT="!test? ( test )"
BUILD_DIR="${S}/build"
@ -59,6 +59,7 @@ src_configure() {
local mycmakeargs=(
-DZIG_USE_CCACHE=OFF
-DZIG_PREFER_CLANG_CPP_DYLIB=ON
-DZIG_SINGLE_THREADED="$(usex threads OFF ON)"
)
cmake_src_configure
@ -69,7 +70,7 @@ src_compile() {
if use stage2 ; then
cd "${BUILD_DIR}" || die
./zig build -p stage2 -Dstatic-llvm=false -Denable-llvm=true || die
./zig build -p stage2 -Dstatic-llvm=false -Denable-llvm=true -Dsingle-threaded="$(usex threads false true)" || die
fi
}
@ -88,6 +89,9 @@ src_install() {
fi
}
# see https://github.com/ziglang/zig/issues/3382
QA_FLAGS_IGNORED="/usr/bin/zig-stage2"
pkg_postinst() {
use stage2 && elog "You enabled stage2 USE flag, Zig stage1 was installed as /usr/bin/zig, Zig stage2 was installed as /usr/bin/zig-stage2"
}

Binary file not shown.

@ -12,7 +12,7 @@ if [[ "${PV}" == *9999 ]] ; then
EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
else
SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"

@ -12,7 +12,7 @@ SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="examples static-libs unicode"
BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"

@ -1,2 +1,3 @@
DIST gnulib-5293ada82e1ea38e9e5cdd3724c73204d703f07b.tar.xz 4721720 BLAKE2B d0c70f4f33cbc3b7fcbef6ebe67d4ebac2a89fe8e9b1598fa00f0292ce2bc528ed6f5be123072c43c52f1234266bb6fb96b7881839ff884a39d2bce58a9f3ad7 SHA512 0f1822fb579649c3cd09ca8e69334d425f2024d780a98d7bbf38d26f36f174036fa066635513485ddd6e2ad485c7060ae9b101c1595891307a382e6aa9bc4226
DIST gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.xz 4711472 BLAKE2B 901fd3b3388210f090825829d1de43395819ee907574e2cf7c6586c93ef72afd26e68abc7ae27d1e462a703f1d3bedf37ffcf4d8924fed32a95bc94ae83399d5 SHA512 04ab346648a23a4f58dc2d818955ae145bc9c21c3b24a1719cdf48bb8116e3765de675bcf19747d64d43432db1bb406f403168f973f24811f9d126deadea7e7f
DIST gnulib-b451121ab45497e78cb6f612c8673a9705193391.tar.xz 4104308 BLAKE2B 099ebb4f4a7745e5b7367f48d8d9cc11d3ac1c03b59aed2801f684fb6433e3dc1efd6b801a864308f440edd6068c7d1bb1763887bcabe2da4f927f5507fa7f89 SHA512 ed97c589b8a39b1d41c0e2e6c0bafda4df99191b8aaae3feb5f46dffee5787d16ad2c4ca62bf50e2964f36691ef446f67540657b1b0cfc5c775acb88816fffb5

@ -0,0 +1,43 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GIT_TAG="5293ada82e1ea38e9e5cdd3724c73204d703f07b"
DESCRIPTION="Library of common routines intended to be shared"
HOMEPAGE="https://www.gnu.org/software/gnulib"
SRC_URI="https://git.savannah.gnu.org/cgit/${PN}.git/snapshot/${PN}-${GIT_TAG}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc"
S="${WORKDIR}/${PN}-${GIT_TAG}"
src_compile() {
if use doc; then
emake -C doc info html
fi
}
src_install() {
dodoc README ChangeLog
insinto /usr/share/${PN}
doins -r build-aux
doins -r doc
doins -r lib
doins -r m4
doins -r modules
doins -r tests
doins -r top
# install the real script
exeinto /usr/share/${PN}
doexe gnulib-tool
# create and install the wrapper
dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
}

@ -1,4 +1,2 @@
DIST libbsd-0.11.3.tar.xz 399712 BLAKE2B 1af04b8fcbc0bfa59fba549639d61a33ac934fe7ee42b506d1b0452e0b836b0bfdd3d8739de90465be46fe6a9d326a2d11bcf72280aa19ccba81db5da6d63d89 SHA512 a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5
DIST libbsd-0.11.5.tar.xz 409972 BLAKE2B 00c89ad1be351e7851538eac2744f5aef87b5937330d514d17af8a20a04bc6eab0e2bda61d0080da1d1439306b3b191ab68b4bc4cd8558ff0adfe402bfbf5b52 SHA512 c52c19eddd53630aca14f9f6221f7b84aa9cc798b4bb91e867822b161793313aab872ac1c0350d29312a72fee6e2061f3910ff918b724ec171d8c9de5837c841
DIST libbsd-0.11.6.tar.xz 416600 BLAKE2B 23f7a5ea765af559e0e63946014650074d4d33f9e6655afbe6f08fd38265408a9fe3cccff0d0827d08817354deee92e4c6fd5536fd6f08857813e8847989d15c SHA512 9dbbfb84340fc69f59667241701d81d176439ce168f123344805898a269f7bd0e98abf8c7fc12d9bf539d1effb19424d93b647cc9120f693327e736d339e6075
DIST libbsd-0.11.6.tar.xz.asc 833 BLAKE2B 895dee6d441da5e5b5b202dc2b5ea3635ba93352fdcd979fc3e58939dbd327b516b107d4e3c12d18dc824b6bc9793886e2a168add313d50884b1bd38d4f5f001 SHA512 29d77e53d251c641b00924c9c42b69b66eeb160ef0534e84a4ad1afd9009f87bda82f1b91d271efe37c676295add3fab01ce55aa6cd96aa0c5f34f9837b870cd

@ -1,42 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
DESCRIPTION="Library to provide useful functions commonly found on BSD systems"
HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
LICENSE="BSD BSD-2 BSD-4 ISC"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-3.17
"
pkg_setup() {
local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
if ! has_version ${CATEGORY}/${PN}; then
if [[ -e ${f} ]]; then
eerror "${m}"
die "You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
fi
fi
}
multilib_src_configure() {
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
# which is correct, see:
# https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
}
multilib_src_install() {
emake DESTDIR="${D}" install
find "${ED}" -type f -name "*.la" -delete || die
}

@ -1,33 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
DESCRIPTION="Library to provide useful functions commonly found on BSD systems"
HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
LICENSE="BSD BSD-2 BSD-4 ISC"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-3.17
"
multilib_src_configure() {
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
# which is correct, see:
# https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
}
multilib_src_install() {
emake DESTDIR="${D}" install
find "${ED}" -type f -name "*.la" -delete || die
}

@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://${PN}.freedesktop.org/releases/${P}.tar.xz.asc
LICENSE="BSD BSD-2 BSD-4 ISC"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]"

@ -1,8 +1,8 @@
DIST simdjson-1.0.0.tar.gz 1546728 BLAKE2B 6b70416404776b4fcc30cd3ab07b8048899bbe3497af779504a685bc2459424e82bd40bf100d7ed8ccfa05e871a0a1edd9eebd11294cdc3d1780797d7f79ba1e SHA512 dbf8abfeec5c079f4d87e8bf31d1af27601f7f0578ebb8ad28a25f496b4b771b68a75f9a11f61706c539d54c36a493a2d2819bd15427c3b7f7a0b36811177f17
DIST simdjson-1.0.2.tar.gz 1551616 BLAKE2B 534e312de977b82604595ccf889348545ed355fb9cfb6f618d42236122578f6102ce7bcd31204c3013dbeeff17c35effaff62531a7e17e5e83ac07150b1456ab SHA512 04a3bee2d847680aa1f55115007ceec01652bebb8d5187cfbca0af81bedff355cbac949862a82e3060071da1a58b62d5b028bcd91562b962756aa5cab614f073
DIST simdjson-1.1.0.tar.gz 1555845 BLAKE2B 6dfd4e938b9f1f6a6314f39929b74a7e822fbb37510914eb3db0660b9bbf68ef0b2fb4c45aa2e1246f6530d3848d0055220d4c5ead3093f97956a6154b22a899 SHA512 f8718bd039e1a25f0b95880b957c43e6eba6eada6bb7f58cedde37669a46b15b3ff9f4c4ea775e1cf949657642ef0472fa8bac5bdc98882df63e7f292fb5a723
DIST simdjson-2.0.0.tar.gz 1607351 BLAKE2B 536e02e134c6424d13c58983b65ecd328019a93cf7e04d65eec281c46f125985094a56d2c7031cbbabb62957089986d75b45161539c18de02e9c7c01daf92517 SHA512 2cf20799189171fa3bcac5b51a660635e4e3c8688c6cbfc527a17860b24abe534085b4918e916bcb23d0bc26f949301141b6bbf8bee6d4199c2c93cba2156b05
DIST simdjson-2.0.1.tar.gz 1608085 BLAKE2B 89730a8bc6ad914fb2797c59a0c16c7b4e8a6500f32fb980f0dd91792a0106d273be14f0e1d022c925a0c7303bd25d7a8387f4169c40ec5a3433d80c31943df8 SHA512 09c72669fbd73e92e54f4c6e21e59533dae60db655de087264be4f0a6dd305e63961ca55973d47081a4310c2bc1afa7304d1528cae65fe5b237d659604c7d716
DIST simdjson-data-1.0.0.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1
DIST simdjson-data-1.0.2.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1
DIST simdjson-data-1.1.0.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1
DIST simdjson-data-2.0.0.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1
DIST simdjson-data-2.0.1.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1

@ -1,33 +0,0 @@
From: Laurent Bercot <ska-skaware@skarnet.org>
Date: Mon, 24 Jan 2022 11:44:29 +0000
Subject: [PATCH] Apply user-provided CPPFLAGS, CFLAGS and LDFLAGS during
autodetection
Backported-from: d9f541c2b3af (" Apply user-provided CPPFLAGS, CFLAGS and LDFLAGS during autodetection")
See-also: http://skarnet.org/lists/skaware/1656.html
---
diff --git a/configure b/configure
index 55f34f8..49b3678 100755
--- a/configure
+++ b/configure
@@ -99,7 +99,7 @@ stripdir () {
tryflag () {
echo "Checking whether compiler accepts $2 ..."
echo "typedef int x;" > "$tmpc"
- if $CC_AUTO "$2" -c -o /dev/null "$tmpc" >/dev/null 2>&1 ; then
+ if $CC_AUTO $CPPFLAGS_POST $CFLAGS_POST "$2" -c -o /dev/null "$tmpc" >/dev/null 2>&1 ; then
echo " ... yes"
eval "$1=\"\${$1} \$2\""
eval "$1=\${$1# }"
@@ -113,7 +113,7 @@ tryflag () {
tryldflag () {
echo "Checking whether linker accepts $2 ..."
echo "typedef int x;" > "$tmpc"
- if $CC_AUTO -nostdlib "$2" -o /dev/null "$tmpc" >/dev/null 2>&1 ; then
+ if $CC_AUTO $CPPFLAGS_POST $CFLAGS_POST $LDFLAGS_POST -nostdlib "$2" -o /dev/null "$tmpc" >/dev/null 2>&1 ; then
echo " ... yes"
eval "$1=\"\${$1} \$2\""
eval "$1=\${$1# }"
--
2.34.1

@ -13,7 +13,7 @@ SRC_URI="https://github.com/gdraheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0/13"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="sdl static-libs"
# Tests require internet access

Binary file not shown.

@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
RDEPEND="
dev-python/cons[${PYTHON_USEDEP}]

@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
KEYWORDS="amd64 ~arm ~ppc64 x86"
IUSE="doc"
DEPEND="

@ -14,7 +14,7 @@ HOMEPAGE="https://pypi.org/project/astor/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
distutils_enable_tests pytest

@ -20,7 +20,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
DOCS=( README.rst )

@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"

@ -8,3 +8,4 @@ DIST boto3-1.23.5.tar.gz 501625 BLAKE2B 5a996b4dffd325ea2d6582450b027767ca9845e8
DIST boto3-1.23.6.tar.gz 502243 BLAKE2B d5b20d24d76df16669de25bdd9486766e4c4983f2619b9690a1bb318172d3343ae67cc9746438964817c60b1a2e7b3cb530f0dc54e15c13fe14c8cd1a566875b SHA512 3f940e394a15d10593b23ad67ffa16c9a45bbc5d6231b9ae621f90af3bc3497173f309191af7f3d9c3d4ea0331109228853c08d3fed7a84226481a8d911837ed
DIST boto3-1.23.7.tar.gz 502686 BLAKE2B 10ca206d1b7add5f9c88c5c474af4b6b4ac6fe4e690fa6ed2d1b4fb833874dfc6901c5c693ba96d72ac5af72533362065e107bb43f225f74fa18e41b52832482 SHA512 2970bbbccda3a74c821ab8598dc24204f838a417ea06b7816d16dda828123725162287d0d6ff4c9c815678f365220d5cea16a25abf5b70a4512845d157ab4f75
DIST boto3-1.23.8.tar.gz 503306 BLAKE2B 98e0f2aafd0ead06ea9ca7593f211e04d1f9639d3703cc172becc5745858e10a3f7633da4cd3e7a6b8fa8ff84d471f76fb75e9ee4018532c485bd3bdcc2eb972 SHA512 87be75109df80d1ff29ce13b196630c0f43ee8443f35854afaa7a337f77511a42483176e7271d4988dc22c922a47cb2d2c67ddbf7fe9bde43e9cc1c341bdc756
DIST boto3-1.23.9.gh.tar.gz 503767 BLAKE2B fcd4556331020c6db015fe1591344c5fc4ee80302ade3d3bfea7468a3d5c32075d3ceff6c951ab0fe2ff4ded8843abdb0b55f4338a86afccba34ef1a48d05c0f SHA512 1d9c3e7077136d5c8117d57c5df9c50ce16fc8d0aee322002fb0fec1edc5fbeaf7c1386de31f0b496a298cdaf79c3fc77ea5c0b549141a07bd057eee08a0f0f0

@ -0,0 +1,68 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 multiprocessing
DESCRIPTION="The AWS SDK for Python"
HOMEPAGE="
https://github.com/boto/boto3/
https://pypi.org/project/boto3/
"
LICENSE="Apache-2.0"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
inherit git-r3
BOTOCORE_PV=${PV}
else
SRC_URI="
https://github.com/boto/boto3/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
# botocore is x.(y+3).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
fi
RDEPEND="
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs/source \
'dev-python/guzzle_sphinx_theme'
distutils_enable_tests pytest
python_prepare_all() {
# don't lock versions to narrow ranges
sed -e '/botocore/ d' \
-e '/jmespath/ d' \
-e '/s3transfer/ d' \
-i setup.py || die
# do not rely on bundled deps in botocore (sic!)
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
distutils-r1_python_prepare_all
}
python_test() {
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
}

@ -21,7 +21,10 @@ if [[ "${PV}" == "9999" ]]; then
inherit git-r3
BOTOCORE_PV=${PV}
else
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="
https://github.com/boto/boto3/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
# botocore is x.(y+3).z

@ -8,3 +8,4 @@ DIST botocore-1.26.5.tar.gz 8994964 BLAKE2B 472bc20b1a579674b97fa42f5b7bba2f06f1
DIST botocore-1.26.6.tar.gz 8998364 BLAKE2B f4e735b919ab6343419fb37945e3fbbf253d5ffdd25b3903888c544127417006eb8b44ddd330f56172ab2c106efbe9e7d9ae2a74e7d1ff51752fee1e08bff3ff SHA512 4a5a982dcb2b2fdbc51726ec6a59855c4c073cb921648f372ca5b6a602c70be5285e4fb98da13ae57f2b312bd5374b903ad857112f64e1ac38f2be6bee1303d3
DIST botocore-1.26.7.tar.gz 9004937 BLAKE2B 7aaa6e7383ba2dae73477bf498028175d5c62945428facf34c7f9b1145a8715a970383cea316f89e5727171c92bf1fd9f25f772335ecfbfcb0be6e5f8de39a2d SHA512 362e2f213cd51271608fc1501845a74a9702fb60ee6619cedc7baf3a37c3dedd12976b51bd182cb4601f2c33e3ebc5358356365d9e32ba8eff308ee5775178ac
DIST botocore-1.26.8.tar.gz 8996827 BLAKE2B fb7b30a1f013e9625f20980bdfd2192bc57044f5b7f277e35c8495414bd6b0c99c10d6a9d02c68e67a244249695db7ad3c9cee00db9b46114ec92c8504a07ceb SHA512 93223e428d2464eb2bca1806ba1574d43da07c457aaada8d7839fe1508258d4f8ed7ad644539ec8b5a80307e436f4654f549b23704199ba0d4bd7fcefff2c6fd
DIST botocore-1.26.9.tar.gz 9005786 BLAKE2B c68e4ca970a4b66e95fae1b5fea1c4515994e9313c608044afe94bdfc27a2df098a8163f143f7d991960c4e5cb07080cf3dcff2c29f9db248d680b3172bed816 SHA512 adbc339738cc8506a3333f13650e835c316528c0212c4dea61049257aae7cb766619c520dfc3c482e8559b32623e92986e19042ebb23db37da2c89b4b2c1e489

@ -0,0 +1,70 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 multiprocessing
DESCRIPTION="Low-level, data-driven core of boto 3"
HOMEPAGE="
https://github.com/boto/botocore/
https://pypi.org/project/botocore/
"
LICENSE="Apache-2.0"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
<dev-python/jmespath-2[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/botocore-1.26.0-py311.patch"
)
distutils_enable_sphinx docs/source \
'dev-python/guzzle_sphinx_theme'
distutils_enable_tests pytest
src_prepare() {
# unpin deps
sed -i -e "s:>=.*':':" setup.py || die
# unbundle deps
rm -r botocore/vendored || die
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# rely on bundled six
tests/functional/test_six_imports.py::test_no_bare_six_imports
tests/functional/test_six_threading.py::test_six_thread_safety
)
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
}

@ -1 +1,3 @@
DIST bottle-0.12.19.tar.gz 73142 BLAKE2B e59d7a507d3401869ba4953a48274062fc56226afa2f7aad596b4ef4352e4a79cea2d224dfe32d7ce014e4f4a3ba088d0e7a0886f64a84bb6b78571e953fa3c3 SHA512 e5d2f6a32d1b89ae3cc9607456c0614db2b58882c6d36273d695c51d3d77b1858cac4d914dbf19bca3b74be68c197aa6473f162e40d9b7ae2af3a084a28c2637
DIST bottle-0.12.20.tar.gz 74235 BLAKE2B 8d6c03ac9a0330fa13e474fcb6bb985d663d3c4c1c2cd6ca24a1224efd3072d4897efafc095af13f8231b99d705ae252fbed29ebe8e18dc5c9db7318a9c749c7 SHA512 149355d39ac1370a3b6c1999756ac2c7eb98ef04cf99df7099a6c84112e1ff06a0cac4612843750499633a136ea2ddfb1a5d594ba03d7ee63cf7cae9aceba823
DIST bottle-0.12.21.tar.gz 74229 BLAKE2B 88674389d2c087a7416443d031995ee923a98b790eb85d81b625f11b2fb0baee35d90a3ee2dba5b9d4744a343a34396a50edef0f85a2d6f4f0f4da95bae31b5b SHA512 3d621f6684f439a4a5718ad25e8b45eb0d1100cd565ec5b797adf67141e01d835cde671e687f5515cb6eab69bb465e9c7d004131634609266c2e1b69b0adbf43

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1 optfeature
DESCRIPTION="A fast and simple micro-framework for small web-applications"
HOMEPAGE="
https://bottlepy.org/
https://github.com/bottlepy/bottle/
https://pypi.org/project/bottle/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/mako[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}"/bottle-0.12.8-py3.5-backport.patch
"${FILESDIR}"/bottle-0.12.19-py311.patch
)
python_prepare_all() {
sed -i -e '/scripts/d' setup.py || die
# Remove test file requring connection to network
rm test/test_server.py || die
distutils-r1_python_prepare_all
}
python_test() {
"${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}"
}
pkg_postinst() {
optfeature "Templating support" dev-python/mako
elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)"
elog "we do as most other distros and do not install the script anymore."
elog "If you do want/have to call it directly rather than through your app,"
elog "please use the following instead:"
elog ' `python -m bottle`'
}

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1 optfeature
DESCRIPTION="A fast and simple micro-framework for small web-applications"
HOMEPAGE="
https://bottlepy.org/
https://github.com/bottlepy/bottle/
https://pypi.org/project/bottle/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/mako[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}"/bottle-0.12.8-py3.5-backport.patch
"${FILESDIR}"/bottle-0.12.19-py311.patch
)
python_prepare_all() {
sed -i -e '/scripts/d' setup.py || die
# Remove test file requring connection to network
rm test/test_server.py || die
distutils-r1_python_prepare_all
}
python_test() {
"${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}"
}
pkg_postinst() {
optfeature "Templating support" dev-python/mako
elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)"
elog "we do as most other distros and do not install the script anymore."
elog "If you do want/have to call it directly rather than through your app,"
elog "please use the following instead:"
elog ' `python -m bottle`'
}

@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]

@ -1,3 +1,4 @@
DIST dask-2022.04.2.gh.tar.gz 8657501 BLAKE2B e0c78d91927d4f2391e377d10c93b87ebc8bed764be77e3e8afb55935819772442e9bd9eb6221b639eb8376de0107b361b43bd37ed85cbe548d4b0c99d5e5f68 SHA512 b252a19fb08e089153e31ea23bbb75d37cc9fbf96c530495e884b9e3768d23b7dfe71a16341a8c414c414298cc6958aa41f22af07cabb392816dc4590b86b278
DIST dask-2022.05.0.gh.tar.gz 8658529 BLAKE2B 0b09ef38137d9c395384549fd8a3b0218ad1761ccb1816f8fc4f4af7328215716603e3f41b8cc3bf7044ff42b72eee277147b3bd03da48467cccc88f239bb2bd SHA512 15605321143f354ffb9c890823f5751131d942cc16c523b2d00bdcc752ddc5243525f7cda138091604c8f2f9c5b4a309b1efc95f483b753673df98cc8a81ce81
DIST dask-2022.05.1.gh.tar.gz 8674295 BLAKE2B bf2043e8409a745ea735bb742e9ff0d6aa0f4acd8d7a9898682a32f2831254d15ff6bd3dd3eac22129a41f118b1136893fe2a614b54396b2d0838be7bbda022d SHA512 da10756e27c631c695bd45353cc31c348b4d61d690790fb6dc27a98f1bea2d9cd248e54966ff1e44fc4c3c1b27834284a2dc0816a90a5c77bf421027c5b0bdb2
DIST dask-2022.05.2.gh.tar.gz 8721528 BLAKE2B 42b83ca6fe58b014d3aa90cc99dc4b9b631d6b5bb3243a2a2bd1bcfc6f9ffe5d545b7bcc43edfd3299273e105f7355fbaa9490043a12a8c303773d0e08e63d8c SHA512 1d6ce8db1c83ac22f081beec8667f35acda48578263c637ee294934c729d16a7aca4259e0dde6fed6f2dc9924490589610fc3fc4225dfe07552b15b6af20d8d5

@ -0,0 +1,58 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
HOMEPAGE="
https://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/numpy-1.15.1[${PYTHON_USEDEP}]
>=dev-python/pandas-0.25.0[${PYTHON_USEDEP}]
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
>=dev-python/partd-0.3.10[${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=(
# another test relying on -Werror
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
# TODO
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
dask/tests/test_config.py::test__get_paths
)
python_test() {
epytest -p no:flaky -m "not network"
}

@ -1,3 +1 @@
DIST exceptiongroup-1.0.0rc5.gh.tar.gz 16454 BLAKE2B 55af4d2240e4a5567f5669d15e8507c454d47c1f7d8f72212afeecfa37e0c4a6b36f9176a87a48d3f9edf0628a8c99863670d24aca3770dd88abaa463784c731 SHA512 dd5ee895b4531524c4f0dfaedf818ac76a1b6fe74cd75bbce824b6a0d2b981673ffd6ba36f71b5dacf3e17c89d196a258400d04a64c71f28c221d7fb0f934ab7
DIST exceptiongroup-1.0.0rc6.gh.tar.gz 17184 BLAKE2B 75a1a07d683cbd4d23c25156f4ff3fbda3f08e7df3be67320b08e995f469a9cbd66ca90391fb586972c5c601aff60d44eba3ec5c2d3cccbc791a0482600caea2 SHA512 f74fe5b5df5c7ceb09076db4b7327e2a22202f61fbbfcaeef4f2ce7fb0725a8f57756473db6b2d92d3ee044e26c7ad135d8366944e0858439c4a77ed8b5b7362
DIST exceptiongroup-1.0.0rc7.gh.tar.gz 17323 BLAKE2B fc96a1a7978c4ac403132fbb9fba57cd61e8078e1d99e7103e37d7273737c2d8fbf84441a9cfc3c21a355713b13ec78f9befedcc05a74d9bb954ca80965dc789 SHA512 272675f3322f904b6270689696b2a770d8a96f195d8b142986f574e9c67735865afbde8bba0c5bdd43d299fc1f44a3360d273f9b15097efdcfa46f21f40d62bf

@ -1,34 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit_scm
PYTHON_COMPAT=( pypy3 python3_{8..10} )
inherit distutils-r1
MY_P=${P/_}
DESCRIPTION="Backport of PEP 654 (exception groups)"
HOMEPAGE="
https://github.com/agronholm/exceptiongroup/
https://pypi.org/project/exceptiongroup/
"
SRC_URI="
https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT PSF-2.4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

@ -1,34 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit_scm
PYTHON_COMPAT=( pypy3 python3_{8..10} )
inherit distutils-r1
MY_P=${P/_}
DESCRIPTION="Backport of PEP 654 (exception groups)"
HOMEPAGE="
https://github.com/agronholm/exceptiongroup/
https://pypi.org/project/exceptiongroup/
"
SRC_URI="
https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT PSF-2.4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
python_test() {
"${EPYTHON}" -m unittest -v fastimport.tests.test_suite ||

@ -17,7 +17,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
BDEPEND="
test? (

@ -15,7 +15,7 @@ S="${WORKDIR}/${P^}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc examples test"
RESTRICT="!test? ( test )"

@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
>=dev-python/smmap-3.0.1[${PYTHON_USEDEP}]

@ -2,3 +2,4 @@ DIST google-api-core-2.7.1.tar.gz 163942 BLAKE2B 0b28e8dd8607ed6a64a3715c14e321f
DIST google-api-core-2.7.2.tar.gz 164017 BLAKE2B d2f1c690527c750a819718043542ce853be7f135660dfe661db2ba315213ef4a9756eeab6f1854275044d4f1fed50d119c2914eb00e043b7d5b085dad426a26f SHA512 1fb420a41d603d576030d2b324036de10831035ce1505ba94dedc9e58ce354d0f23e1d3df8a4f2f5082147a1be49d93e10c2209a1407f90ffedfa74815730e14
DIST google-api-core-2.7.3.tar.gz 164219 BLAKE2B c394fd95bff3ac393174372e0c49f9a7974a006de6f14d07af7b15b4c531d6dae7af8c38e00263289a895cb9dae9ef23368d793f5ae3649b9b029337a72cc0ef SHA512 2bf49738216cd52dad2bdfb3367e370390c366b49a8c3c4f6f49a2a3f17b27120d99933b57c8eb8c9a1f0f25ef5ea6d876cf8c3c6c759d3585d625e57b1153f9
DIST google-api-core-2.8.0.tar.gz 164541 BLAKE2B a62aa242e99f2e554242db1bdfdedc5ab4eb7ddd0efb3758af33dcd7417ce964cb1c5d11547c26b03e92684507e1573d1cbdc158efa39060e59254fed3e12626 SHA512 5ad9c4b8f8d15645e18f4377396a073cb23b03e4357d3840bcfcdc5bb182731817bb1188b3dd7f37e4083d4d6d0cea3d46fadee23fc9011a2fe9ca67f505e245
DIST python-api-core-2.8.1.gh.tar.gz 164630 BLAKE2B 88db73f210ae5ee4aa2e7382ea34ef59fb51f88e196622556327c130057b74594884bbe21719bf12cc6ddc9975cf12ac71fa24ac4dfde4681b4742af57702b5d SHA512 f3bfa476562428246203592b53c22e8e52af167af10b1fa68afb51fe6e8ca8090e9231e4c297847d12c201ca791aa80153bee07f72939bc65920260ec50b3d38

@ -16,7 +16,7 @@ S="${WORKDIR}/${P//google/python}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
dev-python/protobuf-python[${PYTHON_USEDEP}]

@ -0,0 +1,73 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
MY_P=python-api-core-${PV}
DESCRIPTION="Core Library for Google Client Libraries"
HOMEPAGE="
https://github.com/googleapis/python-api-core/
https://pypi.org/project/google-api-core/
https://googleapis.dev/python/google-api-core/latest/index.html
"
SRC_URI="
https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
>=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}]
>=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
>=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
!dev-python/namespace-google
"
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/proto-plus[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# failing due to missing grpcio-status
tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write
tests/unit/test_grpc_helpers.py::test_wrap_unary_errors
tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation
tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization
tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration
)
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
src_test() {
rm -r google || die
distutils-r1_src_test
}
python_test() {
distutils_write_namespace google
epytest -p no:aiohttp -p no:trio tests
}

@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
<dev-python/cachetools-6.0.0[${PYTHON_USEDEP}]

@ -1,2 +1,3 @@
DIST googleapis-common-protos-1.56.0.tar.gz 132706 BLAKE2B a0adf6527c24aaa30922800a80ef4af8abf3d83c4639c227a859c92e02d248f44b408f98820387a51b310dedf005872cb0fa7824bd27ac6309f31f85810edd40 SHA512 ef6ed067457aad3b46d81bacbb66abe3b36b0640290e0047ef7c6d612dfd8bf865dad47c77275f0d5a1e03cd4e5dca32d08f44c7a7bfe7b264ee59e5c5bb9a27
DIST googleapis-common-protos-1.56.1.tar.gz 109702 BLAKE2B ac54a63164a64a125a7dece77a8a9219d922860d6dce9a1057b4dd2f015e2efc6719c224473cee358280028f016fd171e05c8ec6377cdcb216318230ea42df02 SHA512 155698770a790df0ed92144cc0b79373ccdab2bff7109633df5f4f66e75f4f1c312f2ec7248c173f4750416619c65cf6bb7cfc33abfe7530c5d5d7fe2b3cec2c
DIST googleapis-common-protos-1.56.2.tar.gz 109718 BLAKE2B 6aeb43927f5c2b0332dbc478d47b06d49490b666158b35b5e58ccd3290939d903865f60ff11f396f9f329bb64382aa636d87ebd06cefcb66d465a0551843178f SHA512 814dddc95fa5bde437c124ff8b66c281f98cae6c0143d473b9194a1367ccaf7915c21450f79f372be5fdb3c4fb41c9d717e57244f2dbd1e819b927b8d86e8d2f

@ -0,0 +1,33 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python classes generated from the common protos in the googleapis repository"
HOMEPAGE="
https://github.com/googleapis/python-api-common-protos/
https://pypi.org/project/googleapis-common-protos/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
<dev-python/protobuf-python-4[${PYTHON_USEDEP}]
>=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}]
!dev-python/namespace-google
"
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
# no tests as this is all generated code

@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
# disable mpi until mpi4py gets python3_8
#IUSE="examples mpi"
IUSE="examples"

@ -23,7 +23,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
BDEPEND="
app-arch/unzip

@ -30,7 +30,7 @@ LICENSE="
test? ( Apache-2.0 )
"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
=dev-python/parso-0.8*[${PYTHON_USEDEP}]

@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
dev-python/entrypoints[${PYTHON_USEDEP}]

@ -20,7 +20,7 @@ SRC_URI="
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
KEYWORDS="amd64 ~arm64 ~riscv x86"
RDEPEND="
>=dev-python/cryptography-2.3[${PYTHON_USEDEP}]

@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/lark/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86"
BDEPEND="
test? (

@ -1 +1,2 @@
DIST apache-libcloud-3.5.1.tar.bz2 1859270 BLAKE2B c2e49a79ac4feccb5285d9bf55a4a6e8486d32968216b68e8c8f5b049ef5fa8caae853b4e4cc31ec2c323aedf3de275ab79758b1a055d7f20bbde994c58ba882 SHA512 22d6facf344687bfcfd32e53ede12227882f55bf54ffcf75d5584652c4cd257905c56e359d9c6b050635faa2305c344a6dfdc17007eb41143ccff772bd31d91e
DIST apache-libcloud-3.6.0.tar.bz2 1873596 BLAKE2B 7ca67d0a84d1af9a216882efb35ff48f4a795eacf34132b78429e0158b1093b3eec316541a52673e61edfc5bfcb326052ee874fe59b1e4a65b407bdaccf38774 SHA512 3a4b4ecf35194e70b6cb70f0619238e1c0140891c08438d4b1ef308fffc9dfb973a5c1534b6ee7864797925b7f7be77eb79a2c4d621627d8042da3927b3f2ff4

@ -0,0 +1,60 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="ssl(+)"
inherit distutils-r1
DESCRIPTION="Unified Interface to the Cloud - python support libs"
HOMEPAGE="https://libcloud.apache.org/"
SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2"
S="${WORKDIR}/apache-${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="examples"
RDEPEND="
dev-python/pyopenssl[${PYTHON_USEDEP}]
>=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}]
dev-python/lockfile[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# Needs network access
libcloud/test/compute/test_ovh.py::OvhTests::test_list_nodes_invalid_region
libcloud/test/test_connection.py::BaseConnectionClassTestCase::test_connection_timeout_raised
libcloud/test/test_connection.py::ConnectionClassTestCase::test_retry_on_all_default_retry_exception_classes
# TODO
libcloud/test/compute/test_ssh_client.py::ParamikoSSHClientTests::test_key_file_non_pem_format_error
)
src_prepare() {
if use examples; then
mkdir examples || die
mv example_*.py examples || die
fi
# needed for tests
cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die
distutils-r1_src_prepare
}
src_install() {
use examples && dodoc -r examples
distutils-r1_src_install
}

@ -0,0 +1,20 @@
diff -dup -r lockfile-0.12.2/test/compliancetest.py lockfile-0.12.2.new/test/compliancetest.py
--- lockfile-0.12.2/test/compliancetest.py 2015-11-25 19:29:13.000000000 +0100
+++ lockfile-0.12.2.new/test/compliancetest.py 2022-05-27 07:55:43.720523461 +0200
@@ -6,15 +6,13 @@ import lockfile
class ComplianceTest(object):
- def __init__(self):
- self.saved_class = lockfile.LockFile
-
def _testfile(self):
"""Return platform-appropriate file. Helper for tests."""
import tempfile
return os.path.join(tempfile.gettempdir(), 'trash-%s' % os.getpid())
def setup(self):
+ self.saved_class = lockfile.LockFile
lockfile.LockFile = self.class_to_test
def teardown(self):

@ -0,0 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="
https://launchpad.net/pylockfile/
https://pypi.org/project/lockfile/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
BDEPEND="
>dev-python/pbr-1.8[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${P}-pytest.patch
)
distutils_enable_tests pytest
distutils_enable_sphinx doc/source --no-autodoc

@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
RDEPEND="
>=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]

@ -1,2 +1 @@
DIST nbconvert-6.4.5.tar.gz 906309 BLAKE2B 5aee22eb9ce6bb36e04cc3b3db5460041b0a2dfb4afeb1e4787e941d6815f22b7621104ca6d14cb0977c5d09f9a0fade8a5787416b5f55ca1b09149730560bf7 SHA512 9a32eceaff065016baea9fc79478aeb8981f55a2cd47889e640815f2bf924df201d9ce72a4b615d533bcadbd681900678d30de61f777ae4f12bd9fce62d73622
DIST nbconvert-6.5.0.tar.gz 908377 BLAKE2B a91c6c93e9e33f90c5c7f19743e20aa6cf88e5dd29be4ee777744d96037dddd15294858776c8391d79f5436e929fb1b623a3f11f6c4cbcf60728dba2204b6e2e SHA512 4e0d26d581435525f819c05207890cc7cbeaff786a16c354f0356c9bc50111a724a92b7e15445a0cf0ebf1e1c2f0ff064a2c8722267f66dd8677ad82b5e61714

@ -0,0 +1,339 @@
From 6e5ba41803cc8c3192f001b3ede9b74454220bda Mon Sep 17 00:00:00 2001
From: Tiago de Paula <tiagodepalves@gmail.com>
Date: Mon, 9 May 2022 09:39:31 -0300
Subject: [PATCH] Update to Mistune 2.0.2 (#1764)
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
---
nbconvert/filters/markdown_mistune.py | 212 ++++++++++++++------------
setup.py | 2 +-
2 files changed, 119 insertions(+), 95 deletions(-)
diff --git a/nbconvert/filters/markdown_mistune.py b/nbconvert/filters/markdown_mistune.py
index 382a5388..636e1e8c 100644
--- a/nbconvert/filters/markdown_mistune.py
+++ b/nbconvert/filters/markdown_mistune.py
@@ -21,7 +21,7 @@ except ImportError:
from cgi import escape as html_escape
import bs4
-import mistune
+from mistune import BlockParser, HTMLRenderer, InlineParser, Markdown
from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments.lexers import get_lexer_by_name
@@ -34,158 +34,183 @@ class InvalidNotebook(Exception):
pass
-class MathBlockGrammar(mistune.BlockGrammar):
- """This defines a single regex comprised of the different patterns that
- identify math content spanning multiple lines. These are used by the
- MathBlockLexer.
+class MathBlockParser(BlockParser):
+ """This acts as a pass-through to the MathInlineParser. It is needed in
+ order to avoid other block level rules splitting math sections apart.
"""
- multi_math_str = "|".join(
- [r"^\$\$.*?\$\$", r"^\\\\\[.*?\\\\\]", r"^\\begin\{([a-z]*\*?)\}(.*?)\\end\{\1\}"]
+ MULTILINE_MATH = re.compile(
+ r"(?<!\\)[$]{2}.*?(?<!\\)[$]{2}|"
+ r"\\\\\[.*?\\\\\]|"
+ r"\\begin\{([a-z]*\*?)\}.*?\\end\{\1\}",
+ re.DOTALL,
)
- multiline_math = re.compile(multi_math_str, re.DOTALL)
+ RULE_NAMES = ("multiline_math",) + BlockParser.RULE_NAMES
-class MathBlockLexer(mistune.BlockLexer):
- """This acts as a pass-through to the MathInlineLexer. It is needed in
- order to avoid other block level rules splitting math sections apart.
- """
+ # Regex for header that doesn't require space after '#'
+ AXT_HEADING = re.compile(r" {0,3}(#{1,6})(?!#+)\s*([^\n]*?)$")
- default_rules = ["multiline_math"] + mistune.BlockLexer.default_rules
+ def parse_multiline_math(self, m, state):
+ """Pass token through mutiline math."""
+ return {"type": "multiline_math", "text": m.group(0)}
- def __init__(self, rules=None, **kwargs):
- if rules is None:
- rules = MathBlockGrammar()
- super().__init__(rules, **kwargs)
- def parse_multiline_math(self, m):
- """Add token to pass through mutiline math."""
- self.tokens.append({"type": "multiline_math", "text": m.group(0)})
+def _dotall(pattern):
+ """Make the '.' special character match any character inside the pattern, including a newline.
-
-class MathInlineGrammar(mistune.InlineGrammar):
- """This defines different ways of declaring math objects that should be
- passed through to mathjax unaffected. These are used by the MathInlineLexer.
+ This is implemented with the inline flag `(?s:...)` and is equivalent to using `re.DOTALL` when
+ it is the only pattern used. It is necessary since `mistune>=2.0.0`, where the pattern is passed
+ to the undocumented `re.Scanner`.
"""
-
- inline_math = re.compile(r"^\$(.+?)\$|^\\\\\((.+?)\\\\\)", re.DOTALL)
- block_math = re.compile(r"^\$\$(.*?)\$\$|^\\\\\[(.*?)\\\\\]", re.DOTALL)
- latex_environment = re.compile(r"^\\begin\{([a-z]*\*?)\}(.*?)\\end\{\1\}", re.DOTALL)
- text = re.compile(r"^[\s\S]+?(?=[\\<!\[_*`~$]|https?://| {2,}\n|$)")
+ return f"(?s:{pattern})"
-class MathInlineLexer(mistune.InlineLexer):
- r"""This interprets the content of LaTeX style math objects using the rules
- defined by the MathInlineGrammar.
+class MathInlineParser(InlineParser):
+ r"""This interprets the content of LaTeX style math objects.
In particular this grabs ``$$...$$``, ``\\[...\\]``, ``\\(...\\)``, ``$...$``,
and ``\begin{foo}...\end{foo}`` styles for declaring mathematics. It strips
delimiters from all these varieties, and extracts the type of environment
in the last case (``foo`` in this example).
"""
- default_rules = [
- "block_math",
- "inline_math",
+ BLOCK_MATH_TEX = _dotall(r"(?<!\\)\$\$(.*?)(?<!\\)\$\$")
+ BLOCK_MATH_LATEX = _dotall(r"(?<!\\)\\\\\[(.*?)(?<!\\)\\\\\]")
+ INLINE_MATH_TEX = _dotall(r"(?<![$\\])\$(.+?)(?<![$\\])\$")
+ INLINE_MATH_LATEX = _dotall(r"(?<!\\)\\\\\((.*?)(?<!\\)\\\\\)")
+ LATEX_ENVIRONMENT = _dotall(r"\\begin\{([a-z]*\*?)\}(.*?)\\end\{\1\}")
+
+ # The order is important here
+ RULE_NAMES = (
+ "block_math_tex",
+ "block_math_latex",
+ "inline_math_tex",
+ "inline_math_latex",
"latex_environment",
- ] + mistune.InlineLexer.default_rules
-
- def __init__(self, renderer, rules=None, **kwargs):
- if rules is None:
- rules = MathInlineGrammar()
- super().__init__(renderer, rules, **kwargs)
-
- def output_inline_math(self, m):
- return self.renderer.inline_math(m.group(1) or m.group(2))
-
- def output_block_math(self, m):
- return self.renderer.block_math(m.group(1) or m.group(2) or "")
-
- def output_latex_environment(self, m):
- return self.renderer.latex_environment(m.group(1), m.group(2))
-
-
-class MarkdownWithMath(mistune.Markdown):
- def __init__(self, renderer, **kwargs):
- if "inline" not in kwargs:
- kwargs["inline"] = MathInlineLexer
- if "block" not in kwargs:
- kwargs["block"] = MathBlockLexer
- super().__init__(renderer, **kwargs)
-
- def output_multiline_math(self):
- return self.inline(self.token["text"])
-
-
-class IPythonRenderer(mistune.Renderer):
- def block_code(self, code, lang):
- if lang:
+ ) + InlineParser.RULE_NAMES
+
+ def parse_block_math_tex(self, m, state):
+ # sometimes the Scanner keeps the final '$$', so we use the
+ # full matched string and remove the math markers
+ text = m.group(0)[2:-2]
+ return "block_math", text
+
+ def parse_block_math_latex(self, m, state):
+ text = m.group(1)
+ return "block_math", text
+
+ def parse_inline_math_tex(self, m, state):
+ text = m.group(1)
+ return "inline_math", text
+
+ def parse_inline_math_latex(self, m, state):
+ text = m.group(1)
+ return "inline_math", text
+
+ def parse_latex_environment(self, m, state):
+ name, text = m.group(1), m.group(2)
+ return "latex_environment", name, text
+
+
+class MarkdownWithMath(Markdown):
+ def __init__(self, renderer, block=None, inline=None, plugins=None):
+ if block is None:
+ block = MathBlockParser()
+ if inline is None:
+ inline = MathInlineParser(renderer, hard_wrap=False)
+ super().__init__(renderer, block, inline, plugins)
+
+ def render(self, s):
+ """Compatibility method with `mistune==0.8.4`."""
+ return self.parse(s)
+
+
+class IPythonRenderer(HTMLRenderer):
+ def __init__(
+ self,
+ escape=True,
+ allow_harmful_protocols=True,
+ embed_images=False,
+ exclude_anchor_links=False,
+ anchor_link_text="¶",
+ path="",
+ attachments=None,
+ ):
+ super().__init__(escape, allow_harmful_protocols)
+ self.embed_images = embed_images
+ self.exclude_anchor_links = exclude_anchor_links
+ self.anchor_link_text = anchor_link_text
+ self.path = path
+ if attachments is not None:
+ self.attachments = attachments
+ else:
+ self.attachments = {}
+
+ def block_code(self, code, info=None):
+ if info:
try:
+ lang = info.strip().split(None, 1)[0]
lexer = get_lexer_by_name(lang, stripall=True)
except ClassNotFound:
code = lang + "\n" + code
lang = None
if not lang:
- return "\n<pre><code>%s</code></pre>\n" % mistune.escape(code)
+ return super().block_code(code)
formatter = HtmlFormatter()
return highlight(code, lexer, formatter)
def block_html(self, html):
- embed_images = self.options.get("embed_images", False)
-
- if embed_images:
+ if self.embed_images:
html = self._html_embed_images(html)
return super().block_html(html)
def inline_html(self, html):
- embed_images = self.options.get("embed_images", False)
-
- if embed_images:
+ if self.embed_images:
html = self._html_embed_images(html)
return super().inline_html(html)
- def header(self, text, level, raw=None):
- html = super().header(text, level, raw=raw)
- if self.options.get("exclude_anchor_links"):
+ def heading(self, text, level):
+ html = super().heading(text, level)
+ if self.exclude_anchor_links:
return html
- anchor_link_text = self.options.get("anchor_link_text", "¶")
- return add_anchor(html, anchor_link_text=anchor_link_text)
+ return add_anchor(html, anchor_link_text=self.anchor_link_text)
def escape_html(self, text):
return html_escape(text)
+ def multiline_math(self, text):
+ return text
+
def block_math(self, text):
- return "$$%s$$" % self.escape_html(text)
+ return f"$${self.escape_html(text)}$$"
def latex_environment(self, name, text):
- name = self.escape_html(name)
- text = self.escape_html(text)
- return rf"\begin{{{name}}}{text}\end{{{name}}}"
+ name, text = self.escape_html(name), self.escape_html(text)
+ return f"\\begin{{{name}}}{text}\\end{{{name}}}"
def inline_math(self, text):
- return "$%s$" % self.escape_html(text)
+ return f"${self.escape_html(text)}$"
- def image(self, src, title, text):
+ def image(self, src, text, title):
"""Rendering a image with title and text.
:param src: source link of the image.
- :param title: title text of the image.
:param text: alt text of the image.
+ :param title: title text of the image.
"""
- attachments = self.options.get("attachments", {})
attachment_prefix = "attachment:"
- embed_images = self.options.get("embed_images", False)
if src.startswith(attachment_prefix):
name = src[len(attachment_prefix) :]
- if name not in attachments:
+ if name not in self.attachments:
raise InvalidNotebook(f"missing attachment: {name}")
- attachment = attachments[name]
+ attachment = self.attachments[name]
# we choose vector over raster, and lossless over lossy
preferred_mime_types = ["image/svg+xml", "image/png", "image/jpeg"]
for preferred_mime_type in preferred_mime_types:
@@ -197,13 +222,13 @@ class IPythonRenderer(mistune.Renderer):
data = attachment[mime_type]
src = "data:" + mime_type + ";base64," + data
- elif embed_images:
+ elif self.embed_images:
base64_url = self._src_to_base64(src)
if base64_url is not None:
src = base64_url
- return super().image(src, title, text)
+ return super().image(src, text, title)
def _src_to_base64(self, src):
"""Turn the source file into a base64 url.
@@ -211,8 +236,7 @@ class IPythonRenderer(mistune.Renderer):
:param src: source link of the file.
:return: the base64 url or None if the file was not found.
"""
- path = self.options.get("path", "")
- src_path = os.path.join(path, src)
+ src_path = os.path.join(self.path, src)
if not os.path.exists(src_path):
return None
diff --git a/setup.py b/setup.py
index 7220a875..2dfa2534 100644
--- a/setup.py
+++ b/setup.py
@@ -245,7 +245,7 @@ setup_args["install_requires"] = [
"jupyter_core>=4.7",
"jupyterlab_pygments",
"MarkupSafe>=2.0",
- "mistune>=0.8.1,<2",
+ "mistune>=2.0.2",
"nbclient>=0.5.0",
"nbformat>=5.1",
"packaging",
--
2.35.1

@ -9,12 +9,18 @@ PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Converting Jupyter Notebooks"
HOMEPAGE="https://nbconvert.readthedocs.io/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
HOMEPAGE="
https://nbconvert.readthedocs.io/
https://github.com/jupyter/nbconvert/
https://pypi.org/project/nbconvert/
"
SRC_URI="
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
@ -25,8 +31,7 @@ RDEPEND="
dev-python/jupyter_core[${PYTHON_USEDEP}]
dev-python/jupyterlab_pygments[${PYTHON_USEDEP}]
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
>=dev-python/mistune-0.8.1[${PYTHON_USEDEP}]
<dev-python/mistune-2[${PYTHON_USEDEP}]
>=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
dev-python/nbclient[${PYTHON_USEDEP}]
dev-python/nbformat[${PYTHON_USEDEP}]
>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
@ -46,6 +51,10 @@ BDEPEND="
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${P}-mistune-2.patch
)
src_test() {
mkdir -p "${HOME}/.local" || die
cp -r share "${HOME}/.local/" || die

@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]

@ -1,3 +1,4 @@
DIST Nuitka-0.7.7.tar.gz 3785340 BLAKE2B e856bcb3ecf69ecaa447ea73219f544bfceae8ee3a480fbd13b0a763efb8c8ec3c856a6142cff6a91273a88fc0aec15a6bb6c28fab1d9ca0c4dfeca229c11b68 SHA512 124e2d405b1104d0ba42a69b20a5c6168bb0643a13a4de789279401e09c30091853a8e464d9c4877a01f93a5a63934617cf52678994d0ae179560cd21d5b196e
DIST Nuitka-0.8.1.tar.gz 3831036 BLAKE2B 3215344e0d46da8bee8a9c3246d2a6a8be86882a446f4e6d84ad924db821c051cd7d428f3e5372af69049e36ffc4a5b0e812f2ae3ea311b2759fbe42f87e2d6d SHA512 69c84d962ec03fb8dbd086c50076f656a99563985cc1750fcb0aebfde50ed68e6982ce2b0f2c3ce84151e9ea2d0cd679370a52c1f1dd0b8f943fc5f5938f9e15
DIST Nuitka-0.8.2.tar.gz 3828013 BLAKE2B b5f3b59ea641714a9e437b29dc4b8db6b9f9c09d9b326b5eccc8e302bc5d205e561069c353c337ebd0d81434338244ae27caffb0e246ace0e809ebed0ae28e45 SHA512 7156745a83c9fd18a9564883e8ed7972002b19026d790b864a1383e8a131eb2adf271f403190909e2586ea3a7eb2d28bc3e469770fbae0d392617b26b3e63d25
DIST Nuitka-0.8.tar.gz 3829530 BLAKE2B 051be63639e491fb26e7ef36b7e034715d0dd0e39417b59c30b0c5628e78d6c655978a2198d7192b431f176a24060fa899fb9c17ff6dc02fedb64865ad37af5a SHA512 f4eef21a32b68d52363ede1f68afa0247bf61a142fc86763f28805ca3a611195bb87bd1229a31a4d0ce47bbae7f70cc18580ebab528772f0908f122d8341bc6c

@ -0,0 +1,49 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 flag-o-matic optfeature
DESCRIPTION="Python to native compiler"
HOMEPAGE="https://www.nuitka.net"
SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
S="${WORKDIR}/${P^}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~loong ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
BDEPEND="
${RDEPEND}
test? ( dev-util/ccache )
"
DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
distutils-r1_src_prepare() {
# remove vendored version of SCons that is Python2 only
# this should be removed when upstream removes support for Python2
rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
eapply_user
}
python_install() {
distutils-r1_python_install
doman doc/nuitka3.1 doc/nuitka3-run.1
}
python_test() {
append-ldflags -Wl,--no-warn-search-mismatch
./tests/basics/run_all.py search || die
}
pkg_postinst() {
optfeature "support for stand-alone executables" app-admin/chrpath
}

@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save