parent
61cfb8bc56
commit
0f3428f1d2
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(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/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install nose
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
nosetests -v tests/{functional,unit} ||
|
||||
die "Tests failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST eid-mw-5.0.23.tar.gz 13614039 BLAKE2B 5df1ad1cfd658586352800119eca17b2c57f642678cb131bd46af7b3cd3e4599e4d84b91c139d47082f07a1a80d6719f352151982085c6a577b01a75b6875782 SHA512 35be133c81cd5824dcffd9d74dae2aaf4cecffc56cf0e106832ea930d7d8a9a7ae115aab19d21cc79d011fe98108b0d67a3a69e5cb27ff3ec0ec059a9d9e0035
|
||||
DIST eid-mw-5.0.28.tar.gz 13615312 BLAKE2B 1dbc39267688ad322059009ee0aecdd52e7133d3029285255d019819075249755153b7bf10acd775cee7fef86603de4440ff4e47338a28ff9a1ddfce79ff7adc SHA512 05705180f69cb68617660a793baf314486407557f40a223e474047e2f7f9ca8e125feb60f6b0cd47cba6e84653cfe02cdbf48c7169fe78b39b08ec621e3a7898
|
||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST mosquitto-1.6.15.tar.gz 620117 BLAKE2B 0107ed0af902b84c73b857ccd97dfe96b1c7ed8604b843ad40f62d3f1246ded4ef1691158311ac9a672ca331f569d13547165f3a0386c77e94ddc13c8a9e3e00 SHA512 30fa2e8a15b87a33d6c8fc3a1f5d45d8e15d284fade116ac5b7bc8722609d565bed22ac592c303fc74352e3272067b2b0c8da463abffc6490cf959ce177329f3
|
||||
DIST mosquitto-2.0.11.tar.gz 760325 BLAKE2B adde701bb87ec8071eaaf74fca37f81c4eae97bf98de0fe471f1dfbfb64ccda15b34611b0ffc3d2099a37994151363ad5c717bfa7695fabc1a4927ebd14ae66e SHA512 d0c7c52cb76c4711e54f841217529326d682c4decfc7a1bc96d872904e68df444ca3918fab7ba041b62f7b5420c89c631227b69a8eec51fd2e2dd480d8244710
|
||||
DIST mosquitto-2.0.12.tar.gz 783859 BLAKE2B 3bac953fc7f49e19f1914186044c75d7f8b5b23e656acfb7d4c306740d0add20c08760fc206fc871c5cecf8500eb1c88acc4905bddce159d1e8f0c4e2c28b818 SHA512 acf80980f124073fd2fdd99981bde840654fb40a6b6f1d6ef483e35880b45d029cfa9390a98753de6476f4ade068266cb4c6e3c753a0362c0309a5745ac4ebab
|
||||
|
@ -0,0 +1,121 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit python-any-r1 systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="An Open Source MQTT v3 Broker"
|
||||
HOMEPAGE="https://mosquitto.org/ https://github.com/eclipse/mosquitto"
|
||||
SRC_URI="https://mosquitto.org/files/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="bridge examples +persistence +srv ssl tcpd test websockets"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="test? ( bridge )"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/mosquitto
|
||||
acct-group/mosquitto
|
||||
dev-libs/cJSON:=
|
||||
srv? ( net-dns/c-ares:= )
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
tcpd? ( sys-apps/tcp-wrappers )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${RDEPEND}
|
||||
test? ( dev-util/cunit )
|
||||
websockets? ( net-libs/libwebsockets[lejp] )"
|
||||
|
||||
_emake() {
|
||||
local LIBDIR=$(get_libdir)
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CLIENT_LDFLAGS="${LDFLAGS}" \
|
||||
LIB_SUFFIX="${LIBDIR:3}" \
|
||||
WITH_BRIDGE="$(usex bridge)" \
|
||||
WITH_PERSISTENCE="$(usex persistence)" \
|
||||
WITH_SRV="$(usex srv)" \
|
||||
WITH_TLS="$(usex ssl)" \
|
||||
WITH_WEBSOCKETS="$(usex websockets)" \
|
||||
WITH_WRAP="$(usex tcpd)" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use persistence; then
|
||||
sed -i -e "/^#autosave_interval/s|^#||" \
|
||||
-e "s|^#persistence false$|persistence true|" \
|
||||
-e "/^#persistence_file/s|^#||" \
|
||||
-e "s|#persistence_location|persistence_location /var/lib/mosquitto/|" \
|
||||
mosquitto.conf || die
|
||||
fi
|
||||
|
||||
# Remove prestripping
|
||||
sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\
|
||||
client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die
|
||||
|
||||
# Remove failing tests
|
||||
sed -i \
|
||||
-e '/01-connect-575314.py/d' \
|
||||
test/broker/Makefile || die
|
||||
sed -i \
|
||||
-e '/02-subscribe-qos1-async2.test/d' \
|
||||
test/lib/Makefile || die
|
||||
|
||||
# Extend test timeout to prevent spurious failures
|
||||
sed -i -e 's/SUB_TIMEOUT=1/SUB_TIMEOUT=3/' \
|
||||
test/client/test.sh || die
|
||||
|
||||
python_setup
|
||||
python_fix_shebang test
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
_emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
_emake DESTDIR="${D}" prefix=/usr install
|
||||
keepdir /var/lib/mosquitto
|
||||
fowners mosquitto:mosquitto /var/lib/mosquitto
|
||||
dodoc README.md CONTRIBUTING.md ChangeLog.txt
|
||||
doinitd "${FILESDIR}"/mosquitto
|
||||
insinto /etc/mosquitto
|
||||
doins mosquitto.conf
|
||||
insinto /usr/share/mosquitto
|
||||
doins misc/letsencrypt/mosquitto-copy.sh
|
||||
systemd_dounit "${FILESDIR}/mosquitto.service"
|
||||
|
||||
if use examples; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(ver_cut 1 "$v") -lt 2 ]]; then
|
||||
elog
|
||||
elog "Please read the migration guide at:"
|
||||
elog "https://mosquitto.org/documentation/migrating-to-2-0/"
|
||||
elog
|
||||
elog "If you use Lets Encrypt TLS certificates, take note of"
|
||||
elog "the changes required to run the daemon as the unprivileged"
|
||||
elog "mosquitto user. The mosquitto-copy.sh script has been"
|
||||
elog "installed to /usr/share/mosquitto/ for your convenience."
|
||||
elog
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
commit 41056d132ae772b3c050020d68b7daa585e4143c
|
||||
Author: Louis Sautier <sautier.louis@gmail.com>
|
||||
Date: Thu Sep 9 13:29:37 2021 +0200
|
||||
|
||||
Never hardcode compiler, select it based on CC environment variable
|
||||
|
||||
diff --git a/SConstruct b/SConstruct
|
||||
index 7e12d413..20b080da 100755
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -37,8 +37,9 @@ Export('VERSION_MAJOR VERSION_MINOR VERSION_PATCH VERSION_NAME')
|
||||
def check_gcc_version(context):
|
||||
context.Message('Checking for GCC version... ')
|
||||
|
||||
+ gcc = os.environ.get("CC", "gcc")
|
||||
try:
|
||||
- v = subprocess.check_output("printf '%s\n' __GNUC__ | gcc -E -P -", shell=True)
|
||||
+ v = subprocess.check_output("printf '%s\n' __GNUC__ | {} -E -P -".format(gcc), shell=True)
|
||||
try:
|
||||
v = int(v)
|
||||
context.Result(str(v))
|
||||
diff --git a/tests/test_types/test_nonstripped.py b/tests/test_types/test_nonstripped.py
|
||||
index a18648c9..d3190d1b 100644
|
||||
--- a/tests/test_types/test_nonstripped.py
|
||||
+++ b/tests/test_types/test_nonstripped.py
|
||||
@@ -21,8 +21,12 @@ def create_binary(path, stripped=False):
|
||||
path = path + '.stripped' if stripped else path + '.nonstripped'
|
||||
full_path = os.path.join(TESTDIR_NAME, path)
|
||||
|
||||
- command = 'echo \'{src}\' | cc -o {path} {option} -std=c99 -xc -'.format(
|
||||
- src=SOURCE, path=full_path, option=('-s' if stripped else '-ggdb3')
|
||||
+ cc = os.environ.get("CC", "cc")
|
||||
+ command = 'echo \'{src}\' | {cc} -o {path} {option} -std=c99 -xc -'.format(
|
||||
+ cc=cc,
|
||||
+ src=SOURCE,
|
||||
+ path=full_path,
|
||||
+ option=('-s' if stripped else '-ggdb3')
|
||||
)
|
||||
subprocess.call(command, shell=True)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST asyncstdlib-3.10.0.gh.tar.gz 45242 BLAKE2B 12fb7f96d9c7c6e7ddad67b6c25b805de95812f902e14935a11440c4c55437f550df18c388727d21745b99e6db97917849547fdf726a89c62136ce1d01b8545b SHA512 9e930fa906139d664575d7f41d4e5ddf7da62e02bc946efeadadf6631ae63c15ca2ac1b5793172424f9ad916d32bbd4a741de5844b247c2fa506b63431711933
|
||||
DIST asyncstdlib-3.9.1.gh.tar.gz 40224 BLAKE2B 8d1e564c9f5ac10c7f05dfa3933f695ae458685550fb67401f3bd0d1294ef0b170f5b385cdcf63c0096854538219a0dea77d4d80bd801f1a9b15f5ad3f2c562a SHA512 de7860d84cee7bfdc974a0677cc231323c86238bcb0bfd2f32a62b7356042aad647ee8d627393be35c5a134855d5f76967143ad8347df9d6258f46bc2b43a62a
|
||||
DIST asyncstdlib-3.9.2.gh.tar.gz 41963 BLAKE2B da40c23bacc58c1347aca94107e3026829d9b27645eddc47fc46a96cab4be7baa9ed3c31f6f0045b884130d4316394d6a0b6b44818b42b6e6c512c641847d556 SHA512 f5268451325b48b967747b5e1ffe4e773a5aae82c6d481781e6c95f483d972da2b3806c1117067256d22efaba1238787898667a6a50ac4b2512dac4b5343d2a2
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The missing async toolbox"
|
||||
HOMEPAGE="
|
||||
https://github.com/maxfischer2781/asyncstdlib/
|
||||
https://pypi.org/project/asyncstdlib/"
|
||||
SRC_URI="
|
||||
https://github.com/maxfischer2781/asyncstdlib/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# prevent an infinite loop
|
||||
rm tests/functional/docs/test_smoke.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ ||
|
||||
die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/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 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
# very unstable
|
||||
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||
tests/functional/retries/test_bucket.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# note: suites need to be run separately as one of the unit tests
|
||||
# seems to be leaking mocks and breaking a few functional tests
|
||||
nosetests -v tests/unit ||
|
||||
die "unit tests failed under ${EPYTHON}"
|
||||
nosetests -v tests/functional ||
|
||||
die "functional tests failed under ${EPYTHON}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST tekore-3.7.1.tar.gz 258235 BLAKE2B e04edfab294ac3dac1fb086f296bf3fcc463cdad981d435fdd19ec812f1bb2ff79cacaa94d5105dc1070dd56602cc9a502537c68020cb27b2eb5b3c93788f193 SHA512 ed315a0b5b071265d2ba12d996bedafdea87286fd1beecc14d247176f2bdd2245e0220fb186ce4bd6eec2bc13a764f74b067ce1e546d8c30e618a4bdc3bf02e0
|
||||
DIST tekore-4.0.0.tar.gz 259755 BLAKE2B 5c4c990c14187c20ef3566d1bc0cf32e50fe108d90b59126e2d56105b6fe053ca02c98e7ad7a4fa09345792106e956873a0f42b8492420bd74898557c6d97f23 SHA512 7e5cf6044a6a7045257b9b9830fe4bdb6fb175240b295da3f93cb0557150536655ddf44ab551b52182815fc517b8e43ee704b1061db1284426574e741f7d9a56
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Spotify Web API client"
|
||||
HOMEPAGE="
|
||||
https://tekore.readthedocs.io
|
||||
https://github.com/felix-hilden/tekore
|
||||
"
|
||||
SRC_URI="https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/httpx-0.20[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/pytest-asyncio-0.11[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( readme.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/src \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/sphinx-autodoc-typehints
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Internet
|
||||
tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error
|
||||
)
|
@ -0,0 +1,233 @@
|
||||
commit d886499651add63bbb944c25fc56a276cc2a7884
|
||||
Author: Louis Sautier <sautier.louis@gmail.com>
|
||||
Date: Thu Sep 9 23:35:03 2021 +0200
|
||||
|
||||
Stop using deprecated 2to3 option for setuptools
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index f575020..678b555 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -36,5 +36,4 @@ more to learn about it.
|
||||
test_suite='nose.collector',
|
||||
include_package_data=True,
|
||||
zip_safe=True,
|
||||
- use_2to3=True,
|
||||
)
|
||||
diff --git a/tempita/__init__.py b/tempita/__init__.py
|
||||
index acc2fd9..a3cb8a1 100755
|
||||
--- a/tempita/__init__.py
|
||||
+++ b/tempita/__init__.py
|
||||
@@ -35,9 +35,9 @@ import os
|
||||
import re
|
||||
import sys
|
||||
import tokenize
|
||||
-from cStringIO import StringIO
|
||||
+from io import StringIO
|
||||
from html import escape
|
||||
-from urllib import quote as url_quote
|
||||
+from urllib.parse import quote as url_quote
|
||||
from tempita._looper import looper
|
||||
from tempita.compat3 import bytes, basestring_, next, is_unicode, coerce_text
|
||||
|
||||
@@ -103,7 +103,7 @@ class Template(object):
|
||||
delimiters = (self.default_namespace['start_braces'],
|
||||
self.default_namespace['end_braces'])
|
||||
else:
|
||||
- assert len(delimiters) == 2 and all([isinstance(delimeter, basestring)
|
||||
+ assert len(delimiters) == 2 and all([isinstance(delimeter, str)
|
||||
for delimeter in delimiters])
|
||||
self.default_namespace = self.__class__.default_namespace.copy()
|
||||
self.default_namespace['start_braces'] = delimiters[0]
|
||||
@@ -198,7 +198,7 @@ class Template(object):
|
||||
position=None, name=self.name)
|
||||
templ = self.get_template(inherit_template, self)
|
||||
self_ = TemplateObject(self.name)
|
||||
- for name, value in defs.iteritems():
|
||||
+ for name, value in defs.items():
|
||||
setattr(self_, name, value)
|
||||
self_.body = body
|
||||
ns = ns.copy()
|
||||
@@ -294,7 +294,7 @@ class Template(object):
|
||||
try:
|
||||
try:
|
||||
value = eval(code, self.default_namespace, ns)
|
||||
- except SyntaxError, e:
|
||||
+ except SyntaxError as e:
|
||||
raise SyntaxError(
|
||||
'invalid syntax in expression: %s' % code)
|
||||
return value
|
||||
@@ -306,12 +306,12 @@ class Template(object):
|
||||
else:
|
||||
arg0 = coerce_text(e)
|
||||
e.args = (self._add_line_info(arg0, pos),)
|
||||
- raise exc_info[0], e, exc_info[2]
|
||||
+ raise exc_info[0](e).with_traceback(exc_info[2])
|
||||
|
||||
def _exec(self, code, ns, pos):
|
||||
__traceback_hide__ = True
|
||||
try:
|
||||
- exec code in self.default_namespace, ns
|
||||
+ exec(code, self.default_namespace, ns)
|
||||
except:
|
||||
exc_info = sys.exc_info()
|
||||
e = exc_info[1]
|
||||
@@ -319,7 +319,7 @@ class Template(object):
|
||||
e.args = (self._add_line_info(e.args[0], pos),)
|
||||
else:
|
||||
e.args = (self._add_line_info(None, pos),)
|
||||
- raise exc_info[0], e, exc_info[2]
|
||||
+ raise exc_info[0](e).with_traceback(exc_info[2])
|
||||
|
||||
def _repr(self, value, pos):
|
||||
__traceback_hide__ = True
|
||||
@@ -328,7 +328,7 @@ class Template(object):
|
||||
return ''
|
||||
if self._unicode:
|
||||
try:
|
||||
- value = unicode(value)
|
||||
+ value = str(value)
|
||||
except UnicodeDecodeError:
|
||||
value = bytes(value)
|
||||
else:
|
||||
@@ -341,7 +341,7 @@ class Template(object):
|
||||
exc_info = sys.exc_info()
|
||||
e = exc_info[1]
|
||||
e.args = (self._add_line_info(e.args[0], pos),)
|
||||
- raise exc_info[0], e, exc_info[2]
|
||||
+ raise exc_info[0](e).with_traceback(exc_info[2])
|
||||
else:
|
||||
if self._unicode and isinstance(value, bytes):
|
||||
if not self.default_encoding:
|
||||
@@ -350,7 +350,7 @@ class Template(object):
|
||||
'(no default_encoding provided)' % value)
|
||||
try:
|
||||
value = value.decode(self.default_encoding)
|
||||
- except UnicodeDecodeError, e:
|
||||
+ except UnicodeDecodeError as e:
|
||||
raise UnicodeDecodeError(
|
||||
e.encoding,
|
||||
e.object,
|
||||
@@ -387,7 +387,7 @@ def paste_script_template_renderer(content, vars, filename=None):
|
||||
class bunch(dict):
|
||||
|
||||
def __init__(self, **kw):
|
||||
- for name, value in kw.iteritems():
|
||||
+ for name, value in kw.items():
|
||||
setattr(self, name, value)
|
||||
|
||||
def __setattr__(self, name, value):
|
||||
@@ -410,7 +410,7 @@ class bunch(dict):
|
||||
|
||||
def __repr__(self):
|
||||
items = [
|
||||
- (k, v) for k, v in self.iteritems()]
|
||||
+ (k, v) for k, v in self.items()]
|
||||
items.sort()
|
||||
return '<%s %s>' % (
|
||||
self.__class__.__name__,
|
||||
@@ -463,7 +463,7 @@ def url(v):
|
||||
|
||||
|
||||
def attr(**kw):
|
||||
- kw = list(kw.iteritems())
|
||||
+ kw = list(kw.items())
|
||||
kw.sort()
|
||||
parts = []
|
||||
for name, value in kw:
|
||||
@@ -545,7 +545,7 @@ class TemplateDef(object):
|
||||
values = {}
|
||||
sig_args, var_args, var_kw, defaults = self._func_signature
|
||||
extra_kw = {}
|
||||
- for name, value in kw.iteritems():
|
||||
+ for name, value in kw.items():
|
||||
if not var_kw and name not in sig_args:
|
||||
raise TypeError(
|
||||
'Unexpected argument %s' % name)
|
||||
@@ -568,7 +568,7 @@ class TemplateDef(object):
|
||||
raise TypeError(
|
||||
'Extra position arguments: %s'
|
||||
% ', '.join(repr(v) for v in args))
|
||||
- for name, value_expr in defaults.iteritems():
|
||||
+ for name, value_expr in defaults.items():
|
||||
if name not in values:
|
||||
values[name] = self._template._eval(
|
||||
value_expr, self._ns, self._pos)
|
||||
@@ -614,7 +614,7 @@ class _Empty(object):
|
||||
return 'Empty'
|
||||
|
||||
def __unicode__(self):
|
||||
- return u''
|
||||
+ return ''
|
||||
|
||||
def __iter__(self):
|
||||
return iter(())
|
||||
@@ -1164,7 +1164,7 @@ def fill_command(args=None):
|
||||
vars.update(os.environ)
|
||||
for value in args:
|
||||
if '=' not in value:
|
||||
- print('Bad argument: %r' % value)
|
||||
+ print(('Bad argument: %r' % value))
|
||||
sys.exit(2)
|
||||
name, value = value.split('=', 1)
|
||||
if name.startswith('py:'):
|
||||
diff --git a/tempita/_looper.py b/tempita/_looper.py
|
||||
index 6784c7c..70aded7 100644
|
||||
--- a/tempita/_looper.py
|
||||
+++ b/tempita/_looper.py
|
||||
@@ -7,9 +7,9 @@ These can be awkward to manage in a normal Python loop, but using the
|
||||
looper you can get a better sense of the context. Use like::
|
||||
|
||||
>>> for loop, item in looper(['a', 'b', 'c']):
|
||||
- ... print loop.number, item
|
||||
+ ... print(loop.number, item)
|
||||
... if not loop.last:
|
||||
- ... print '---'
|
||||
+ ... print('---')
|
||||
1 a
|
||||
---
|
||||
2 b
|
||||
@@ -161,3 +161,4 @@ class loop_pos(object):
|
||||
return getter(item) != getter(other)
|
||||
else:
|
||||
return item[getter] != other[getter]
|
||||
+
|
||||
diff --git a/tempita/compat3.py b/tempita/compat3.py
|
||||
index 5e18fa0..f17f588 100644
|
||||
--- a/tempita/compat3.py
|
||||
+++ b/tempita/compat3.py
|
||||
@@ -4,7 +4,7 @@ __all__ = ['b', 'basestring_', 'bytes', 'next', 'is_unicode']
|
||||
|
||||
if sys.version < "3":
|
||||
b = bytes = str
|
||||
- basestring_ = basestring
|
||||
+ basestring_ = str
|
||||
else:
|
||||
|
||||
def b(s):
|
||||
@@ -18,14 +18,14 @@ text = str
|
||||
if sys.version < "3":
|
||||
|
||||
def next(obj):
|
||||
- return obj.next()
|
||||
+ return obj.__next__()
|
||||
else:
|
||||
next = next
|
||||
|
||||
if sys.version < "3":
|
||||
|
||||
def is_unicode(obj):
|
||||
- return isinstance(obj, unicode)
|
||||
+ return isinstance(obj, str)
|
||||
else:
|
||||
|
||||
def is_unicode(obj):
|
||||
@@ -39,7 +39,7 @@ def coerce_text(v):
|
||||
else:
|
||||
attr = '__str__'
|
||||
if hasattr(v, attr):
|
||||
- return unicode(v)
|
||||
+ return str(v)
|
||||
else:
|
||||
return bytes(v)
|
||||
return v
|
@ -1,26 +0,0 @@
|
||||
diff --git a/docs/index.txt b/docs/index.txt
|
||||
index 6d943f6..afe3aa2 100644
|
||||
--- a/docs/index.txt
|
||||
+++ b/docs/index.txt
|
||||
@@ -82,7 +82,7 @@ error (the name will be displayed)::
|
||||
>>> tmpl.substitute()
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
- NameError: name 'name' is not defined at line 1 column 6 in file tmpl
|
||||
+ NameError:... name 'name' is not defined at line 1 column 6 in file tmpl
|
||||
|
||||
You can also give a namespace to use by default, which
|
||||
``.substitute(...)`` will augment::
|
||||
diff --git a/tests/test_template.txt b/tests/test_template.txt
|
||||
index 9564a9a..d9eb55d 100644
|
||||
--- a/tests/test_template.txt
|
||||
+++ b/tests/test_template.txt
|
||||
@@ -144,7 +144,7 @@ for a variable, if no value is given::
|
||||
>>> sub('{{x}}')
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
- NameError: name 'x' is not defined at line 1 column 3
|
||||
+ NameError:... name 'x' is not defined at line 1 column 3
|
||||
|
||||
And comments work::
|
||||
|
Binary file not shown.
@ -0,0 +1,252 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit check-reqs toolchain-funcs unpacker
|
||||
|
||||
DRIVER_PV="470.57.02"
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="https://developer.nvidia.com/cuda-zone"
|
||||
SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux"
|
||||
IUSE="debugger nsight profiler vis-profiler sanitizer"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
BDEPEND=""
|
||||
RDEPEND="
|
||||
<sys-devel/gcc-12_pre[cxx]
|
||||
>=x11-drivers/nvidia-drivers-${DRIVER_PV}
|
||||
debugger? (
|
||||
dev-libs/openssl
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses-compat:5[tinfo]
|
||||
)
|
||||
vis-profiler? (
|
||||
dev-libs/openssl
|
||||
>=virtual/jre-1.8:*
|
||||
)"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
CHECKREQS_DISK_BUILD="6800M"
|
||||
|
||||
pkg_setup() {
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# ATTENTION: change requires revbump
|
||||
local cuda_supported_gcc="8.5 9.4 9.5 10.3 10.4 11.1 11.2 11.3"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}${cudadir}"
|
||||
local pathextradirs ldpathextradirs
|
||||
dodir ${cudadir}
|
||||
into ${cudadir}
|
||||
|
||||
# Install standard sub packages
|
||||
local builddirs=(
|
||||
builds/cuda_{cudart,cuobjdump,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx,thrust}
|
||||
builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg}
|
||||
$(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "")
|
||||
$(usex vis-profiler "builds/cuda_nvvp" "")
|
||||
$(usex debugger "builds/cuda_gdb" "")
|
||||
)
|
||||
|
||||
local d f
|
||||
for d in "${builddirs[@]}"; do
|
||||
ebegin "Installing ${d}"
|
||||
[[ -d ${d} ]] || die "Directory does not exist: ${d}"
|
||||
|
||||
if [[ -d ${d}/bin ]]; then
|
||||
for f in ${d}/bin/*; do
|
||||
if [[ -f ${f} ]]; then
|
||||
dobin "${f}"
|
||||
else
|
||||
insinto ${cudadir}/bin
|
||||
doins -r "${f}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
insinto ${cudadir}
|
||||
if [[ -d ${d}/targets ]]; then
|
||||
doins -r "${d}"/targets
|
||||
fi
|
||||
if [[ -d ${d}/share ]]; then
|
||||
doins -r "${d}"/share
|
||||
fi
|
||||
if [[ -d ${d}/extras ]]; then
|
||||
doins -r "${d}"/extras
|
||||
fi
|
||||
eend
|
||||
done
|
||||
dobin "${T}"/cuda-config
|
||||
|
||||
doins builds/EULA.txt
|
||||
# nvml and nvvm need special handling
|
||||
ebegin "Installing nvvm"
|
||||
doins -r builds/cuda_nvcc/nvvm
|
||||
fperms +x ${cudadir}/nvvm/bin/cicc
|
||||
eend
|
||||
|
||||
ebegin "Installing nvml"
|
||||
doins -r builds/cuda_nvml_dev/nvml
|
||||
eend
|
||||
|
||||
if use sanitizer; then
|
||||
ebegin "Installing sanitizer"
|
||||
dobin builds/integration/Sanitizer/compute-sanitizer
|
||||
doins -r builds/cuda_sanitizer_api/compute-sanitizer
|
||||
# special handling for the executable
|
||||
fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer
|
||||
eend
|
||||
fi
|
||||
|
||||
use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64"
|
||||
|
||||
if use vis-profiler; then
|
||||
ebegin "Installing libnvvp"
|
||||
doins -r builds/cuda_nvvp/libnvvp
|
||||
# special handling for the executable
|
||||
fperms +x ${cudadir}/libnvvp/nvvp
|
||||
eend
|
||||
pathextradirs+=":${ecudadir}/libnvvp"
|
||||
fi
|
||||
|
||||
if use nsight; then
|
||||
local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml)
|
||||
ebegin "Installing ${ncu_dir}"
|
||||
mv builds/nsight_compute builds/${ncu_dir} || die
|
||||
doins -r builds/${ncu_dir}
|
||||
|
||||
# check this list on every bump
|
||||
local exes=(
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin
|
||||
${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper
|
||||
${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper
|
||||
${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu
|
||||
)
|
||||
|
||||
dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli}
|
||||
eend
|
||||
|
||||
local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml)
|
||||
ebegin "Installing ${nsys_dir}"
|
||||
mv builds/nsight_systems builds/${nsys_dir} || die
|
||||
doins -r builds/${nsys_dir}
|
||||
|
||||
# check this list on every bump
|
||||
exes+=(
|
||||
${nsys_dir}/host-linux-x64/nsys-ui
|
||||
${nsys_dir}/host-linux-x64/nsys-ui.bin
|
||||
${nsys_dir}/host-linux-x64/ResolveSymbols
|
||||
${nsys_dir}/host-linux-x64/ImportNvtxt
|
||||
${nsys_dir}/host-linux-x64/CrashReporter
|
||||
${nsys_dir}/host-linux-x64/QdstrmImporter
|
||||
${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess
|
||||
${nsys_dir}/target-linux-x64/nsys
|
||||
${nsys_dir}/target-linux-x64/launcher
|
||||
${nsys_dir}/target-linux-x64/nvgpucs
|
||||
${nsys_dir}/target-linux-x64/nsys-launcher
|
||||
${nsys_dir}/target-linux-x64/sqlite3
|
||||
${nsys_dir}/target-linux-x64/python/bin/python
|
||||
)
|
||||
|
||||
dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui}
|
||||
eend
|
||||
|
||||
# nsight scripts and binaries need to have their executable bit set, #691284
|
||||
for f in "${exes[@]}"; do
|
||||
fperms +x ${cudadir}/${f}
|
||||
done
|
||||
|
||||
# remove foreign archs (triggers SONAME warning, #749903)
|
||||
rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die
|
||||
rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die
|
||||
rm -r "${ED}"/${cudadir}/${nsys_dir}/target-linux-armv8 || die
|
||||
|
||||
# TODO: unbundle qt5
|
||||
# TODO: unbundle boost
|
||||
# TODO: unbundle icu
|
||||
# TODO: unbundle openssl
|
||||
# TODO: unbundle mesa
|
||||
# TODO: unbundle libz
|
||||
# TODO: unbundle libstdc++
|
||||
# TODO: unbundle libSshClient
|
||||
# TODO: unbundle sqlite
|
||||
# TODO: unbundle libpfm ?
|
||||
fi
|
||||
|
||||
# Add include and lib symlinks
|
||||
dosym targets/x86_64-linux/include ${cudadir}/include
|
||||
dosym targets/x86_64-linux/lib ${cudadir}/lib64
|
||||
|
||||
newenvd - 99cuda <<-EOF
|
||||
PATH=${ecudadir}/bin${pathextradirs}
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs}
|
||||
EOF
|
||||
|
||||
# Cuda prepackages libraries, don't revdep-build on them
|
||||
insinto /etc/revdep-rebuild
|
||||
newins - 80${PN} <<-EOF
|
||||
SEARCH_DIRS_MASK="${ecudadir}"
|
||||
EOF
|
||||
# TODO: Add pkgconfig files for installed libraries
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
|
||||
local b="0.0"
|
||||
local v
|
||||
for v in ${a}; do
|
||||
ver_test "${v}" -gt "${b}" && b="${v}"
|
||||
done
|
||||
|
||||
# if gcc and if not gcc-version is at least greatest supported
|
||||
if tc-is-gcc && \
|
||||
ver_test $(gcc-version) -gt "${b}"; then
|
||||
ewarn
|
||||
ewarn "gcc > ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
|
||||
if use profiler || use nsight; then
|
||||
einfo
|
||||
einfo "nvidia-drivers restrict access to performance counters."
|
||||
einfo "You'll need to either run profiling tools (nvprof, nsight) "
|
||||
einfo "using sudo (needs cap SYS_ADMIN) or add the following line to "
|
||||
einfo "a modprobe configuration file "
|
||||
einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): "
|
||||
einfo
|
||||
einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0"
|
||||
einfo
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Thu, 09 Sep 2021 19:09:14 +0000
|
||||
Fri, 10 Sep 2021 05:09:10 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 09 Sep 2021 19:09:15 +0000
|
||||
Fri, 10 Sep 2021 05:09:10 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-python/mock[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) test? ( >=dev-python/botocore-1.21.39[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/colorama[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/docutils[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/rsa[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.4.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/nose-1.3.7-r4[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Universal Command Line Environment for AWS
|
||||
EAPI=7
|
||||
HOMEPAGE=https://pypi.org/project/awscli/
|
||||
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64 ~arm64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/botocore-1.21.39[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/colorama[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/docutils[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/rsa[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.4.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/aws/aws-cli/archive/1.20.39.tar.gz -> awscli-1.20.39.tar.gz
|
||||
_eclasses_=bash-completion-r1 d3a60385655d9b402be765a6de333245 distutils-r1 6088739b8548699015d46289639d660c eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 08d890890f70fe0096093016e55438d5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=383108bd725409654cec81f2318676df
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=virtual/pkgconfig
|
||||
DEFINED_PHASES=compile install postinst prepare setup test
|
||||
DEPEND=|| ( dev-lang/python:3.10 dev-lang/python:3.9 dev-lang/python:3.8 ) acct-user/mosquitto acct-group/mosquitto dev-libs/cJSON:= srv? ( net-dns/c-ares:= ) ssl? ( dev-libs/openssl:0= ) tcpd? ( sys-apps/tcp-wrappers ) test? ( dev-util/cunit ) websockets? ( net-libs/libwebsockets[lejp] )
|
||||
DESCRIPTION=An Open Source MQTT v3 Broker
|
||||
EAPI=7
|
||||
HOMEPAGE=https://mosquitto.org/ https://github.com/eclipse/mosquitto
|
||||
IUSE=bridge examples +persistence +srv ssl tcpd test websockets
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~x86
|
||||
LICENSE=EPL-1.0
|
||||
RDEPEND=acct-user/mosquitto acct-group/mosquitto dev-libs/cJSON:= srv? ( net-dns/c-ares:= ) ssl? ( dev-libs/openssl:0= ) tcpd? ( sys-apps/tcp-wrappers )
|
||||
REQUIRED_USE=test? ( bridge )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://mosquitto.org/files/source/mosquitto-2.0.12.tar.gz
|
||||
_eclasses_=eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-any-r1 13f6d423c5c5bc519a9b552654cc745f python-utils-r1 08d890890f70fe0096093016e55438d5 systemd c846b9e02ac8293bfc9ca38a195c2a18 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=1af7feb98bec56ae96cbdad8e5f0ba85
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( >=dev-python/pytest-4.5.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/pyproject2setuppy-18[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=The missing async toolbox
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/maxfischer2781/asyncstdlib/ https://pypi.org/project/asyncstdlib/
|
||||
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/maxfischer2781/asyncstdlib/archive/v3.10.0.tar.gz -> asyncstdlib-3.10.0.gh.tar.gz
|
||||
_eclasses_=distutils-r1 6088739b8548699015d46289639d660c multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 08d890890f70fe0096093016e55438d5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=ecd934fcd3b7bb9c56dfa3d14451c4c7
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-python/mock[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) doc? ( || ( ( dev-lang/python:3.10 dev-python/sphinx[python_targets_python3_10(-)] dev-python/guzzle_sphinx_theme[python_targets_python3_10(-)] ) ( dev-lang/python:3.9 dev-python/sphinx[python_targets_python3_9(-)] dev-python/guzzle_sphinx_theme[python_targets_python3_9(-)] ) ( dev-lang/python:3.8 dev-python/sphinx[python_targets_python3_8(-)] dev-python/guzzle_sphinx_theme[python_targets_python3_8(-)] ) ) ) test? ( >=dev-python/botocore-1.21.39[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/jmespath-0.7.1[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.3.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/nose-1.3.7-r4[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=The AWS SDK for Python
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/boto/boto3
|
||||
IUSE=doc test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/botocore-1.21.39[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/jmespath-0.7.1[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.3.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/boto/boto3/archive/1.18.39.tar.gz -> boto3-1.18.39.tar.gz
|
||||
_eclasses_=distutils-r1 6088739b8548699015d46289639d660c multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 08d890890f70fe0096093016e55438d5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=54d01e4711ff5a8d177aa899d16724a4
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-python/mock[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/jsonschema[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) doc? ( || ( ( dev-lang/python:3.10 dev-python/sphinx[python_targets_python3_10(-)] dev-python/guzzle_sphinx_theme[python_targets_python3_10(-)] ) ( dev-lang/python:3.9 dev-python/sphinx[python_targets_python3_9(-)] dev-python/guzzle_sphinx_theme[python_targets_python3_9(-)] ) ( dev-lang/python:3.8 dev-python/sphinx[python_targets_python3_8(-)] dev-python/guzzle_sphinx_theme[python_targets_python3_8(-)] ) ) ) test? ( dev-python/six[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/jmespath[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/python-dateutil[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/urllib3-1.25.4[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/nose-1.3.7-r4[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Low-level, data-driven core of boto 3
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/boto/botocore
|
||||
IUSE=doc test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-python/six[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/jmespath[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/python-dateutil[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/urllib3-1.25.4[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/b/botocore/botocore-1.21.39.tar.gz
|
||||
_eclasses_=distutils-r1 6088739b8548699015d46289639d660c multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 08d890890f70fe0096093016e55438d5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=ea8c6f49678b6d7e1d241a2c2f6deaae
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( >=dev-python/pytest-asyncio-0.11[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) test? ( <dev-python/httpx-0.20[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/pytest-4.5.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) doc? ( || ( ( dev-lang/python:3.10 dev-python/sphinx[python_targets_python3_10(-)] dev-python/sphinx_rtd_theme[python_targets_python3_10(-)] dev-python/sphinx-autodoc-typehints[python_targets_python3_10(-)] ) ( dev-lang/python:3.9 dev-python/sphinx[python_targets_python3_9(-)] dev-python/sphinx_rtd_theme[python_targets_python3_9(-)] dev-python/sphinx-autodoc-typehints[python_targets_python3_9(-)] ) ( dev-lang/python:3.8 dev-python/sphinx[python_targets_python3_8(-)] dev-python/sphinx_rtd_theme[python_targets_python3_8(-)] dev-python/sphinx-autodoc-typehints[python_targets_python3_8(-)] ) ) ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Spotify Web API client
|
||||
EAPI=8
|
||||
HOMEPAGE=https://tekore.readthedocs.io https://github.com/felix-hilden/tekore
|
||||
IUSE=test doc python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MIT
|
||||
RDEPEND=<dev-python/httpx-0.20[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/felix-hilden/tekore/archive/v4.0.0.tar.gz -> tekore-4.0.0.tar.gz
|
||||
_eclasses_=distutils-r1 6088739b8548699015d46289639d660c multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 08d890890f70fe0096093016e55438d5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=b445706f635b6207b120da96ce4fc8d3
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=install postinst prepare pretend setup unpack
|
||||
DESCRIPTION=NVIDIA CUDA Toolkit (compiler and friends)
|
||||
EAPI=7
|
||||
HOMEPAGE=https://developer.nvidia.com/cuda-zone
|
||||
IUSE=debugger nsight profiler vis-profiler sanitizer
|
||||
KEYWORDS=-* ~amd64 ~amd64-linux
|
||||
LICENSE=NVIDIA-CUDA
|
||||
RDEPEND=<sys-devel/gcc-12_pre[cxx] >=x11-drivers/nvidia-drivers-470.57.02 debugger? ( dev-libs/openssl sys-libs/libtermcap-compat sys-libs/ncurses-compat:5[tinfo] ) vis-profiler? ( dev-libs/openssl >=virtual/jre-1.8:* )
|
||||
RESTRICT=bindist mirror
|
||||
SLOT=0/11.4.2
|
||||
SRC_URI=https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux.run
|
||||
_eclasses_=check-reqs bfb51de63b0462097e40436214dd43c8 multilib 4b66d835ec72e021e359bb81eacfe988 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa unpacker 928e1f35ef78ba9fc2b214e29c2b55a4
|
||||
_md5_=b464413f611f96023e882b31c912243b
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue