parent
7e5a828a6c
commit
1c024ae7b0
Binary file not shown.
Binary file not shown.
@ -0,0 +1,80 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit 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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
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() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||||
|
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||||
|
)
|
||||||
|
|
||||||
|
# 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
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST duplicity-0.8.23.tar.gz 1385252 BLAKE2B 63042486e6e17d2d93af72f617990c879763d5921e230302f406b4f9e7c57a67284130f9f57849b9ffc8638614b55f0f8abdf6bb20201155b33b72bef952ec9f SHA512 083cf0060a8c7a8472c6ee4ffbb87e85edf0fcdaba95862a9f272cc03d8ab3d18b584a8d256473e6cfab9eed6f993382b846b692a8c0dd46fd3a2d8215e54e45
|
DIST duplicity-0.8.23.tar.gz 1385252 BLAKE2B 63042486e6e17d2d93af72f617990c879763d5921e230302f406b4f9e7c57a67284130f9f57849b9ffc8638614b55f0f8abdf6bb20201155b33b72bef952ec9f SHA512 083cf0060a8c7a8472c6ee4ffbb87e85edf0fcdaba95862a9f272cc03d8ab3d18b584a8d256473e6cfab9eed6f993382b846b692a8c0dd46fd3a2d8215e54e45
|
||||||
DIST duplicity-1.0.0.tar.gz 1381405 BLAKE2B 5de886ca767c01097bc4954c2dc5e6c222c7f9a70f03476d3f8b749cd2d2c25a93458f656e9847cdb0a5cba27bc9466fd825f9b28cbdb593e602cec62876eb9a SHA512 27601f1e83fe685b94caf3703bf8001111efcf0e0af371f3c5434354c55bffba9d3dbd9b48b11808557154c61acfa7c19700dd1f45b10c471c570d85f145b7dd
|
DIST duplicity-1.0.0.tar.gz 1381405 BLAKE2B 5de886ca767c01097bc4954c2dc5e6c222c7f9a70f03476d3f8b749cd2d2c25a93458f656e9847cdb0a5cba27bc9466fd825f9b28cbdb593e602cec62876eb9a SHA512 27601f1e83fe685b94caf3703bf8001111efcf0e0af371f3c5434354c55bffba9d3dbd9b48b11808557154c61acfa7c19700dd1f45b10c471c570d85f145b7dd
|
||||||
DIST duplicity-1.0.1.tar.gz 1928618 BLAKE2B f7ffdd488e42219b66b6174dbb944283d02910f57cae9fcf849e8f5363986664a49ba7e316d6b3efdce89deec7e4c6a65a95bcb365fa23b928244b5e8f29d48b SHA512 dab8341b990b1899de6080f2539681f0a84f1875fabf04ccd68908e8dcdf55cd31f26d1431488b49ac6b048a1e7ff2e0a0afa27f6eccfd6a20f47dd7193b4563
|
DIST duplicity-1.0.1.tar.gz 1928618 BLAKE2B f7ffdd488e42219b66b6174dbb944283d02910f57cae9fcf849e8f5363986664a49ba7e316d6b3efdce89deec7e4c6a65a95bcb365fa23b928244b5e8f29d48b SHA512 dab8341b990b1899de6080f2539681f0a84f1875fabf04ccd68908e8dcdf55cd31f26d1431488b49ac6b048a1e7ff2e0a0afa27f6eccfd6a20f47dd7193b4563
|
||||||
|
DIST duplicity-1.2.2.tar.gz 1427493 BLAKE2B d30f91054c59695483a60a684ebc11440b1a490dc635fdc856d7e3e75d7c3b8bc3f8680ecec0af435fe3064c292c6ff0db392e6bb33c682e9527561196e842e1 SHA512 5da4addd0742afa93c62c506f49235b396a7d4bb6576bfd5ec223e04936072ef92e874c533f0f7ece3c1460bf017c2e1875d4ed5c08181113e2509dd28b4521b
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
PYTHON_COMPAT=( python3_10 python3_11 )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Secure backup system using gnupg to encrypt data"
|
||||||
|
HOMEPAGE="https://duplicity.gitlab.io/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE="s3 test"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
net-libs/librsync
|
||||||
|
app-crypt/gnupg
|
||||||
|
dev-python/fasteners[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
app-arch/par2cmdline
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||||
|
dev-python/future[${PYTHON_USEDEP}]
|
||||||
|
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-fix-docs-cmd.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
esetup.py test
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "Duplicity has many optional dependencies to support various backends."
|
||||||
|
elog "Currently it's up to you to install them as necessary."
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
--- duplicity-1.2.2/setup.py 2023-05-01 09:21:01.020192022 -0400
|
||||||
|
+++ duplicity-1.2.2/setup.py 2023-05-01 09:21:51.268882266 -0400
|
||||||
|
@@ -95,17 +95,6 @@
|
||||||
|
u'bin/rdiffdir.1'
|
||||||
|
]
|
||||||
|
),
|
||||||
|
- (u'share/doc/duplicity-%s' % Version,
|
||||||
|
- [
|
||||||
|
- u'CHANGELOG.md',
|
||||||
|
- u'CONTRIBUTING.md',
|
||||||
|
- u'COPYING',
|
||||||
|
- u'README.md',
|
||||||
|
- u'README-LOG.md',
|
||||||
|
- u'README-REPO.md',
|
||||||
|
- u'README-TESTING.md',
|
||||||
|
- ],
|
||||||
|
- ),
|
||||||
|
]
|
||||||
|
|
||||||
|
# short circuit fot READTHEDOCS
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
DIST org-9.4.6.tar.gz 4729335 BLAKE2B b88edaf8098124b2048ce57d6005d2af0de34e9b8fa94c24eb041a42a6fca1fd6da7f242be89e6b0ca5e7b80d879096f9114dca0ba86b20a5d26d2a185baa537 SHA512 7e50d7e9e2073bc0f06d2c861f59d4c9b8af4cf63c98f730c810a3a8721e65829fe9ef7ba0ac99f49bf9da427a4d5ad1d028e05c1a8ab6a3bea2ff2020c0e61d
|
DIST org-9.4.6.tar.gz 4729335 BLAKE2B b88edaf8098124b2048ce57d6005d2af0de34e9b8fa94c24eb041a42a6fca1fd6da7f242be89e6b0ca5e7b80d879096f9114dca0ba86b20a5d26d2a185baa537 SHA512 7e50d7e9e2073bc0f06d2c861f59d4c9b8af4cf63c98f730c810a3a8721e65829fe9ef7ba0ac99f49bf9da427a4d5ad1d028e05c1a8ab6a3bea2ff2020c0e61d
|
||||||
DIST org-mode-release_9.5.5.tar.gz 2049730 BLAKE2B 382e6585f693fd30def29da740d1329a52b4565382df90a37e3646324ee44106f1a99c2ea0c0862d77721cc9bfbec0736cb03065b59b2fdea0a68d8f8ea37c9a SHA512 ce06bab17ae7944c1623f935bbad0379d06390c72c43633ba0de2bc04ad362e18d9aaae96103eeaa23f7ea9e4e00976a97a914da87fb7941a13746b1fa77f591
|
DIST org-mode-release_9.5.5.tar.gz 2049730 BLAKE2B 382e6585f693fd30def29da740d1329a52b4565382df90a37e3646324ee44106f1a99c2ea0c0862d77721cc9bfbec0736cb03065b59b2fdea0a68d8f8ea37c9a SHA512 ce06bab17ae7944c1623f935bbad0379d06390c72c43633ba0de2bc04ad362e18d9aaae96103eeaa23f7ea9e4e00976a97a914da87fb7941a13746b1fa77f591
|
||||||
DIST org-mode-release_9.6.1.tar.gz 2207262 BLAKE2B 1e5880b9a3eab54e0a6f94cd630bff1ad00f58a24f0f46c203de01ee12c0ce652a8dd820b4a71c2d011d1cca55c08830cdf5e33410e2bccba95845ae05a20408 SHA512 0bf1e4879ade377276b438d7f71cfa28a75b70380db16d79fb698f7ff4f79b80684bc28a69dd23bbcd94844365a0cec36d70bd4097cc12e2b942ad6a97a5af6a
|
|
||||||
DIST org-mode-release_9.6.2.tar.gz 2208663 BLAKE2B f76e48f058a2a32cb09c14041b6781c385e1267eb2c80e39d0c2b3432ff7555e27b21ce33e1e5e0c0a99ded31b6d3b3ed678e41ff00752f97d2feda8b0111911 SHA512 2dfbcaa8c720b628770ae3bee223c51c270220395b5d1659dc529bd60b20f7308091b565d90d53ebb9462edd6207a1652059623dc80b0bf8b2799b3beac5a2fe
|
DIST org-mode-release_9.6.2.tar.gz 2208663 BLAKE2B f76e48f058a2a32cb09c14041b6781c385e1267eb2c80e39d0c2b3432ff7555e27b21ce33e1e5e0c0a99ded31b6d3b3ed678e41ff00752f97d2feda8b0111911 SHA512 2dfbcaa8c720b628770ae3bee223c51c270220395b5d1659dc529bd60b20f7308091b565d90d53ebb9462edd6207a1652059623dc80b0bf8b2799b3beac5a2fe
|
||||||
DIST org-mode-release_9.6.3.tar.gz 2208740 BLAKE2B 77d8e7de2230a3d4b5f3e85336519de1b2d55481522bedc206c5edb2cd56963f729d1e48fe483717fd4c295c6eb1b73e9335ab6a56c2903dd9ee54e15da0a8a0 SHA512 4a7040bab029c8384fa8689782672887baec7eea66ea99a32fd026eddb1659fa15e6c8ba99546fb7b8a16492d1fa476542acba3adef745079f583bd0e2b834e0
|
DIST org-mode-release_9.6.3.tar.gz 2208740 BLAKE2B 77d8e7de2230a3d4b5f3e85336519de1b2d55481522bedc206c5edb2cd56963f729d1e48fe483717fd4c295c6eb1b73e9335ab6a56c2903dd9ee54e15da0a8a0 SHA512 4a7040bab029c8384fa8689782672887baec7eea66ea99a32fd026eddb1659fa15e6c8ba99546fb7b8a16492d1fa476542acba3adef745079f583bd0e2b834e0
|
||||||
DIST org-mode-release_9.6.4.tar.gz 2208733 BLAKE2B 4ac49b4af872750453dd29eb0fb7de75a140246defb98a1ee62b693fe5083b892eff32ffda6a87cdc4d22486c8246134bb7483e3ec335e23ee131e0f6894475d SHA512 fa117500e0618f20b55af6e7f3cee2d24bbcf396649fabc1420299d99599335c0697e865ac38e49a30d5f2cd00e6daf163f340364e51c306583a7198852df059
|
DIST org-mode-release_9.6.4.tar.gz 2208733 BLAKE2B 4ac49b4af872750453dd29eb0fb7de75a140246defb98a1ee62b693fe5083b892eff32ffda6a87cdc4d22486c8246134bb7483e3ec335e23ee131e0f6894475d SHA512 fa117500e0618f20b55af6e7f3cee2d24bbcf396649fabc1420299d99599335c0697e865ac38e49a30d5f2cd00e6daf163f340364e51c306583a7198852df059
|
||||||
|
DIST org-mode-release_9.6.5.tar.gz 2209154 BLAKE2B bce49c4cdf51550c83ad78b683e2cb400a4378ffa344e00201450fdbc403248b85ab7a69c64abb5edc45b64c7134bd286e4a7115c255c9f6ff4866425c303711 SHA512 89829a0ccd82a42ba4b612e3ee2208632a0b5d32419192ac47660f6e9ab05e9848a844b6625dab6426a27fc3009bf75925856574d0aab49fefe639b6f31cf2fc
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
DIST osm-0.10.tar.gz 31628 BLAKE2B 6cb3d4fcee65b93787507fcdc15afce521e4d65c2fcea9f729e5292bfc57ec065604c8439bc5d0d744969c36fcba14204257a93546d1c67a9d3d8a816e26e9e7 SHA512 03ad03b9b64244c53c2b9a7329b9d741f33102e41684488385bdc60e5398b9cba7d3950cb0937b4bdecb93017cb2c1b5f99324195349b88ae7eed66431149ba6
|
DIST osm-0.10.tar.gz 31628 BLAKE2B 6cb3d4fcee65b93787507fcdc15afce521e4d65c2fcea9f729e5292bfc57ec065604c8439bc5d0d744969c36fcba14204257a93546d1c67a9d3d8a816e26e9e7 SHA512 03ad03b9b64244c53c2b9a7329b9d741f33102e41684488385bdc60e5398b9cba7d3950cb0937b4bdecb93017cb2c1b5f99324195349b88ae7eed66431149ba6
|
||||||
DIST osm-0.11.tar.gz 31935 BLAKE2B d4cb18a9ab17d0d982db94a1dcfb37bdf3676b2b6bf367f249ccc2475783ce4f7eda8bb01beff8ac59e4a963e7800402f3fe9a99832f9072396d679a4fa0bd56 SHA512 02faba5200897b78b1e8d616d3f21a607645e401b80e13d016be8317cc92dcd7458d6b968066f088d9ee202d477e183c9d93bf1475710f6a6c249608cb68b0d6
|
DIST osm-0.11.tar.gz 31935 BLAKE2B d4cb18a9ab17d0d982db94a1dcfb37bdf3676b2b6bf367f249ccc2475783ce4f7eda8bb01beff8ac59e4a963e7800402f3fe9a99832f9072396d679a4fa0bd56 SHA512 02faba5200897b78b1e8d616d3f21a607645e401b80e13d016be8317cc92dcd7458d6b968066f088d9ee202d477e183c9d93bf1475710f6a6c249608cb68b0d6
|
||||||
|
DIST osm-0.12.tar.gz 32029 BLAKE2B 42a8f70acb01ac0b326ac0e345528f2181e5ab45a92bfcc796d2d8cab5b587e4b071c5d1235cc92f4362be3849cd454015de096314b2de0ebd02bdc631588e03 SHA512 ad21fe39c096250f8e5249ae67c399ccb976a48576ced9e9ed4accbd7cbeed4a30e3c347ca5b4ba2f8e2b7db5a161b3145b01121860b9ee3880d06241bec3edc
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
NEED_EMACS=27.1
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="OpenStreetMap tile-based viewer for GNU Emacs"
|
||||||
|
HOMEPAGE="https://github.com/minad/osm/"
|
||||||
|
SRC_URI="https://github.com/minad/osm/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=app-editors/emacs-${NEED_EMACS}:*[jpeg,json,libxml2,png,svg]
|
||||||
|
>=app-emacs/compat-29.1.4.0
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${BDEPEND}
|
||||||
|
net-misc/curl[ssl]
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( README.org )
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
elisp_src_compile
|
||||||
|
elisp-make-autoload-file
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST uxn-0_p20221211.tar.gz 284943 BLAKE2B de116e87120bc71975271c9ad0c1b01cba6e13a78cba0faaf811a2cace72204f15fca620bb4c87518542208e1c2af49e6db98b1b3b442ec3a855fb8b592acb2d SHA512 d59504f994b487aff151fefdb2f0f87a707fe998c1ea08539dc8d67aed28a4c93c9ff4bde036a9eb44401e8e6a12b7a15c17e434d5cab7b44a17e2e18e50e978
|
DIST uxn-0_p20221211.tar.gz 284943 BLAKE2B de116e87120bc71975271c9ad0c1b01cba6e13a78cba0faaf811a2cace72204f15fca620bb4c87518542208e1c2af49e6db98b1b3b442ec3a855fb8b592acb2d SHA512 d59504f994b487aff151fefdb2f0f87a707fe998c1ea08539dc8d67aed28a4c93c9ff4bde036a9eb44401e8e6a12b7a15c17e434d5cab7b44a17e2e18e50e978
|
||||||
DIST uxn-0_p20230201.tar.gz 285942 BLAKE2B 2ace9aba9e7c5c7cd60c8db2208e16b4af4830dee5bb10eaa228028ada8701154069423a6b920a09821f63e52dd8955c48e2f13b58061aa08256045e20aaf020 SHA512 e33ff693124d14ee94c8192adb47d940f08d37c22067264afdcae7f4f9ac713915c4daa3bbee3e38385cb71b988a30991ca8ea123dd542438367eaf3a4c88f84
|
DIST uxn-0_p20230201.tar.gz 285942 BLAKE2B 2ace9aba9e7c5c7cd60c8db2208e16b4af4830dee5bb10eaa228028ada8701154069423a6b920a09821f63e52dd8955c48e2f13b58061aa08256045e20aaf020 SHA512 e33ff693124d14ee94c8192adb47d940f08d37c22067264afdcae7f4f9ac713915c4daa3bbee3e38385cb71b988a30991ca8ea123dd542438367eaf3a4c88f84
|
||||||
|
DIST uxn-0_p20230501.tar.gz 285942 BLAKE2B 2ace9aba9e7c5c7cd60c8db2208e16b4af4830dee5bb10eaa228028ada8701154069423a6b920a09821f63e52dd8955c48e2f13b58061aa08256045e20aaf020 SHA512 e33ff693124d14ee94c8192adb47d940f08d37c22067264afdcae7f4f9ac713915c4daa3bbee3e38385cb71b988a30991ca8ea123dd542438367eaf3a4c88f84
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="An assembler and emulator for the Uxn stack-machine, written in ANSI C"
|
||||||
|
HOMEPAGE="https://wiki.xxiivv.com/site/uxn.html
|
||||||
|
https://git.sr.ht/~rabbits/uxn/"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
|
||||||
|
elif [[ ${PV} == *_p20230501 ]] ; then
|
||||||
|
COMMIT=0dcc3b4c2e12bf2a61e682e9168e8bdb469caae0
|
||||||
|
SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}"/${PN}-${COMMIT}
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
else
|
||||||
|
die "wrong package version (PV), given: ${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="media-libs/libsdl2:="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/uxn-build.sh.patch )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" ./build.sh --no-run ||
|
||||||
|
die "build failed"
|
||||||
|
|
||||||
|
local f
|
||||||
|
local f_base
|
||||||
|
for f in ./projects/{examples/*,software,utils}/*.tal ; do
|
||||||
|
f_base="$(basename "${f}" .tal)"
|
||||||
|
ebegin "Assembling ROM ${f_base}"
|
||||||
|
./bin/uxnasm "${f}" "$(dirname "${f}")"/"${f_base}".rom
|
||||||
|
eend ${?} || die "failed to assemble ${f}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
exeinto /usr/bin
|
||||||
|
doexe bin/uxn*
|
||||||
|
|
||||||
|
insinto /usr/share/uxn
|
||||||
|
doins bin/*.rom
|
||||||
|
doins -r projects
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST rarian-0.8.1-r4-patches.tar.xz 33868 BLAKE2B e272598fce4119ad4995b665b988080dc4aee23ba6d03e462e4c76186a418601cbc5c4f403beb64aad05c9e7003d58c2070122ddcaf7188335ec4b8370eb7afb SHA512 766223faedb743c350de4f5c4dc3081f95a2c617d52ddedd4e78f64b3cbbacc20293cc4e98bbe38b41f795cefbf83d624d4434c2b94129ce224ad66da9e5760c
|
DIST rarian-0.8.1-r4-patches.tar.xz 33868 BLAKE2B e272598fce4119ad4995b665b988080dc4aee23ba6d03e462e4c76186a418601cbc5c4f403beb64aad05c9e7003d58c2070122ddcaf7188335ec4b8370eb7afb SHA512 766223faedb743c350de4f5c4dc3081f95a2c617d52ddedd4e78f64b3cbbacc20293cc4e98bbe38b41f795cefbf83d624d4434c2b94129ce224ad66da9e5760c
|
||||||
DIST rarian-0.8.1.tar.gz 459461 BLAKE2B 7589633a3abc188a7e83adede964b4d293984ad9c896e5c8116775905dfc3acc3b0cfbbee574b26d1c3966501f8b42e61df9910c840c58bfcd0b41d065a30c26 SHA512 ddc640e1ac210e9dc3fcdde6bbff6e21dabe97b160b531cac68d47d1b831dec71b7c4aced9819cfafd8f89f290920c4e33550b8e29d9872a1c1a202d6fe8e3eb
|
DIST rarian-0.8.1.tar.gz 459461 BLAKE2B 7589633a3abc188a7e83adede964b4d293984ad9c896e5c8116775905dfc3acc3b0cfbbee574b26d1c3966501f8b42e61df9910c840c58bfcd0b41d065a30c26 SHA512 ddc640e1ac210e9dc3fcdde6bbff6e21dabe97b160b531cac68d47d1b831dec71b7c4aced9819cfafd8f89f290920c4e33550b8e29d9872a1c1a202d6fe8e3eb
|
||||||
|
DIST rarian-0.8.3.tar.bz2 405163 BLAKE2B 7d630a0e94cdcee9cb832296d25e8aa034e8c900532d16d2ed82c80009916db277f25d53264790321e4e7bf8570868a90392695f9b28e0c88852cb0611832c02 SHA512 3fa62e2e9051aaf1b2665954cc9217acd48d43ab43b8fb1a20165853bb5fc67e2508b23eb2c576ab29eaa7c254266a9e1fc8e8b22d2470cf3dbcabb528c41ad0
|
||||||
|
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="A documentation metadata library"
|
||||||
|
HOMEPAGE="https://rarian.freedesktop.org/"
|
||||||
|
SRC_URI="https://gitlab.freedesktop.org/rarian/rarian/-/releases/${PV}/downloads/assets/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
dev-libs/libxslt
|
||||||
|
dev-libs/tinyxml
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
test? ( >=dev-libs/check-0.9.6 )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
sys-apps/util-linux
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--localstatedir="${EPREFIX}"/var
|
||||||
|
$(use_with test check)
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
keepdir /var/lib/rarian
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
DIST cpp-httplib-0.11.4.tar.gz 634929 BLAKE2B b6a6626de54e6828f08cd8f36934716969bc6c0485b8899522de2bd0c6b325c52c7541eccc095093062b4a3744b6170b10169d7e4a7a32a2cd683c292f9da85c SHA512 3f8a905cebee388526ebffeb431a90c9de2e8e92058ec0847f55fe0a43957ce6edaf093b3a516563d18d6105557af39270b9803865d400bbd849a60a5c8e8c17
|
DIST cpp-httplib-0.11.4.tar.gz 634929 BLAKE2B b6a6626de54e6828f08cd8f36934716969bc6c0485b8899522de2bd0c6b325c52c7541eccc095093062b4a3744b6170b10169d7e4a7a32a2cd683c292f9da85c SHA512 3f8a905cebee388526ebffeb431a90c9de2e8e92058ec0847f55fe0a43957ce6edaf093b3a516563d18d6105557af39270b9803865d400bbd849a60a5c8e8c17
|
||||||
DIST cpp-httplib-0.12.0.tar.gz 635941 BLAKE2B b6f7d0d0be9da6afc4850313cd7508114463af7a94054b9495d069079120c3ca33d9e26865be538c0d002f1c31b88ec9cd7dd03d45ed620fbd851b0f19870eae SHA512 316ae9c2289d94cdd7dbd7ff70f056a54fba6ffdaf882b3e2c615e060ad8627e8a1b3fa452e6f30581859f9c7c6d919f47c2c98779401f4a92e1ce82188206fe
|
|
||||||
DIST cpp-httplib-0.12.1.tar.gz 637858 BLAKE2B a4bc22f971e7dc011f172602f0579f09270eabad527dbba838df71908a6cbe66d432c8aef3a674ccbc3b39fbce477bc828afb5ec72b11f9ca2e0e77094b2d88e SHA512 a65ee9b4990572f92ade06fa6dc79535bc4d7c2bac47b85eba5e224fcb2d6dff7911127be72543b82a370628081acc81a88d1169a9cf30714f11c1227c40fe52
|
DIST cpp-httplib-0.12.1.tar.gz 637858 BLAKE2B a4bc22f971e7dc011f172602f0579f09270eabad527dbba838df71908a6cbe66d432c8aef3a674ccbc3b39fbce477bc828afb5ec72b11f9ca2e0e77094b2d88e SHA512 a65ee9b4990572f92ade06fa6dc79535bc4d7c2bac47b85eba5e224fcb2d6dff7911127be72543b82a370628081acc81a88d1169a9cf30714f11c1227c40fe52
|
||||||
DIST cpp-httplib-0.12.2.tar.gz 638460 BLAKE2B 91d039d39a43a73f052d63d0e1073350965bfa3b9653f0cab7d9353ed2d1acf91d2e3c20415f2a9398e64776baaedcb498b9de90046e785637de5382c41bb9ed SHA512 dda47f76eaf5b4daa35f1295e482f1d81dd8823ae06339b9f4c93e4fbe7b54ae28760d3083b5d5cff212f1a679616adfa47dbb9d06c6810fac4b58197f575429
|
DIST cpp-httplib-0.12.2.tar.gz 638460 BLAKE2B 91d039d39a43a73f052d63d0e1073350965bfa3b9653f0cab7d9353ed2d1acf91d2e3c20415f2a9398e64776baaedcb498b9de90046e785637de5382c41bb9ed SHA512 dda47f76eaf5b4daa35f1295e482f1d81dd8823ae06339b9f4c93e4fbe7b54ae28760d3083b5d5cff212f1a679616adfa47dbb9d06c6810fac4b58197f575429
|
||||||
|
DIST cpp-httplib-0.12.3.tar.gz 639107 BLAKE2B 15db0056069cbda5359c6279ebc84520039e809f32cd8314c180dd761324a76fccaae0e80f39d0b69563903bd667799425c7e85708962b2763416a3c8bbd09bb SHA512 3465e5c843ad4087bababadf8fe9f3e6961213301540053bb47f242f958280f43c85b03b8cf6f955a6b91bf9511a81669feeb9989344caf2a1e42ff587b3a460
|
||||||
|
Binary file not shown.
@ -0,0 +1,10 @@
|
|||||||
|
--- a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/Support/Signals.h
|
||||||
|
+++ b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/Support/Signals.h
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
#define LLVM_SUPPORT_SIGNALS_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
+#include <cstdint>
|
||||||
|
|
||||||
|
namespace llvm {
|
||||||
|
class StringRef;
|
@ -0,0 +1,25 @@
|
|||||||
|
in current year, we should verify tls certs by default.
|
||||||
|
not doing so is as good as not using tls
|
||||||
|
https://www.openwall.com/lists/oss-security/2023/04/18/14
|
||||||
|
|
||||||
|
Source:
|
||||||
|
https://git.alpinelinux.org/aports/plain/main/perl/default-https-perl-http-tiny.patch?id=fc21c0f7930ae3a9e2f50bacc305fb167a456ded
|
||||||
|
|
||||||
|
Bug: https://bugs.gentoo.org/905296
|
||||||
|
See-also: https://github.com/chansen/p5-http-tiny/pull/151
|
||||||
|
See-also: https://github.com/chansen/p5-http-tiny/issues/152
|
||||||
|
|
||||||
|
--
|
||||||
|
diff --git a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm
|
||||||
|
index 83ca06d..dc6217a 100644
|
||||||
|
--- a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm
|
||||||
|
+++ b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm
|
||||||
|
@@ -1055,7 +1055,7 @@ sub new {
|
||||||
|
timeout => 60,
|
||||||
|
max_line_size => 16384,
|
||||||
|
max_header_lines => 64,
|
||||||
|
- verify_SSL => 0,
|
||||||
|
+ verify_SSL => 1,
|
||||||
|
SSL_options => {},
|
||||||
|
%args
|
||||||
|
}, $class;
|
@ -0,0 +1,826 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit alternatives flag-o-matic toolchain-funcs multilib multiprocessing
|
||||||
|
|
||||||
|
PATCH_VER=1
|
||||||
|
CROSS_VER=1.4
|
||||||
|
PATCH_BASE="perl-5.36.0-patches-${PATCH_VER}"
|
||||||
|
PATCH_DEV=dilfridge
|
||||||
|
|
||||||
|
DIST_AUTHOR=RJBS
|
||||||
|
|
||||||
|
# Greatest first, don't include yourself
|
||||||
|
# Devel point-releases are not ABI-intercompatible, but stable point releases are
|
||||||
|
# BIN_OLDVERSEN contains only C-ABI-intercompatible versions
|
||||||
|
PERL_BIN_OLDVERSEN=""
|
||||||
|
|
||||||
|
if [[ "${PV##*.}" == "9999" ]]; then
|
||||||
|
DIST_VERSION=5.30.0
|
||||||
|
else
|
||||||
|
DIST_VERSION="${PV/_rc/-RC}"
|
||||||
|
fi
|
||||||
|
SHORT_PV="${DIST_VERSION%.*}"
|
||||||
|
|
||||||
|
# Even numbered major versions are ABI intercompatible
|
||||||
|
# Odd numbered major versions are not
|
||||||
|
if [[ $(( ${SHORT_PV#*.} % 2 )) == 1 ]]; then
|
||||||
|
SUBSLOT="${DIST_VERSION%-RC*}"
|
||||||
|
else
|
||||||
|
SUBSLOT="${DIST_VERSION%.*}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Used only in tar paths
|
||||||
|
MY_P="perl-${DIST_VERSION}"
|
||||||
|
# Used in library paths
|
||||||
|
MY_PV="${DIST_VERSION%-RC*}"
|
||||||
|
|
||||||
|
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
mirror://cpan/src/5.0/${MY_P}.tar.xz
|
||||||
|
mirror://cpan/authors/id/${DIST_AUTHOR:0:1}/${DIST_AUTHOR:0:2}/${DIST_AUTHOR}/${MY_P}.tar.xz
|
||||||
|
https://github.com/gentoo-perl/perl-patchset/releases/download/${PATCH_BASE}/${PATCH_BASE}.tar.xz
|
||||||
|
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${PATCH_BASE}.tar.xz
|
||||||
|
https://github.com/arsv/perl-cross/releases/download/${CROSS_VER}/perl-cross-${CROSS_VER}.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
HOMEPAGE="https://www.perl.org/"
|
||||||
|
|
||||||
|
LICENSE="|| ( Artistic GPL-1+ )"
|
||||||
|
SLOT="0/${SUBSLOT}"
|
||||||
|
|
||||||
|
if [[ "${PV##*.}" != "9999" ]] && [[ "${PV/rc//}" == "${PV}" ]] ; then
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
IUSE="berkdb debug doc gdbm ithreads minimal quadmath"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
berkdb? ( sys-libs/db:= )
|
||||||
|
gdbm? ( >=sys-libs/gdbm-1.8.3:= )
|
||||||
|
app-arch/bzip2
|
||||||
|
>=sys-libs/zlib-1.2.12
|
||||||
|
virtual/libcrypt:=
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PDEPEND="
|
||||||
|
!minimal? (
|
||||||
|
>=app-admin/perl-cleaner-2.5
|
||||||
|
>=virtual/perl-CPAN-2.290.0
|
||||||
|
>=virtual/perl-Encode-3.120.0
|
||||||
|
>=virtual/perl-File-Temp-0.230.400-r2
|
||||||
|
>=virtual/perl-Data-Dumper-2.154.0
|
||||||
|
virtual/perl-Test-Harness
|
||||||
|
)
|
||||||
|
"
|
||||||
|
# bug 390719, bug 523624
|
||||||
|
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
dual_scripts() {
|
||||||
|
src_remove_dual perl-core/Archive-Tar 2.400.0 ptar ptardiff ptargrep
|
||||||
|
src_remove_dual perl-core/CPAN 2.330.0 cpan
|
||||||
|
src_remove_dual perl-core/Digest-SHA 6.20.0 shasum
|
||||||
|
src_remove_dual perl-core/Encode 3.170.0 enc2xs piconv
|
||||||
|
src_remove_dual perl-core/ExtUtils-MakeMaker 7.640.0 instmodsh
|
||||||
|
src_remove_dual perl-core/ExtUtils-ParseXS 3.450.0 xsubpp
|
||||||
|
src_remove_dual perl-core/IO-Compress 2.106.0 zipdetails
|
||||||
|
src_remove_dual perl-core/JSON-PP 4.70.0 json_pp
|
||||||
|
src_remove_dual perl-core/Module-CoreList 5.202.304.230 corelist
|
||||||
|
src_remove_dual perl-core/Pod-Checker 1.740.0 podchecker
|
||||||
|
src_remove_dual perl-core/Pod-Perldoc 3.280.100 perldoc
|
||||||
|
src_remove_dual perl-core/Pod-Usage 2.10.0 pod2usage
|
||||||
|
src_remove_dual perl-core/Test-Harness 3.440.0 prove
|
||||||
|
src_remove_dual perl-core/podlators 4.140.0 pod2man pod2text
|
||||||
|
src_remove_dual_man perl-core/podlators 4.140.0 /usr/share/man/man1/perlpodstyle.1
|
||||||
|
}
|
||||||
|
|
||||||
|
check_rebuild() {
|
||||||
|
# Fresh install
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
return 0;
|
||||||
|
# Major Upgrade
|
||||||
|
# doesn't matter if there's multiple copies, it still needs a rebuild
|
||||||
|
# if the string is anything other than "5.CURRENTMAJOR"
|
||||||
|
elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then
|
||||||
|
echo ""
|
||||||
|
ewarn "UPDATE THE PERL MODULES:"
|
||||||
|
ewarn "After updating dev-lang/perl the installed Perl modules"
|
||||||
|
ewarn "have to be re-installed. In most cases, this is done automatically"
|
||||||
|
ewarn "by the package manager, but subsequent steps are still recommended"
|
||||||
|
ewarn "to ensure system consistency."
|
||||||
|
ewarn
|
||||||
|
ewarn "You should start with a depclean to remove any unused perl dependencies"
|
||||||
|
ewarn "that may confuse portage in future. Regular depcleans are also encouraged"
|
||||||
|
ewarn "as part of your regular update cycle, as that will keep perl upgrades working."
|
||||||
|
ewarn "Recommended: emerge --depclean -va"
|
||||||
|
ewarn
|
||||||
|
ewarn "You should then call perl-cleaner to clean up any old files and trigger any"
|
||||||
|
ewarn "remaining rebuilds portage may have missed."
|
||||||
|
ewarn "Use: perl-cleaner --all"
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
# Reinstall w/ USE Change
|
||||||
|
elif
|
||||||
|
( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
|
||||||
|
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
|
||||||
|
( use quadmath && ! has_version dev-lang/perl[quadmath] ) || \
|
||||||
|
( ! use quadmath && has_version dev-lang/perl[quadmath] ) || \
|
||||||
|
( use debug && ! has_version dev-lang/perl[debug] ) || \
|
||||||
|
( ! use debug && has_version dev-lang/perl[debug] ) ; then
|
||||||
|
echo ""
|
||||||
|
ewarn "TOGGLED USE-FLAGS WARNING:"
|
||||||
|
ewarn "You changed one of the use-flags ithreads, quadmath, or debug."
|
||||||
|
ewarn "You must rebuild all perl-modules installed."
|
||||||
|
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
case ${CHOST} in
|
||||||
|
*-freebsd*) osname="freebsd" ;;
|
||||||
|
*-dragonfly*) osname="dragonfly" ;;
|
||||||
|
*-netbsd*) osname="netbsd" ;;
|
||||||
|
*-openbsd*) osname="openbsd" ;;
|
||||||
|
*-darwin*) osname="darwin" ;;
|
||||||
|
*-solaris*) osname="solaris" ;;
|
||||||
|
*-cygwin*) osname="cygwin" ;;
|
||||||
|
*) osname="linux" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
myarch="${CHOST%%-*}-${osname}"
|
||||||
|
if use debug ; then
|
||||||
|
myarch+="-debug"
|
||||||
|
fi
|
||||||
|
if use quadmath ; then
|
||||||
|
myarch+="-quadmath"
|
||||||
|
fi
|
||||||
|
if use ithreads ; then
|
||||||
|
mythreading="-multi"
|
||||||
|
myarch+="-thread"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PRIV_BASE="/usr/$(get_libdir)/perl5"
|
||||||
|
SITE_BASE="/usr/local/$(get_libdir)/perl5"
|
||||||
|
VENDOR_BASE="/usr/$(get_libdir)/perl5/vendor_perl"
|
||||||
|
|
||||||
|
LIBPERL="libperl$(get_libname ${MY_PV} )"
|
||||||
|
|
||||||
|
PRIV_LIB="${PRIV_BASE}/${SUBSLOT}"
|
||||||
|
ARCH_LIB="${PRIV_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||||
|
SITE_LIB="${SITE_BASE}/${SUBSLOT}"
|
||||||
|
SITE_ARCH="${SITE_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||||
|
VENDOR_LIB="${VENDOR_BASE}/${SUBSLOT}"
|
||||||
|
VENDOR_ARCH="${VENDOR_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||||
|
|
||||||
|
dual_scripts
|
||||||
|
}
|
||||||
|
|
||||||
|
src_remove_dual_file() {
|
||||||
|
local i pkg ver
|
||||||
|
pkg="$1"
|
||||||
|
ver="$2"
|
||||||
|
shift 2
|
||||||
|
case "${EBUILD_PHASE:-none}" in
|
||||||
|
postinst|postrm)
|
||||||
|
for i in "$@" ; do
|
||||||
|
alternatives_auto_makesym "${i}" "${i}-[0-9]*"
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
setup)
|
||||||
|
for i in "$@" ; do
|
||||||
|
if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
|
||||||
|
has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
install)
|
||||||
|
for i in "$@" ; do
|
||||||
|
if ! [[ -f "${ED}"${i} ]] ; then
|
||||||
|
ewarn "${i} does not exist!"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
mv "${ED}"${i}{,-${ver}-${P}} || die
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
src_remove_dual_man() {
|
||||||
|
local i pkg ver ff
|
||||||
|
pkg="$1"
|
||||||
|
ver="$2"
|
||||||
|
shift 2
|
||||||
|
case "${EBUILD_PHASE:-none}" in
|
||||||
|
postinst|postrm)
|
||||||
|
for i in "$@" ; do
|
||||||
|
ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
|
||||||
|
ff=${ff##*${i#${i%.[0-9]}}}
|
||||||
|
alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
install)
|
||||||
|
for i in "$@" ; do
|
||||||
|
if ! [[ -f "${ED}"${i} ]] ; then
|
||||||
|
ewarn "${i} does not exist!"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
src_remove_dual() {
|
||||||
|
local i pkg ver
|
||||||
|
pkg="$1"
|
||||||
|
ver="$2"
|
||||||
|
shift 2
|
||||||
|
for i in "$@" ; do
|
||||||
|
src_remove_dual_file "${pkg}" "${ver}" "/usr/bin/${i}"
|
||||||
|
src_remove_dual_man "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare_perlcross() {
|
||||||
|
cp -a ../perl-cross-${CROSS_VER}/* . || die
|
||||||
|
|
||||||
|
# bug 794463, needs further analysis what is exactly wrong here
|
||||||
|
eapply "${FILESDIR}/perl-5.34.0-crossfit.patch"
|
||||||
|
|
||||||
|
# bug 604072
|
||||||
|
MAKEOPTS+=" -j1"
|
||||||
|
export MAKEOPTS
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare_dynamic() {
|
||||||
|
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
|
||||||
|
ln -s ${LIBPERL} libperl$(get_libname ) || die
|
||||||
|
}
|
||||||
|
|
||||||
|
# Copy a patch into the patch series
|
||||||
|
# add_patch SRC_PATH DEST_NAME ['description'] ['bug'] ['bug']
|
||||||
|
# - description is optional, but recommended
|
||||||
|
# - all arguments after descriptions are bug URLs
|
||||||
|
add_patch() {
|
||||||
|
local patchdir="${WORKDIR}/patches"
|
||||||
|
local infodir="${WORKDIR}/patch-info"
|
||||||
|
local src_name dest_name desc
|
||||||
|
src_name="$1"
|
||||||
|
dest_name="$2"
|
||||||
|
desc="$3"
|
||||||
|
shift; shift; shift;
|
||||||
|
einfo "Adding ${dest_name} to patch bundle"
|
||||||
|
cp "${src_name}" "${patchdir}/${dest_name}" || die "Couldn't copy ${src_name} to ${dest_name}"
|
||||||
|
if [[ -n "${desc}" ]]; then
|
||||||
|
printf "%s" "${desc}" > "${infodir}/${dest_name}.desc" || die "Couldn't write ${dest_name}.desc"
|
||||||
|
fi
|
||||||
|
if [[ $# -gt 0 ]]; then
|
||||||
|
# Note: when $@ is more than one element, this emits a
|
||||||
|
# line for each element
|
||||||
|
printf "%s\n" "$@" > "${infodir}/${dest_name}.bugs" || die "Couldn't write ${dest_name}.bugs"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Remove a patch using a glob expr
|
||||||
|
# eg:
|
||||||
|
# rm_patch *-darwin-Use-CC*
|
||||||
|
#
|
||||||
|
rm_patch() {
|
||||||
|
local patchdir="${WORKDIR}/patches"
|
||||||
|
local expr="$1"
|
||||||
|
local patch="$( cd "${patchdir}"; echo $expr )"
|
||||||
|
einfo "Removing $patch ($expr) from patch bundle"
|
||||||
|
if [[ -e "${patchdir}/${patch}" ]]; then
|
||||||
|
rm -f "${patchdir}/${patch}" || die "Can't remove ${patch} ( $expr )"
|
||||||
|
else
|
||||||
|
ewarn "No ${expr} found in ${patchdir} to remove"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Yes, this is a reasonable amount of code for something seemingly simple
|
||||||
|
# but this is far easier to debug when things go wrong, and things went wrong
|
||||||
|
# multiple times while I was getting the exact number of slashes right, which
|
||||||
|
# requires circumnavigating both bash and sed escape mechanisms.
|
||||||
|
c_escape_string() {
|
||||||
|
local slash dquote
|
||||||
|
slash='\'
|
||||||
|
dquote='"'
|
||||||
|
re_slash="${slash}${slash}"
|
||||||
|
re_dquote="${slash}${dquote}"
|
||||||
|
|
||||||
|
# Convert \ to \\,
|
||||||
|
# " to \"
|
||||||
|
echo "$1" |\
|
||||||
|
sed "s|${re_slash}|${re_slash}${re_slash}|g" |\
|
||||||
|
sed "s|${re_dquote}|${re_slash}${re_dquote}|g"
|
||||||
|
}
|
||||||
|
c_escape_file() {
|
||||||
|
c_escape_string "$(cat "$1")"
|
||||||
|
}
|
||||||
|
|
||||||
|
apply_patchdir() {
|
||||||
|
local patchdir="${WORKDIR}/patches"
|
||||||
|
local infodir="${WORKDIR}/patch-info"
|
||||||
|
local patchoutput="patchlevel-gentoo.h"
|
||||||
|
|
||||||
|
# Inject Patch-Level info into description for patchlevel.h patch
|
||||||
|
# to show in -V
|
||||||
|
local patch_expr="*List-packaged-patches*"
|
||||||
|
local patch="$( cd "${patchdir}"; echo $patch_expr )";
|
||||||
|
einfo "Injecting patch-level info into ${patch}.desc ( $patch_expr )"
|
||||||
|
|
||||||
|
if [[ -e "${patchdir}/${patch}" ]]; then
|
||||||
|
printf "List packaged patches for %s(%s) in patchlevel.h" "${PF}" "${PATCH_BASE}"\
|
||||||
|
>"${infodir}/${patch}.desc" || die "Can't rewrite ${patch}.desc"
|
||||||
|
else
|
||||||
|
eerror "No $patch_expr found in ${patchdir}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Compute patch list to apply
|
||||||
|
# different name other than PATCHES to stop default
|
||||||
|
# reapplying it
|
||||||
|
# Single depth is currently only supported, as artifacts can reside
|
||||||
|
# from the old layout being multiple-directories, as well as it grossly
|
||||||
|
# simplifying the patchlevel_gentoo.h generation.
|
||||||
|
local PERL_PATCHES=($(
|
||||||
|
find "${patchdir}" -maxdepth 1 -mindepth 1 -type f -printf "%f\n" |\
|
||||||
|
grep -E '[.](diff|patch)$' |\
|
||||||
|
sort -n
|
||||||
|
))
|
||||||
|
|
||||||
|
for patch in "${PERL_PATCHES[@]}"; do
|
||||||
|
eapply "${WORKDIR}"/patches/${patch}
|
||||||
|
done
|
||||||
|
|
||||||
|
einfo "Generating $patchoutput"
|
||||||
|
|
||||||
|
# This code creates a header file, each iteration
|
||||||
|
# creates one-or-more-lines for each entry found in PERL_PATCHES
|
||||||
|
# and STDOUT is redirected to the .h file
|
||||||
|
for patch in "${PERL_PATCHES[@]}"; do
|
||||||
|
local desc_f="${infodir}/${patch}.desc"
|
||||||
|
local bugs_f="${infodir}/${patch}.bugs"
|
||||||
|
|
||||||
|
printf ',"%s"\n' "${patch}"
|
||||||
|
if [[ ! -e "${desc_f}" ]]; then
|
||||||
|
ewarn "No description provided for ${patch} (expected: ${desc_f} )"
|
||||||
|
else
|
||||||
|
local desc="$(c_escape_file "${desc_f}")"
|
||||||
|
printf ',"- %s"\n' "${desc}"
|
||||||
|
fi
|
||||||
|
if [[ -e "${bugs_f}" ]]; then
|
||||||
|
while read -d $'\n' -r line; do
|
||||||
|
local esc_line="$(c_escape_string "${line}")"
|
||||||
|
printf ',"- Bug: %s"\n' "${esc_line}"
|
||||||
|
done <"${bugs_f}"
|
||||||
|
fi
|
||||||
|
done > "${S}/${patchoutput}"
|
||||||
|
printf "%s\n" "${patchoutput}" >> "${S}/MANIFEST"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local patchdir="${WORKDIR}/patches"
|
||||||
|
|
||||||
|
# Prepare Patch dir with additional patches / remove unwanted patches
|
||||||
|
# Inject bug/desc entries for perl -V
|
||||||
|
# Old example:
|
||||||
|
# add_patch "${FILESDIR}/${PN}-5.26.2-hppa.patch" "100-5.26.2-hppa.patch"\
|
||||||
|
# "Fix broken miniperl on hppa"\
|
||||||
|
# "https://bugs.debian.org/869122" "https://bugs.gentoo.org/634162"
|
||||||
|
|
||||||
|
add_patch "${FILESDIR}/${PN}-5.36.1-http-tiny.patch" "0111-5.36.1-http-tiny.patch"\
|
||||||
|
"Enable certificate checking in HTTP::Tiny by default"\
|
||||||
|
"https://bugs.gentoo.org/905296" "https://bugs.debian.org/954089"
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
|
# do NOT mess with nsl, on Solaris this is always necessary,
|
||||||
|
# when -lsocket is used e.g. to get h_errno
|
||||||
|
rm_patch "*-nsl-and-cl*"
|
||||||
|
fi
|
||||||
|
|
||||||
|
apply_patchdir
|
||||||
|
|
||||||
|
tc-is-cross-compiler && src_prepare_perlcross
|
||||||
|
|
||||||
|
tc-is-static-only || src_prepare_dynamic
|
||||||
|
|
||||||
|
if use gdbm; then
|
||||||
|
sed -i "s:INC => .*:INC => \"-I${EROOT}/usr/include/gdbm\":g" \
|
||||||
|
ext/NDBM_File/Makefile.PL || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use errno.h from prefix rather than from host system, bug #645804
|
||||||
|
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
|
||||||
|
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
|
# set a soname, fix linking against just built libperl
|
||||||
|
sed -i -e 's/netbsd\*/netbsd*|solaris*/' Makefile.SH || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
# fix install_name (soname) not to reference $D
|
||||||
|
sed -i -e '/install_name `pwd/s/`pwd`/\\$(shrpdir)/' Makefile.SH || die
|
||||||
|
|
||||||
|
# fix environ linkage absence (only a real issue on Darwin9)
|
||||||
|
if [[ ${CHOST##*-darwin} -le 9 ]] ; then
|
||||||
|
sed -i -e '/^PLDLFLAGS =/s/=/= -include crt_externs.h -Denviron="(*_NSGetEnviron())"/' \
|
||||||
|
Makefile.SH || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
myconf() {
|
||||||
|
# the myconf array is declared in src_configure
|
||||||
|
myconf=( "${myconf[@]}" "$@" )
|
||||||
|
}
|
||||||
|
|
||||||
|
# Outputs a list of versions which have been seen in any of the
|
||||||
|
# primary perl @INC prefix paths, such as:
|
||||||
|
# /usr/lib64/perl5/<NUMBER>
|
||||||
|
# /usr/local/lib64/perl5/<NUMBER>
|
||||||
|
# /usr/lib64/perl5/vendor_perl/<NUMBER>
|
||||||
|
#
|
||||||
|
# All values of NUMBER must be like "5.x.y" or like "5.x"
|
||||||
|
#
|
||||||
|
find_candidate_inc_versions() {
|
||||||
|
local regex='.*/5[.][0-9]+\([.][0-9]+\|\)$'
|
||||||
|
local dirs=(
|
||||||
|
"${EROOT}${PRIV_BASE}"
|
||||||
|
"${EROOT}${SITE_BASE}"
|
||||||
|
"${EROOT}${VENDOR_BASE}"
|
||||||
|
)
|
||||||
|
for dir in "${dirs[@]}"; do
|
||||||
|
if [[ ! -e "${dir}" ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
# Without access to readdir() on these dirs, find will not be able
|
||||||
|
# to reveal any @INC directories inside them, and will subsequently prune
|
||||||
|
# them from the built perl's @INC support, breaking our compatiblity options
|
||||||
|
# entirely.
|
||||||
|
if [[ ! -r "${dir}" || ! -x "${dir}" ]]; then
|
||||||
|
eerror "Bad permissions on ${dir}, this will probably break things"
|
||||||
|
eerror "Ensure ${dir} is +rx for at least uid=$EUID"
|
||||||
|
eerror "Recommended permission is +rx for all"
|
||||||
|
eerror "> chmod o+rx ${dir}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
einfo "Scanning for old @INC dirs matching '$regex' in: ${dirs[*]}"
|
||||||
|
find "${dirs[@]}" -maxdepth 1 -mindepth 1 -type d -regex "${regex}" -printf "%f " 2>/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
# Sort versions passed versiony-ly, remove self-version if present
|
||||||
|
# dedup. Takes each version as an argument
|
||||||
|
sanitize_inc_versions() {
|
||||||
|
local vexclude="${SUBSLOT}"
|
||||||
|
einfo "Normalizing/Sorting candidate list: $*"
|
||||||
|
einfo " to remove '${vexclude}'"
|
||||||
|
# Note, general numeric sort has to be used
|
||||||
|
# for the last component, or unique will convert
|
||||||
|
# 5.30.0 + 5.30 into just 5.30
|
||||||
|
printf "%s\n" "$@" |\
|
||||||
|
grep -vxF "${vexclude}" |\
|
||||||
|
sort -u -nr -t'.' -k1,1rn -k2,2rn -k3,3rg
|
||||||
|
}
|
||||||
|
|
||||||
|
versions_to_inclist() {
|
||||||
|
local oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}"
|
||||||
|
|
||||||
|
for v; do
|
||||||
|
has "${v}" ${oldv} && echo -n "${v}/${myarch}${mythreading}/ ";
|
||||||
|
echo -n "${v}/ ";
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
versions_to_gentoolibdirs() {
|
||||||
|
local oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}"
|
||||||
|
local root
|
||||||
|
local v
|
||||||
|
for v; do
|
||||||
|
for root in "${PRIV_BASE}" "${VENDOR_BASE}" "${SITE_BASE}"; do
|
||||||
|
local fullpath="${EROOT}${root}/${v}"
|
||||||
|
if [[ -e "${fullpath}" ]]; then
|
||||||
|
has "${v}" ${oldv} && printf "%s:" "${fullpath}/${myarch}${mythreading}";
|
||||||
|
printf "%s:" "${fullpath}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
declare -a myconf
|
||||||
|
|
||||||
|
export LC_ALL="C"
|
||||||
|
[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
|
||||||
|
|
||||||
|
# Perl has problems compiling with -Os in your flags with glibc
|
||||||
|
replace-flags "-Os" "-O2"
|
||||||
|
|
||||||
|
# xlocale.h is going away in glibc-2.26, so it's counterproductive
|
||||||
|
# if we use it and include it in CORE/perl.h ... Perl builds just
|
||||||
|
# fine with glibc and locale.h only.
|
||||||
|
# However, the darwin prefix people have no locale.h ...
|
||||||
|
use elibc_glibc && myconf -Ui_xlocale
|
||||||
|
|
||||||
|
# This flag makes compiling crash in interesting ways
|
||||||
|
filter-flags "-malign-double"
|
||||||
|
|
||||||
|
# Generic LTO broken since 5.28, triggers EUMM failures
|
||||||
|
filter-flags "-flto"
|
||||||
|
|
||||||
|
use sparc && myconf -Ud_longdbl
|
||||||
|
|
||||||
|
export BUILD_BZIP2=0
|
||||||
|
export BZIP2_INCLUDE=${EROOT}/usr/include
|
||||||
|
export BZIP2_LIB=${EROOT}/usr/$(get_libdir)
|
||||||
|
|
||||||
|
export BUILD_ZLIB=False
|
||||||
|
export ZLIB_INCLUDE=${EROOT}/usr/include
|
||||||
|
export ZLIB_LIB=${EROOT}/usr/$(get_libdir)
|
||||||
|
|
||||||
|
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
|
||||||
|
myndbm='U'
|
||||||
|
mygdbm='U'
|
||||||
|
mydb='U'
|
||||||
|
if use gdbm ; then
|
||||||
|
mygdbm='D'
|
||||||
|
if use berkdb ; then
|
||||||
|
myndbm='D'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if use berkdb ; then
|
||||||
|
mydb='D'
|
||||||
|
has_version '=sys-libs/db-1*' && myndbm='D'
|
||||||
|
fi
|
||||||
|
|
||||||
|
myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
|
||||||
|
|
||||||
|
if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
|
||||||
|
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
|
||||||
|
myconf -Ui_db -Ui_ndbm
|
||||||
|
fi
|
||||||
|
|
||||||
|
use ithreads && myconf -Dusethreads
|
||||||
|
|
||||||
|
use quadmath && myconf -Dusequadmath
|
||||||
|
|
||||||
|
if use debug ; then
|
||||||
|
append-cflags "-g"
|
||||||
|
myconf -DDEBUGGING
|
||||||
|
elif [[ ${CFLAGS} == *-g* ]] ; then
|
||||||
|
myconf -DDEBUGGING=-g
|
||||||
|
else
|
||||||
|
myconf -DDEBUGGING=none
|
||||||
|
fi
|
||||||
|
|
||||||
|
# modifying 'optimize' prevents cross configure script from appending required flags
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
append-cflags "-fwrapv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bug #877659, bug #821577
|
||||||
|
append-cflags -fno-strict-aliasing
|
||||||
|
|
||||||
|
# Autodiscover all old version directories, some of them will even be newer
|
||||||
|
# if you downgrade
|
||||||
|
if [[ -z ${PERL_OLDVERSEN} ]]; then
|
||||||
|
PERL_OLDVERSEN="$( find_candidate_inc_versions )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Fixup versions, removing self match, fixing order and dupes
|
||||||
|
PERL_OLDVERSEN="$( sanitize_inc_versions ${PERL_OLDVERSEN} )"
|
||||||
|
|
||||||
|
# Experts who want a "Pure" install can set PERL_OLDVERSEN to an empty string
|
||||||
|
if [[ -n "${PERL_OLDVERSEN// }" ]]; then
|
||||||
|
local inclist="$( versions_to_inclist ${PERL_OLDVERSEN} )"
|
||||||
|
einfo "This version of perl may partially support modules previously"
|
||||||
|
einfo "installed in any of the following paths:"
|
||||||
|
for incpath in ${inclist}; do
|
||||||
|
[[ -e "${EROOT}${VENDOR_BASE}/${incpath}" ]] && einfo " ${EROOT}${VENDOR_BASE}/${incpath}"
|
||||||
|
[[ -e "${EROOT}${PRIV_BASE}/${incpath}" ]] && einfo " ${EROOT}${PRIV_BASE}/${incpath}"
|
||||||
|
[[ -e "${EROOT}${SITE_BASE}/${incpath}" ]] && einfo " ${EROOT}${SITE_BASE}/${incpath}"
|
||||||
|
done
|
||||||
|
einfo "This is a temporary measure and you should aim to cleanup these paths"
|
||||||
|
einfo "via world updates and perl-cleaner"
|
||||||
|
# myconf -Dinc_version_list="${inclist}"
|
||||||
|
myconf -Dgentoolibdirs="$( versions_to_gentoolibdirs ${PERL_OLDVERSEN} )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
|
||||||
|
|
||||||
|
# Make sure we can do the final link #523730, need to set deployment
|
||||||
|
# target to override hardcoded 10.3 which breaks on modern OSX
|
||||||
|
[[ ${CHOST} == *-darwin* ]] && \
|
||||||
|
myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
|
||||||
|
|
||||||
|
# Older macOS with non-Apple GCC chokes on inline in system headers
|
||||||
|
# using c89 mode as injected by cflags.SH, in addition, we override
|
||||||
|
# cflags, so we loose PERL_DARWIN which enables compat code that
|
||||||
|
# apparently on more recent macOS releases is no longer necessary
|
||||||
|
[[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \
|
||||||
|
append-cflags -Dinline=__inline__ -DPERL_DARWIN
|
||||||
|
|
||||||
|
# flock on 32-bit sparc Solaris is broken, fall back to fcntl
|
||||||
|
[[ ${CHOST} == sparc-*-solaris* ]] && \
|
||||||
|
myconf -Ud_flock
|
||||||
|
|
||||||
|
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
|
||||||
|
# Prefix itself we don't do multilib either, so make sure perl can find
|
||||||
|
# something compatible.
|
||||||
|
if use prefix ; then
|
||||||
|
# Set a hook to check for each detected library whether it actually works.
|
||||||
|
export libscheck="
|
||||||
|
( echo 'main(){}' > '${T}'/conftest.c &&
|
||||||
|
$(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
|
||||||
|
) || xxx=/dev/null"
|
||||||
|
|
||||||
|
# Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
|
||||||
|
local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
|
||||||
|
myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
|
||||||
|
elif [[ $(get_libdir) != "lib" ]] ; then
|
||||||
|
# We need to use " and not ', as the written config.sh use ' ...
|
||||||
|
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# don't try building ODBM, bug #354453
|
||||||
|
disabled_extensions="ODBM_File"
|
||||||
|
|
||||||
|
if ! use gdbm ; then
|
||||||
|
# workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm"
|
||||||
|
disabled_extensions="${disabled_extensions} GDBM_File NDBM_File"
|
||||||
|
fi
|
||||||
|
|
||||||
|
myconf -Dnoextensions="${disabled_extensions}"
|
||||||
|
|
||||||
|
[[ "${PV##*.}" == "9999" ]] && myconf -Dusedevel -Uversiononly
|
||||||
|
|
||||||
|
[[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF}
|
||||||
|
# allow fiddling via EXTRA_ECONF, bug 558070
|
||||||
|
eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"
|
||||||
|
|
||||||
|
# setting -Dld= to tc-getLD breaks perl and all perl things
|
||||||
|
# https://github.com/Perl/perl5/issues/17791#issuecomment-630145202
|
||||||
|
myconf \
|
||||||
|
-Duseshrplib \
|
||||||
|
-Darchname="${myarch}" \
|
||||||
|
-Dcc="$(tc-getCC)" \
|
||||||
|
-Dar="$(tc-getAR)" \
|
||||||
|
-Dnm="$(tc-getNM)" \
|
||||||
|
-Dcpp="$(tc-getCPP)" \
|
||||||
|
-Dranlib="$(tc-getRANLIB)" \
|
||||||
|
-Accflags="${CFLAGS}" \
|
||||||
|
-Doptimize="${CFLAGS}" \
|
||||||
|
-Dldflags="${LDFLAGS}" \
|
||||||
|
-Dprefix="${EPREFIX}"'/usr' \
|
||||||
|
-Dsiteprefix="${EPREFIX}"'/usr/local' \
|
||||||
|
-Dvendorprefix="${EPREFIX}"'/usr' \
|
||||||
|
-Dscriptdir="${EPREFIX}"'/usr/bin' \
|
||||||
|
-Dprivlib="${EPREFIX}${PRIV_LIB}" \
|
||||||
|
-Darchlib="${EPREFIX}${ARCH_LIB}" \
|
||||||
|
-Dsitelib="${EPREFIX}${SITE_LIB}" \
|
||||||
|
-Dsitearch="${EPREFIX}${SITE_ARCH}" \
|
||||||
|
-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
|
||||||
|
-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
|
||||||
|
-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
|
||||||
|
-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
|
||||||
|
-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
|
||||||
|
-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
|
||||||
|
-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
|
||||||
|
-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
|
||||||
|
-Dman1ext='1' \
|
||||||
|
-Dman3ext='3pm' \
|
||||||
|
-Dlibperl="${LIBPERL}" \
|
||||||
|
-Dlocincpth="${EPREFIX}"'/usr/include ' \
|
||||||
|
-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
|
||||||
|
-Duselargefiles \
|
||||||
|
-Dd_semctl_semun \
|
||||||
|
-Dcf_by='Gentoo' \
|
||||||
|
-Dmyhostname='localhost' \
|
||||||
|
-Dperladmin='root@localhost' \
|
||||||
|
-Ud_csh \
|
||||||
|
-Dsh="${EPREFIX}"/bin/sh \
|
||||||
|
-Dtargetsh="${EPREFIX}"/bin/sh \
|
||||||
|
-Uusenm \
|
||||||
|
"${EXTRA_ECONF[@]}"
|
||||||
|
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
./configure \
|
||||||
|
--target="${CHOST}" \
|
||||||
|
--build="${CBUILD}" \
|
||||||
|
-Dinstallprefix='' \
|
||||||
|
-Dinstallusrbinperl='undef' \
|
||||||
|
-Dusevendorprefix='define' \
|
||||||
|
"${myconf[@]}" \
|
||||||
|
|| die "Unable to configure"
|
||||||
|
else
|
||||||
|
sh Configure \
|
||||||
|
-des \
|
||||||
|
-Dinstallprefix="${EPREFIX}"'/usr' \
|
||||||
|
-Dinstallusrbinperl='n' \
|
||||||
|
"${myconf[@]}" \
|
||||||
|
|| die "Unable to configure"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
export NO_GENTOO_NETWORK_TESTS=1;
|
||||||
|
export GENTOO_ASSUME_SANDBOXED="${GENTOO_ASSUME_SANDBOXED:-1}"
|
||||||
|
export GENTOO_NO_PORTING_TESTS="${GENTOO_NO_PORTING_TESTS:-1}"
|
||||||
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local i
|
||||||
|
local coredir="${ARCH_LIB}/CORE"
|
||||||
|
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
rm -f "${ED}/usr/bin/perl${MY_PV}"
|
||||||
|
ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die
|
||||||
|
|
||||||
|
if ! tc-is-static-only ; then
|
||||||
|
dolib.so "${ED}"${coredir}/${LIBPERL}
|
||||||
|
rm -f "${ED}"${coredir}/${LIBPERL}
|
||||||
|
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
|
||||||
|
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
|
||||||
|
|
||||||
|
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
|
||||||
|
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
|
||||||
|
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
|
||||||
|
|
||||||
|
# This removes ${D} from Config.pm
|
||||||
|
for i in $(find "${D}" -iname "Config.pm" ) ; do
|
||||||
|
einfo "Removing ${D} from ${i}..."
|
||||||
|
sed -i -e "s:${D}::" "${i}" || die "Sed failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
dodoc Changes* README AUTHORS
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
# HTML Documentation
|
||||||
|
# We expect errors, warnings, and such with the following.
|
||||||
|
|
||||||
|
dodir /usr/share/doc/${PF}/html
|
||||||
|
LD_LIBRARY_PATH=. ./perl installhtml \
|
||||||
|
--podroot='.' \
|
||||||
|
--podpath='lib:ext:pod:vms' \
|
||||||
|
--recurse \
|
||||||
|
--htmldir="${ED}/usr/share/doc/${PF}/html"
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
|
||||||
|
|
||||||
|
dual_scripts
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
check_rebuild
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
dual_scripts
|
||||||
|
|
||||||
|
if [[ -z "${ROOT}" ]] ; then
|
||||||
|
local INC DIR file
|
||||||
|
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
|
||||||
|
einfo "Removing old .ph files"
|
||||||
|
for DIR in ${INC} ; do
|
||||||
|
if [[ -d "${DIR}" ]] ; then
|
||||||
|
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
|
||||||
|
rm -f "${file}"
|
||||||
|
einfo "<< ${file}"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
# Silently remove the now empty dirs
|
||||||
|
for DIR in ${INC} ; do
|
||||||
|
if [[ -d "${DIR}" ]] ; then
|
||||||
|
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
dual_scripts
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST ansible-compat-3.0.1.tar.gz 62676 BLAKE2B a1d08311e1b61d8387ef82db65581df4ab7cb4a2520bff9173845fa5b9fe18d173afd4306874967fb40c007546f36d78349a503bd09ae14257a38a59e1cbb22f SHA512 27183b09f957a79254b5dfa237c2ef789dac95e86f421277878a57487a16684de862f03f6ecee6c57ab5a5dfa8c7ee2802d5e63e74ca0aebc61efa46574f0a61
|
DIST ansible-compat-3.0.1.tar.gz 62676 BLAKE2B a1d08311e1b61d8387ef82db65581df4ab7cb4a2520bff9173845fa5b9fe18d173afd4306874967fb40c007546f36d78349a503bd09ae14257a38a59e1cbb22f SHA512 27183b09f957a79254b5dfa237c2ef789dac95e86f421277878a57487a16684de862f03f6ecee6c57ab5a5dfa8c7ee2802d5e63e74ca0aebc61efa46574f0a61
|
||||||
DIST ansible-compat-3.0.2.tar.gz 63328 BLAKE2B d09ae255e08531b26f8cac7082a3ad0cc24f3772b7769b75d644a846dcc1ec0ff65fe1a7e351eeecadd70caae5ef5b5146396df5ec586e10296e116310333e6b SHA512 79f20a25b25104f4f90a4d52317bd01ceb07c00c69dc2e61b74b4c7448805bd966d001893ccf7530bec819ae9ead2515ae70219a887fda733344245cc025dfeb
|
DIST ansible-compat-3.0.2.tar.gz 63328 BLAKE2B d09ae255e08531b26f8cac7082a3ad0cc24f3772b7769b75d644a846dcc1ec0ff65fe1a7e351eeecadd70caae5ef5b5146396df5ec586e10296e116310333e6b SHA512 79f20a25b25104f4f90a4d52317bd01ceb07c00c69dc2e61b74b4c7448805bd966d001893ccf7530bec819ae9ead2515ae70219a887fda733344245cc025dfeb
|
||||||
DIST ansible-compat-4.0.0.tar.gz 62675 BLAKE2B 9c384a25729c2c1f72e806b4df6172e183cd8f62c91047b5862a581227554e980b00e58be99b9d4192f4d85d7ce53f1bc16d136762c9b71100f1aa3fdafa8cab SHA512 78559c0323ec190acf5e736a51b27349528eaeacd7fafbe953bbb9f03029985c514042ba9102117714ac5c558f50ac6e596da48c2fe491a092bd5d92c612fbb5
|
DIST ansible-compat-4.0.0.tar.gz 62675 BLAKE2B 9c384a25729c2c1f72e806b4df6172e183cd8f62c91047b5862a581227554e980b00e58be99b9d4192f4d85d7ce53f1bc16d136762c9b71100f1aa3fdafa8cab SHA512 78559c0323ec190acf5e736a51b27349528eaeacd7fafbe953bbb9f03029985c514042ba9102117714ac5c558f50ac6e596da48c2fe491a092bd5d92c612fbb5
|
||||||
|
DIST ansible-compat-4.0.1.tar.gz 63728 BLAKE2B 51b6956059394e1e29d416113f6a924032cc6435780265c2595f1b0776477727c865c74afa25fc2527777a5d8ea74aead086293934cdc099966b875a96c5789f SHA512 a2edc46a472e6f99cd0231e453742780c5ae8713768bfda4218ae3d6979c38779ba8c5ec491813550a6b3242ef04e5de2c916c9538fcf5b018e7500fdf18bc4d
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYPI_NO_NORMALIZE=1
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Contains functions that facilitate working with various versions of Ansible"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/ansible-compat/
|
||||||
|
https://github.com/ansible/ansible-compat/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-admin/ansible-core-2.12[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-plus[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
# All these tests attempt to connect to galaxy.ansible.com
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
test/test_runtime.py::test_install_collection
|
||||||
|
test/test_runtime.py::test_install_collection_dest
|
||||||
|
test/test_runtime.py::test_prepare_environment_with_collections
|
||||||
|
test/test_runtime.py::test_prerun_reqs_v1
|
||||||
|
test/test_runtime.py::test_prerun_reqs_v2
|
||||||
|
test/test_runtime.py::test_require_collection_no_cache_dir
|
||||||
|
test/test_runtime.py::test_require_collection_wrong_version
|
||||||
|
test/test_runtime.py::test_require_collection
|
||||||
|
test/test_runtime.py::test_upgrade_collection
|
||||||
|
test/test_runtime_example.py::test_runtime
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
DIST asyncstdlib-3.10.6.gh.tar.gz 56335 BLAKE2B 15b33e90454c2b1f9ca8ddd9c71db74af1541e26af59c1a5a8b6240ec7b9e5db06f0455c778de39ff6cce1e87db41403fbc1b8965da0764f8215c4dd6bfa8e17 SHA512 e8b8b72f7d59593876f6701632d4b4839bf6110134b8dc62a33f665c52528a94f53ac6c43195520c2902e66f68b379cf7d9258e29fb25c69ae2fa98cfe4b10a6
|
DIST asyncstdlib-3.10.6.gh.tar.gz 56335 BLAKE2B 15b33e90454c2b1f9ca8ddd9c71db74af1541e26af59c1a5a8b6240ec7b9e5db06f0455c778de39ff6cce1e87db41403fbc1b8965da0764f8215c4dd6bfa8e17 SHA512 e8b8b72f7d59593876f6701632d4b4839bf6110134b8dc62a33f665c52528a94f53ac6c43195520c2902e66f68b379cf7d9258e29fb25c69ae2fa98cfe4b10a6
|
||||||
|
DIST asyncstdlib-3.10.7.tar.gz 43529 BLAKE2B 70a0dcc36ade591a98666c7872844a14aba039b435af65818a9de37bd958dfef46fb143e1f00e43cdba3eb742ae291ad6f4c544f3f0c491f81cca8c5ddd0149b SHA512 7cd02d95aea28ec56436078df72f523463370b54ed2d7a9b91fcbf6665db6fb89693769aa99f6529f9a930bb1932c9fcb72a2adac494c2528a12e1c054f4fb1b
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2021-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="The missing async toolbox"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/maxfischer2781/asyncstdlib/
|
||||||
|
https://pypi.org/project/asyncstdlib/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 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.6.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
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)"
|
||||||
|
}
|
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 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="
|
||||||
|
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.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}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
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
|
||||||
|
# fails on unrelated warnings
|
||||||
|
tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
|
||||||
|
tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
|
||||||
|
# TODO
|
||||||
|
tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -1,154 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CARGO_OPTIONAL=yes
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
Inflector-0.11.4
|
|
||||||
aliasable-0.1.3
|
|
||||||
android_system_properties-0.1.5
|
|
||||||
asn1-0.13.0
|
|
||||||
asn1_derive-0.13.0
|
|
||||||
autocfg-1.1.0
|
|
||||||
base64-0.13.1
|
|
||||||
bitflags-1.3.2
|
|
||||||
bumpalo-3.10.0
|
|
||||||
cc-1.0.78
|
|
||||||
cfg-if-1.0.0
|
|
||||||
chrono-0.4.23
|
|
||||||
codespan-reporting-0.11.1
|
|
||||||
core-foundation-sys-0.8.3
|
|
||||||
cxx-1.0.85
|
|
||||||
cxx-build-1.0.85
|
|
||||||
cxxbridge-flags-1.0.85
|
|
||||||
cxxbridge-macro-1.0.85
|
|
||||||
iana-time-zone-0.1.53
|
|
||||||
iana-time-zone-haiku-0.1.1
|
|
||||||
indoc-0.3.6
|
|
||||||
indoc-impl-0.3.6
|
|
||||||
instant-0.1.12
|
|
||||||
js-sys-0.3.60
|
|
||||||
libc-0.2.139
|
|
||||||
link-cplusplus-1.0.8
|
|
||||||
lock_api-0.4.9
|
|
||||||
log-0.4.17
|
|
||||||
num-integer-0.1.45
|
|
||||||
num-traits-0.2.15
|
|
||||||
once_cell-1.14.0
|
|
||||||
ouroboros-0.15.5
|
|
||||||
ouroboros_macro-0.15.5
|
|
||||||
parking_lot-0.11.2
|
|
||||||
parking_lot_core-0.8.6
|
|
||||||
paste-0.1.18
|
|
||||||
paste-impl-0.1.18
|
|
||||||
pem-1.1.0
|
|
||||||
proc-macro-error-1.0.4
|
|
||||||
proc-macro-error-attr-1.0.4
|
|
||||||
proc-macro-hack-0.5.20+deprecated
|
|
||||||
proc-macro2-1.0.49
|
|
||||||
pyo3-0.15.2
|
|
||||||
pyo3-build-config-0.15.2
|
|
||||||
pyo3-macros-0.15.2
|
|
||||||
pyo3-macros-backend-0.15.2
|
|
||||||
quote-1.0.23
|
|
||||||
redox_syscall-0.2.16
|
|
||||||
scopeguard-1.1.0
|
|
||||||
scratch-1.0.3
|
|
||||||
smallvec-1.10.0
|
|
||||||
syn-1.0.107
|
|
||||||
termcolor-1.1.3
|
|
||||||
unicode-ident-1.0.6
|
|
||||||
unicode-width-0.1.10
|
|
||||||
unindent-0.1.11
|
|
||||||
version_check-0.9.4
|
|
||||||
wasm-bindgen-0.2.83
|
|
||||||
wasm-bindgen-backend-0.2.83
|
|
||||||
wasm-bindgen-macro-0.2.83
|
|
||||||
wasm-bindgen-macro-support-0.2.83
|
|
||||||
wasm-bindgen-shared-0.2.83
|
|
||||||
winapi-0.3.9
|
|
||||||
winapi-i686-pc-windows-gnu-0.4.0
|
|
||||||
winapi-util-0.1.5
|
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit cargo distutils-r1 multiprocessing pypi
|
|
||||||
|
|
||||||
VEC_P=cryptography_vectors-$(ver_cut 1-3)
|
|
||||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/pyca/cryptography/
|
|
||||||
https://pypi.org/project/cryptography/
|
|
||||||
"
|
|
||||||
SRC_URI+="
|
|
||||||
$(cargo_crate_uris ${CRATES})
|
|
||||||
test? (
|
|
||||||
$(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
|
|
||||||
# Dependent crate licenses
|
|
||||||
LICENSE+=" Apache-2.0 BSD-2 BSD MIT Unicode-DFS-2016"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/openssl-1.0.2o-r6:0=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# Files built without CFLAGS/LDFLAGS, acceptable for rust
|
|
||||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cargo_src_unpack
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's:--benchmark-disable::' pyproject.toml || die
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
# work around availability macros not supported in GCC (yet)
|
|
||||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
local darwinok=0
|
|
||||||
if [[ ${CHOST##*-darwin} -ge 16 ]] ; then
|
|
||||||
darwinok=1
|
|
||||||
fi
|
|
||||||
sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \
|
|
||||||
src/_cffi_src/openssl/src/osrandom_engine.c || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
|
|
||||||
local EPYTEST_IGNORE=(
|
|
||||||
tests/bench
|
|
||||||
)
|
|
||||||
epytest -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
@ -1,154 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CARGO_OPTIONAL=yes
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
Inflector-0.11.4
|
|
||||||
aliasable-0.1.3
|
|
||||||
android_system_properties-0.1.5
|
|
||||||
asn1-0.13.0
|
|
||||||
asn1_derive-0.13.0
|
|
||||||
autocfg-1.1.0
|
|
||||||
base64-0.13.1
|
|
||||||
bitflags-1.3.2
|
|
||||||
bumpalo-3.10.0
|
|
||||||
cc-1.0.78
|
|
||||||
cfg-if-1.0.0
|
|
||||||
chrono-0.4.23
|
|
||||||
codespan-reporting-0.11.1
|
|
||||||
core-foundation-sys-0.8.3
|
|
||||||
cxx-1.0.85
|
|
||||||
cxx-build-1.0.85
|
|
||||||
cxxbridge-flags-1.0.85
|
|
||||||
cxxbridge-macro-1.0.85
|
|
||||||
iana-time-zone-0.1.53
|
|
||||||
iana-time-zone-haiku-0.1.1
|
|
||||||
indoc-0.3.6
|
|
||||||
indoc-impl-0.3.6
|
|
||||||
instant-0.1.12
|
|
||||||
js-sys-0.3.60
|
|
||||||
libc-0.2.139
|
|
||||||
link-cplusplus-1.0.8
|
|
||||||
lock_api-0.4.9
|
|
||||||
log-0.4.17
|
|
||||||
num-integer-0.1.45
|
|
||||||
num-traits-0.2.15
|
|
||||||
once_cell-1.14.0
|
|
||||||
ouroboros-0.15.5
|
|
||||||
ouroboros_macro-0.15.5
|
|
||||||
parking_lot-0.11.2
|
|
||||||
parking_lot_core-0.8.6
|
|
||||||
paste-0.1.18
|
|
||||||
paste-impl-0.1.18
|
|
||||||
pem-1.1.0
|
|
||||||
proc-macro-error-1.0.4
|
|
||||||
proc-macro-error-attr-1.0.4
|
|
||||||
proc-macro-hack-0.5.20+deprecated
|
|
||||||
proc-macro2-1.0.49
|
|
||||||
pyo3-0.15.2
|
|
||||||
pyo3-build-config-0.15.2
|
|
||||||
pyo3-macros-0.15.2
|
|
||||||
pyo3-macros-backend-0.15.2
|
|
||||||
quote-1.0.23
|
|
||||||
redox_syscall-0.2.16
|
|
||||||
scopeguard-1.1.0
|
|
||||||
scratch-1.0.3
|
|
||||||
smallvec-1.10.0
|
|
||||||
syn-1.0.107
|
|
||||||
termcolor-1.1.3
|
|
||||||
unicode-ident-1.0.6
|
|
||||||
unicode-width-0.1.10
|
|
||||||
unindent-0.1.11
|
|
||||||
version_check-0.9.4
|
|
||||||
wasm-bindgen-0.2.83
|
|
||||||
wasm-bindgen-backend-0.2.83
|
|
||||||
wasm-bindgen-macro-0.2.83
|
|
||||||
wasm-bindgen-macro-support-0.2.83
|
|
||||||
wasm-bindgen-shared-0.2.83
|
|
||||||
winapi-0.3.9
|
|
||||||
winapi-i686-pc-windows-gnu-0.4.0
|
|
||||||
winapi-util-0.1.5
|
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit cargo distutils-r1 multiprocessing pypi
|
|
||||||
|
|
||||||
VEC_P=cryptography_vectors-$(ver_cut 1-3)
|
|
||||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/pyca/cryptography/
|
|
||||||
https://pypi.org/project/cryptography/
|
|
||||||
"
|
|
||||||
SRC_URI+="
|
|
||||||
$(cargo_crate_uris ${CRATES})
|
|
||||||
test? (
|
|
||||||
$(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
|
|
||||||
# Dependent crate licenses
|
|
||||||
LICENSE+=" Apache-2.0 BSD-2 BSD MIT Unicode-DFS-2016"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/openssl-1.0.2o-r6:0=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# Files built without CFLAGS/LDFLAGS, acceptable for rust
|
|
||||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cargo_src_unpack
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's:--benchmark-disable::' pyproject.toml || die
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
# work around availability macros not supported in GCC (yet)
|
|
||||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
local darwinok=0
|
|
||||||
if [[ ${CHOST##*-darwin} -ge 16 ]] ; then
|
|
||||||
darwinok=1
|
|
||||||
fi
|
|
||||||
sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \
|
|
||||||
src/_cffi_src/openssl/src/osrandom_engine.c || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
|
|
||||||
local EPYTEST_IGNORE=(
|
|
||||||
tests/bench
|
|
||||||
)
|
|
||||||
epytest -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
@ -1,170 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CARGO_OPTIONAL=yes
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
Inflector-0.11.4
|
|
||||||
aliasable-0.1.3
|
|
||||||
android_system_properties-0.1.5
|
|
||||||
asn1-0.13.0
|
|
||||||
asn1_derive-0.13.0
|
|
||||||
autocfg-1.1.0
|
|
||||||
base64-0.13.1
|
|
||||||
bitflags-1.3.2
|
|
||||||
bumpalo-3.10.0
|
|
||||||
cc-1.0.79
|
|
||||||
cfg-if-1.0.0
|
|
||||||
chrono-0.4.24
|
|
||||||
codespan-reporting-0.11.1
|
|
||||||
core-foundation-sys-0.8.3
|
|
||||||
cxx-1.0.86
|
|
||||||
cxx-build-1.0.86
|
|
||||||
cxxbridge-flags-1.0.86
|
|
||||||
cxxbridge-macro-1.0.86
|
|
||||||
foreign-types-0.3.2
|
|
||||||
foreign-types-shared-0.1.1
|
|
||||||
iana-time-zone-0.1.54
|
|
||||||
iana-time-zone-haiku-0.1.1
|
|
||||||
indoc-0.3.6
|
|
||||||
indoc-impl-0.3.6
|
|
||||||
instant-0.1.12
|
|
||||||
js-sys-0.3.61
|
|
||||||
libc-0.2.140
|
|
||||||
link-cplusplus-1.0.8
|
|
||||||
lock_api-0.4.9
|
|
||||||
log-0.4.17
|
|
||||||
num-integer-0.1.45
|
|
||||||
num-traits-0.2.15
|
|
||||||
once_cell-1.14.0
|
|
||||||
openssl-0.10.48
|
|
||||||
openssl-macros-0.1.0
|
|
||||||
openssl-sys-0.9.83
|
|
||||||
ouroboros-0.15.6
|
|
||||||
ouroboros_macro-0.15.6
|
|
||||||
parking_lot-0.11.2
|
|
||||||
parking_lot_core-0.8.6
|
|
||||||
paste-0.1.18
|
|
||||||
paste-impl-0.1.18
|
|
||||||
pem-1.1.1
|
|
||||||
pkg-config-0.3.26
|
|
||||||
proc-macro-error-1.0.4
|
|
||||||
proc-macro-error-attr-1.0.4
|
|
||||||
proc-macro-hack-0.5.20+deprecated
|
|
||||||
proc-macro2-1.0.53
|
|
||||||
pyo3-0.15.2
|
|
||||||
pyo3-build-config-0.15.2
|
|
||||||
pyo3-macros-0.15.2
|
|
||||||
pyo3-macros-backend-0.15.2
|
|
||||||
quote-1.0.26
|
|
||||||
redox_syscall-0.2.16
|
|
||||||
scopeguard-1.1.0
|
|
||||||
scratch-1.0.5
|
|
||||||
smallvec-1.10.0
|
|
||||||
syn-1.0.109
|
|
||||||
termcolor-1.2.0
|
|
||||||
unicode-ident-1.0.8
|
|
||||||
unicode-width-0.1.10
|
|
||||||
unindent-0.1.11
|
|
||||||
vcpkg-0.2.15
|
|
||||||
version_check-0.9.4
|
|
||||||
wasm-bindgen-0.2.84
|
|
||||||
wasm-bindgen-backend-0.2.84
|
|
||||||
wasm-bindgen-macro-0.2.84
|
|
||||||
wasm-bindgen-macro-support-0.2.84
|
|
||||||
wasm-bindgen-shared-0.2.84
|
|
||||||
winapi-0.3.9
|
|
||||||
winapi-i686-pc-windows-gnu-0.4.0
|
|
||||||
winapi-util-0.1.5
|
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
||||||
windows-0.46.0
|
|
||||||
windows-targets-0.42.2
|
|
||||||
windows_aarch64_gnullvm-0.42.2
|
|
||||||
windows_aarch64_msvc-0.42.2
|
|
||||||
windows_i686_gnu-0.42.2
|
|
||||||
windows_i686_msvc-0.42.2
|
|
||||||
windows_x86_64_gnu-0.42.2
|
|
||||||
windows_x86_64_gnullvm-0.42.2
|
|
||||||
windows_x86_64_msvc-0.42.2
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit cargo distutils-r1 multiprocessing pypi
|
|
||||||
|
|
||||||
VEC_P=cryptography_vectors-$(ver_cut 1-3)
|
|
||||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/pyca/cryptography/
|
|
||||||
https://pypi.org/project/cryptography/
|
|
||||||
"
|
|
||||||
SRC_URI+="
|
|
||||||
$(cargo_crate_uris ${CRATES})
|
|
||||||
test? (
|
|
||||||
$(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
|
|
||||||
# Dependent crate licenses
|
|
||||||
LICENSE+=" Apache-2.0 BSD-2 BSD MIT Unicode-DFS-2016"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/openssl-1.0.2o-r6:0=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# Files built without CFLAGS/LDFLAGS, acceptable for rust
|
|
||||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cargo_src_unpack
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's:--benchmark-disable::' pyproject.toml || die
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
# work around availability macros not supported in GCC (yet)
|
|
||||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
local darwinok=0
|
|
||||||
if [[ ${CHOST##*-darwin} -ge 16 ]] ; then
|
|
||||||
darwinok=1
|
|
||||||
fi
|
|
||||||
sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \
|
|
||||||
src/_cffi_src/openssl/src/osrandom_engine.c || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
|
|
||||||
local EPYTEST_IGNORE=(
|
|
||||||
tests/bench
|
|
||||||
)
|
|
||||||
epytest -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST fido2-0.9.3.tar.gz 217894 BLAKE2B ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b SHA512 f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e
|
DIST fido2-0.9.3.tar.gz 217894 BLAKE2B ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b SHA512 f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e
|
||||||
DIST fido2-1.1.0.tar.gz 243526 BLAKE2B 48a6466c1ad3723d3d5f2e22ef59b4b49ebc3231739ffffdb25349d466c23f5cdc063908ea1adb944041f646d0bd0648d66acdaae0e72a9715e4bc365f449c12 SHA512 df7fcf205a5c124daf14c4bb7742aa16def1e912490c3b967dd940fdb21baf1a933130eab276af7c03fb46fb779a5a2b8e5fa3d8e3cd379297c23d9f39cadba4
|
|
||||||
DIST fido2-1.1.1.tar.gz 247150 BLAKE2B 136d539db8bcaa5398e7ac2c2d0733c902b370c1b30491181164cc2f329c44dd81a42f19374ff6bd89fc757fe33580ef39bdb016e9f93f5ea17b12f22143761d SHA512 8078acbc85e277ddbf7a508f17c34f581eb8978786b5e43b4ede7de24138f07eee7f81aa307295305a42b286900a73903f269afd2a66aee9650fe05ac6aa1901
|
DIST fido2-1.1.1.tar.gz 247150 BLAKE2B 136d539db8bcaa5398e7ac2c2d0733c902b370c1b30491181164cc2f329c44dd81a42f19374ff6bd89fc757fe33580ef39bdb016e9f93f5ea17b12f22143761d SHA512 8078acbc85e277ddbf7a508f17c34f581eb8978786b5e43b4ede7de24138f07eee7f81aa307295305a42b286900a73903f269afd2a66aee9650fe05ac6aa1901
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python based FIDO 2.0 library"
|
|
||||||
HOMEPAGE="https://github.com/Yubico/python-fido2"
|
|
||||||
SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
|
|
||||||
SLOT="0/0.9" # Bumped every time a backwards-incompatible version is released
|
|
||||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
|
|
||||||
IUSE="examples"
|
|
||||||
RESTRICT="test" # Tests require <dev-python/mock-4
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
|
||||||
examples? (
|
|
||||||
dev-python/flask[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
# Disable tests, <dev-python/mock-4 doesn't exist
|
|
||||||
# DEPEND="${DEPEND}
|
|
||||||
# test? (
|
|
||||||
# ${RDEPEND}
|
|
||||||
# <dev-python/mock-4[${PYTHON_USEDEP}]
|
|
||||||
# >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}]
|
|
||||||
# )
|
|
||||||
# "
|
|
||||||
#
|
|
||||||
# When tests are available again, remember to add a custom
|
|
||||||
# test phase that runs 'python -m unittest discover -v'
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
dodoc -r "${S}"/examples/.
|
|
||||||
docompress -x "/usr/share/doc/${PF}/examples"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
DISTUTILS_USE_PEP517=poetry
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python based FIDO 2.0 library"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/Yubico/python-fido2/
|
|
||||||
https://pypi.org/project/fido2/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
|
|
||||||
SLOT="0/1.0" # Bumped every time a backwards-incompatible version is released
|
|
||||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
|
|
||||||
IUSE="examples"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
<dev-python/cryptography-40[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pyscard-3[${PYTHON_USEDEP}]
|
|
||||||
examples? (
|
|
||||||
dev-python/flask[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
dodoc -r "${S}"/examples/.
|
|
||||||
docompress -x "/usr/share/doc/${PF}/examples"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST Flask-2.2.3.tar.gz 697599 BLAKE2B 619902202443567bc79111c15f19d0bea9e03b0fbd406e43c1f9d994975d9f529f8e58823d9f828bb8164bac6b6631ba1c00c3a1587b00afcb802082565248bc SHA512 de119d032b04eef80a99cee9658cac12f934e9a66d7dbb8304588d0c1320a8a19a8b0a78f69134a20ca26aa408db8686436c5c108ecc39e16b1eca1a3dea2d2c
|
DIST Flask-2.2.3.tar.gz 697599 BLAKE2B 619902202443567bc79111c15f19d0bea9e03b0fbd406e43c1f9d994975d9f529f8e58823d9f828bb8164bac6b6631ba1c00c3a1587b00afcb802082565248bc SHA512 de119d032b04eef80a99cee9658cac12f934e9a66d7dbb8304588d0c1320a8a19a8b0a78f69134a20ca26aa408db8686436c5c108ecc39e16b1eca1a3dea2d2c
|
||||||
DIST Flask-2.3.1.tar.gz 686211 BLAKE2B 83998bccde3c3b0abc413c27e4db7589ebbd82cad025ca2926e977bb267248164d529f9bd7b04483070a05fde3c6ce90ed2014ab510c689da0210d3c32af9364 SHA512 371d85a9af74484d7d77dab1747f9d331e797fa2bfeb3f2c72aa679091852efa505c56f37c197d7cb2f02a77a6e88ec2f1ee8efe35fc65d2c23afe5b24d6f4db
|
DIST Flask-2.3.1.tar.gz 686211 BLAKE2B 83998bccde3c3b0abc413c27e4db7589ebbd82cad025ca2926e977bb267248164d529f9bd7b04483070a05fde3c6ce90ed2014ab510c689da0210d3c32af9364 SHA512 371d85a9af74484d7d77dab1747f9d331e797fa2bfeb3f2c72aa679091852efa505c56f37c197d7cb2f02a77a6e88ec2f1ee8efe35fc65d2c23afe5b24d6f4db
|
||||||
|
DIST Flask-2.3.2.tar.gz 686251 BLAKE2B d81553b100e88ab79218422d6d39bb8b186f436c3729985504d1f54536b5e0f783509dcfbf0791890e7c03928131ddd4b8894db51f27e4075c50248ebd7846a2 SHA512 7917c3658a1dec77decad2dbc067a1ae602a66007573f1ff26527c214dede2c455ca5e6490159922fac967ceea99bd880cf929d05e21ed49b08abf501d96e8f8
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYPI_NO_NORMALIZE=1
|
||||||
|
PYPI_PN=${PN^}
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://palletsprojects.com/p/flask/
|
||||||
|
https://github.com/pallets/flask/
|
||||||
|
https://pypi.org/project/Flask/
|
||||||
|
"
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
inherit pypi
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/blinker-1.6.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/click-8.1.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/itsdangerous-2.1.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/werkzeug-2.3.3[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/importlib-metadata-3.6.0[${PYTHON_USEDEP}]
|
||||||
|
' 3.9)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
|
||||||
|
!!dev-python/shiboken2
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/pallets-sphinx-themes \
|
||||||
|
dev-python/sphinx-issues \
|
||||||
|
dev-python/sphinx-tabs \
|
||||||
|
dev-python/sphinxcontrib-log_cabinet
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest -p no:httpbin
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use examples && dodoc -r examples
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
DIST imageio-2.27.0.gh.tar.gz 405391 BLAKE2B f013de16f460e04f5d30c7bcc3c64dc05cd2ca74b359ffe43f2f84e850bec907f899f8c2cc8bcd2a6594767746bd52bd8ae8f2f0c7bd9a3fe6b5450ef043830c SHA512 28d42b59d5c59c679786fced4d3f616d8ac832da0f76da31337875404a8382e66ead6531e02ec94099f481ce84aad5271199b16eadef03bcd5db9978010a7132
|
DIST imageio-2.27.0.gh.tar.gz 405391 BLAKE2B f013de16f460e04f5d30c7bcc3c64dc05cd2ca74b359ffe43f2f84e850bec907f899f8c2cc8bcd2a6594767746bd52bd8ae8f2f0c7bd9a3fe6b5450ef043830c SHA512 28d42b59d5c59c679786fced4d3f616d8ac832da0f76da31337875404a8382e66ead6531e02ec94099f481ce84aad5271199b16eadef03bcd5db9978010a7132
|
||||||
DIST imageio-2.28.0.gh.tar.gz 406506 BLAKE2B 4021f872cd156461f216047d612ee985779e3cd1bb4d05e82ed12eb7582737ca60d1462a4d8fadeb56dd2aa197763f70f9aac5a1dced884276cf13bf43fdb990 SHA512 ba3aad7e32dd0468b9fc8ddc76c79b89be3e805a0d903b5fe6ff2279996db288b6809be6bc231f95751e1f55c8b12dedaa8b6c7635ba24a43f902f41f9bccf0d
|
DIST imageio-2.28.0.gh.tar.gz 406506 BLAKE2B 4021f872cd156461f216047d612ee985779e3cd1bb4d05e82ed12eb7582737ca60d1462a4d8fadeb56dd2aa197763f70f9aac5a1dced884276cf13bf43fdb990 SHA512 ba3aad7e32dd0468b9fc8ddc76c79b89be3e805a0d903b5fe6ff2279996db288b6809be6bc231f95751e1f55c8b12dedaa8b6c7635ba24a43f902f41f9bccf0d
|
||||||
|
DIST imageio-2.28.1.gh.tar.gz 408022 BLAKE2B f2ee9f9e7daa875393c0f3fe11539cb50bc56e88aeb3d0362e1cf5aa01322c2a211779d2b142d95ed483a53a896605b2e0c557d5d05c4e295c8d3a403a392f31 SHA512 82b14db674de5b03b5f303acabfb94768278b635fe70fd09623c73ec5dcad5965ad7341a07cc41af71bbb0e5548bc4d79d20e510095a2bbaed50061b435bfc7a
|
||||||
DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27
|
DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27
|
||||||
DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49
|
DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49
|
||||||
|
@ -0,0 +1,82 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
BIN_COMMIT=224074bca448815e421a59266864c23041531a42
|
||||||
|
DESCRIPTION="Python library for reading and writing image data"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://imageio.readthedocs.io/en/stable/
|
||||||
|
https://github.com/imageio/imageio/
|
||||||
|
https://pypi.org/project/imageio/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/imageio/imageio/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
test? (
|
||||||
|
https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png
|
||||||
|
-> ${PN}-chelsea.png
|
||||||
|
https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4
|
||||||
|
-> ${PN}-cockatoo.mp4
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
# over 50% of tests rely on Internet
|
||||||
|
PROPERTIES="test_network"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/numpy-1.20.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pillow-8.3.2[${PYTHON_USEDEP}]
|
||||||
|
media-libs/freeimage
|
||||||
|
"
|
||||||
|
# requests for fsspec[github]
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/fsspec[${PYTHON_USEDEP}]
|
||||||
|
dev-python/imageio-ffmpeg[${PYTHON_USEDEP}]
|
||||||
|
dev-python/psutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tifffile[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local PATCHES=(
|
||||||
|
# block silently downloading vulnerable libraries from the Internet
|
||||||
|
"${FILESDIR}"/imageio-2.22.0-block-download.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
mkdir -p "${HOME}"/.imageio/images || die
|
||||||
|
local i
|
||||||
|
for i in chelsea.png cockatoo.mp4; do
|
||||||
|
cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# Fails because of system installed freeimage
|
||||||
|
tests/test_core.py::test_findlib2
|
||||||
|
# Tries to download ffmpeg binary ?!
|
||||||
|
tests/test_ffmpeg.py::test_get_exe_installed
|
||||||
|
# blocked by our patch
|
||||||
|
tests/test_core.py::test_fetching
|
||||||
|
tests/test_core.py::test_request
|
||||||
|
# known broken
|
||||||
|
# https://github.com/imageio/imageio/issues/890
|
||||||
|
tests/test_freeimage.py::test_exr_write
|
||||||
|
)
|
@ -1 +1,2 @@
|
|||||||
DIST linkify-it-py-2.0.0.gh.tar.gz 76363 BLAKE2B dc04c1445b86998bd59d452cb86afdfa91d1165cbfe4148b5f9f0234b2f9f9e71fa3c41c36749e96f1269eda20fb81ed55fb63b18947e5c38bb233cdff06f9ca SHA512 7d2a66d5f0e33aece5b8d2737f20bd83f6cb2b7958b681c293f5996263f65f525862ce0cb0f7be9df1597844e58ed804b5b604c257e4d84cbf05677fd2733dda
|
DIST linkify-it-py-2.0.0.gh.tar.gz 76363 BLAKE2B dc04c1445b86998bd59d452cb86afdfa91d1165cbfe4148b5f9f0234b2f9f9e71fa3c41c36749e96f1269eda20fb81ed55fb63b18947e5c38bb233cdff06f9ca SHA512 7d2a66d5f0e33aece5b8d2737f20bd83f6cb2b7958b681c293f5996263f65f525862ce0cb0f7be9df1597844e58ed804b5b604c257e4d84cbf05677fd2733dda
|
||||||
|
DIST linkify-it-py-2.0.1.gh.tar.gz 76631 BLAKE2B 5af218bbf7569376c68a97faaa2e3d7b2ee7828fd4136858a850266ded8d64894781741fcc4ffaa5c6619bcb2902d2a4d1b9ad4527837c6e7c2680c1a53203a3 SHA512 4156e3206f88154db744c649ad6c7956c53712b2f27602aad6728d1691322df11112f0fd62c2ac24b4ed06907231fc1ebca087cab769aabaaab82343ce8f425a
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 2022-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Links recognition library with full unicode support"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/tsutsu3/linkify-it-py/
|
||||||
|
https://pypi.org/project/linkify-it-py/
|
||||||
|
"
|
||||||
|
# no tests in sdist, as of 2.0.1
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/tsutsu3/linkify-it-py/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/uc-micro-py[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464 SHA512 ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
|
DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464 SHA512 ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
|
||||||
|
DIST requests-toolbelt-1.0.0.gh.tar.gz 199298 BLAKE2B c8a75005fd27bb725cabe7c6e4493b65bfc6914d7b22490c10869f0f35f6f08d0e829196e7de2e7ec07fed7ad52559f550bfbe072020ed8e782543273c903805 SHA512 1ee5d5dbb0d140796c81d42c051ccfab8810bf5ec511b32c9a54b4adccbab460f3108acdfe5a65b3cb68377586ff0f55206bf231e64651aaea077feda7984953
|
||||||
|
@ -0,0 +1,63 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A utility belt for advanced users of python-requests"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://toolbelt.readthedocs.io/
|
||||||
|
https://github.com/requests/toolbelt/
|
||||||
|
https://pypi.org/project/requests-toolbelt/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/requests/toolbelt/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${P#requests-}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
IUSE="test-rust"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/betamax[${PYTHON_USEDEP}]
|
||||||
|
test-rust? (
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS.rst HISTORY.rst README.rst )
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# Internet
|
||||||
|
tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header
|
||||||
|
tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file
|
||||||
|
tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper
|
||||||
|
)
|
||||||
|
local EPYTEST_IGNORE=()
|
||||||
|
|
||||||
|
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]" ||
|
||||||
|
! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]"
|
||||||
|
then
|
||||||
|
EPYTEST_IGNORE+=(
|
||||||
|
tests/test_x509_adapter.py
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
epytest
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST rq-1.13.0.gh.tar.gz 616679 BLAKE2B 026914ab01f769797e1f7fabc944b5ccdeb1ce1957c7acc72d067e0bdd113ebb30f0060ea5adbceaac5e69b40e176c09a0b1f216cffb02132772e72151b79986 SHA512 6c3b4bb868cae6ffd07718b3f517350eba2effc1b3ae70ef601984cc525ecfb3f82f8569a2b0f333c5f248d3befbe3d4953f5058f8e9cb2f08ce6dadae963902
|
DIST rq-1.13.0.gh.tar.gz 616679 BLAKE2B 026914ab01f769797e1f7fabc944b5ccdeb1ce1957c7acc72d067e0bdd113ebb30f0060ea5adbceaac5e69b40e176c09a0b1f216cffb02132772e72151b79986 SHA512 6c3b4bb868cae6ffd07718b3f517350eba2effc1b3ae70ef601984cc525ecfb3f82f8569a2b0f333c5f248d3befbe3d4953f5058f8e9cb2f08ce6dadae963902
|
||||||
|
DIST rq-1.14.gh.tar.gz 627836 BLAKE2B 4127d6c183826ee84eb290145098b545938cdeca2daf836c08ae49a07265cebfc4eb0dbdd92c640605ce630e37a13184010dd8a6a2a2face5369c00c22fc286c SHA512 5e74a2b57b673ef9333dd1ec3f7f3cecb9c9b2d48d93617dd46de833a6edce213b2488822d77eea9fde42f9949fa5e935be4d8f95f43b29e6c8f0f46593d5ce5
|
||||||
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Simple, lightweight library for creating and processing background jobs"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://python-rq.org/
|
||||||
|
https://github.com/rq/rq/
|
||||||
|
https://pypi.org/project/rq/
|
||||||
|
"
|
||||||
|
# Tests missing from sdist, as of 1.13.0
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/click-5.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/redis-3.5.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-db/redis
|
||||||
|
dev-python/psutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sentry-sdk[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local redis_pid="${T}"/redis.pid
|
||||||
|
local redis_port=6379
|
||||||
|
local redis_test_config="daemonize yes
|
||||||
|
pidfile ${redis_pid}
|
||||||
|
port ${redis_port}
|
||||||
|
bind 127.0.0.1
|
||||||
|
"
|
||||||
|
|
||||||
|
# Spawn Redis itself for testing purposes
|
||||||
|
# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
|
||||||
|
# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
|
||||||
|
einfo "Spawning Redis"
|
||||||
|
einfo "NOTE: Port ${redis_port} must be free"
|
||||||
|
/usr/sbin/redis-server - <<< "${redis_test_config}" || die
|
||||||
|
|
||||||
|
# Run the actual tests
|
||||||
|
distutils-r1_src_test
|
||||||
|
|
||||||
|
# Clean up afterwards
|
||||||
|
kill "$(<"${redis_pid}")" || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST trustme-0.9.0.tar.gz 30081 BLAKE2B 5623fba91f07027032f48ee355b5c4f853518bc6a5c1e93b4ea387ff25838302efa42476db8eb64e364980805aa1c3be97f827260efc31ffb536c53fe30ba988 SHA512 f0d983a4c52374f178c0bf96f758fdb5f132e7f7c4bac187c84fbc8dc82dc36d6c801c340bf8871e872178f7b2ac66d6159b5462d073beec9a13a086f64b58b7
|
DIST trustme-0.9.0.tar.gz 30081 BLAKE2B 5623fba91f07027032f48ee355b5c4f853518bc6a5c1e93b4ea387ff25838302efa42476db8eb64e364980805aa1c3be97f827260efc31ffb536c53fe30ba988 SHA512 f0d983a4c52374f178c0bf96f758fdb5f132e7f7c4bac187c84fbc8dc82dc36d6c801c340bf8871e872178f7b2ac66d6159b5462d073beec9a13a086f64b58b7
|
||||||
|
DIST trustme-1.0.0.tar.gz 29567 BLAKE2B d57049d5d72b0aca85911a39f1eed2388829ab7e6833a2f8cb7fccf6d743e99fdc7e2917382f1397787c70763bf2ea49210337021054fc549e7e95377f88dc52 SHA512 4315290b5c7341ede5037ece01608ab0e8e07427c8053e058fb5db23f59b0be63b44fda83d83d0755f44c2a0d595b193ca77050c5f908038be071c18d759756a
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="#1 quality TLS certs while you wait, for the discerning tester"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/python-trio/trustme/
|
||||||
|
https://pypi.org/project/trustme/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="|| ( Apache-2.0 MIT )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/cryptography-3.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
dev-python/service_identity[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
|
DIST uc-micro-py-1.0.2.tar.gz 4730 BLAKE2B 96c14236090a33081d6b54a8ce59d00da5734b78033dbe6e09b2cc84ede85684772ff05aaac80747329de7bec3f6d10d44dd44906342d7f9df30e61bf17819f5 SHA512 c9b4a69190099caad8a687d33a11b512505a90004eeccc3583e25b01762a4d9c6d3d72015f82d835d811bf439ae74d5433b56741a2e9c2b6134bd1a718712d23
|
||||||
DIST uc.micro-py-1.0.1.gh.tar.gz 6235 BLAKE2B 7ba5935e97d9926789cde37491ce09235f467781ddd99dc841f70bd42a13c87bdc3a7970684cab81684620c1c49e1bc316faa0d4e8664293c76cf7c86e24c446 SHA512 c6747943bd4ac9a3b7bf8d02a52947df04d4d4986311da7fa77d6ae010d512de9ad429d78a436a2f8e11c6f2d8dde00bea70ea0b1237a35e5b16ed4ad6b430fe
|
DIST uc.micro-py-1.0.1.gh.tar.gz 6235 BLAKE2B 7ba5935e97d9926789cde37491ce09235f467781ddd99dc841f70bd42a13c87bdc3a7970684cab81684620c1c49e1bc316faa0d4e8664293c76cf7c86e24c446 SHA512 c6747943bd4ac9a3b7bf8d02a52947df04d4d4986311da7fa77d6ae010d512de9ad429d78a436a2f8e11c6f2d8dde00bea70ea0b1237a35e5b16ed4ad6b430fe
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 2022-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYPI_NO_NORMALIZE=1
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Micro subset of unicode data files for linkify-it-py projects"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/tsutsu3/uc.micro-py/
|
||||||
|
https://pypi.org/project/uc-micro-py/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -0,0 +1,64 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Collection of various utilities for WSGI applications"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://palletsprojects.com/p/werkzeug/
|
||||||
|
https://pypi.org/project/Werkzeug/
|
||||||
|
https://github.com/pallets/werkzeug/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pallets/werkzeug/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
IUSE="test-rust"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
# NOTE: remove the loong mask after greenlet gains support for loong
|
||||||
|
# see https://github.com/python-greenlet/greenlet/pull/257
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xprocess[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/watchdog-2.3[${PYTHON_USEDEP}]
|
||||||
|
test-rust? (
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
!hppa? ( !ia64? ( !loong? (
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/greenlet[${PYTHON_USEDEP}]
|
||||||
|
' 'python3*')
|
||||||
|
) ) )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=()
|
||||||
|
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||||
|
EPYTEST_DESELECT+=(
|
||||||
|
"tests/test_serving.py::test_server[https]"
|
||||||
|
tests/test_serving.py::test_ssl_dev_cert
|
||||||
|
tests/test_serving.py::test_ssl_object
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# the default portage tempdir is too long for AF_UNIX sockets
|
||||||
|
local -x TMPDIR=/tmp
|
||||||
|
epytest -p no:django -p no:httpbin tests
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 3199ebb995754f4c7a2b4881564664d95d2483f6307cd898ec1beb7e12fed0bc3ce501a0f4732a3f1e019db1641d08804d2f38ad769277c95a41b8c266860126 SHA512 8ba2cabc58ae5586b6e89f2771e4483a488bf4ef5201fe8684befc2930d34f96f5fd07040da7ec850f9450b2166ad22ef571821a56e33222cf5708c11f5f4aba
|
DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 3199ebb995754f4c7a2b4881564664d95d2483f6307cd898ec1beb7e12fed0bc3ce501a0f4732a3f1e019db1641d08804d2f38ad769277c95a41b8c266860126 SHA512 8ba2cabc58ae5586b6e89f2771e4483a488bf4ef5201fe8684befc2930d34f96f5fd07040da7ec850f9450b2166ad22ef571821a56e33222cf5708c11f5f4aba
|
||||||
DIST zeroconf-0.58.0.tar.gz 140418 BLAKE2B 4e080fb18cf1823b1e32670bd1bce2ec4870055abdf8c7a200a536c77c07f58ce3cac48f255441480cff982c0d8a06001a8d39826c2c95e7666e79ed3da92fdf SHA512 112c7d83acdc40453a82f0ad76457aa1f5b467e11b8b545d60f1301738d8801c6de43a2d076937b01f2ab53aca38e4430a4bdbfb4dc0d606521d96e5b9a2b42d
|
DIST zeroconf-0.58.0.tar.gz 140418 BLAKE2B 4e080fb18cf1823b1e32670bd1bce2ec4870055abdf8c7a200a536c77c07f58ce3cac48f255441480cff982c0d8a06001a8d39826c2c95e7666e79ed3da92fdf SHA512 112c7d83acdc40453a82f0ad76457aa1f5b467e11b8b545d60f1301738d8801c6de43a2d076937b01f2ab53aca38e4430a4bdbfb4dc0d606521d96e5b9a2b42d
|
||||||
DIST zeroconf-0.58.2.tar.gz 140567 BLAKE2B 674f5d3cec4d1f5bf7c185e9224e8e5b3d21018898720461e670c1d65708c06855325b0fa8d20e822b3a7d35b2a17771b3c635f3cb60ee1e3d62c0d84be1bc02 SHA512 2a32a33fa1f66a3baa51a47d8c1c2679c0176ae1e9acbffa563d044679b842fd62d37d7813ca87b8b9bff719fd5e977d7df168310a57d0aa604f643150dbebc5
|
DIST zeroconf-0.58.2.tar.gz 140567 BLAKE2B 674f5d3cec4d1f5bf7c185e9224e8e5b3d21018898720461e670c1d65708c06855325b0fa8d20e822b3a7d35b2a17771b3c635f3cb60ee1e3d62c0d84be1bc02 SHA512 2a32a33fa1f66a3baa51a47d8c1c2679c0176ae1e9acbffa563d044679b842fd62d37d7813ca87b8b9bff719fd5e977d7df168310a57d0aa604f643150dbebc5
|
||||||
|
DIST zeroconf-0.59.0.tar.gz 140602 BLAKE2B 71d7cb35712a85be42333ec5f6d28fa45572757bd2e490019aeb7e1dcb87ad274ac4055396bea8640362ab9d8a8a692a56c47c2ef8da19fc92c8c49ba27eb36f SHA512 9303630dba191c60f81d7f0e65f9272e92d544155991ae4ff9c7239281dc06c9f0424a4d4a8e31e7dccb22d0c6d008b6c08e55e5da456125a70efc151704208d
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_EXT=1
|
||||||
|
DISTUTILS_USE_PEP517=poetry
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/python-zeroconf/python-zeroconf/
|
||||||
|
https://pypi.org/project/zeroconf/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
' 3.{9..10})
|
||||||
|
"
|
||||||
|
# the build system uses custom build script that uses distutils to build
|
||||||
|
# C extensions, sigh
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# network
|
||||||
|
tests/test_core.py::Framework::test_close_multiple_times
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close_context_manager
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close_v4_v6
|
||||||
|
tests/test_core.py::Framework::test_launch_and_close_v6_only
|
||||||
|
tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
|
||||||
|
|
||||||
|
# fragile to timeouts (?)
|
||||||
|
tests/services/test_browser.py::test_service_browser_expire_callbacks
|
||||||
|
tests/utils/test_asyncio.py::test_run_coro_with_timeout
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest -o addopts=
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,116 @@
|
|||||||
|
From 50b3b11ef9c30d4923c82949c66dc6fe3ed0047a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matthew Thode <mthode@mthode.org>
|
||||||
|
Date: Tue, 11 Apr 2023 23:46:27 -0500
|
||||||
|
Subject: [PATCH] make gertty work with sqlalchemy-2
|
||||||
|
|
||||||
|
Change-Id: I80c007af86cd7102c3c75963ad5b0a051dd9b541
|
||||||
|
Signed-off-by: Matthew Thode <mthode@mthode.org>
|
||||||
|
---
|
||||||
|
gertty/db.py | 41 +++++++++++++++++++++--------------------
|
||||||
|
1 file changed, 21 insertions(+), 20 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/gertty/db.py b/gertty/db.py
|
||||||
|
index 92cc278..82cffaa 100644
|
||||||
|
--- a/gertty/db.py
|
||||||
|
+++ b/gertty/db.py
|
||||||
|
@@ -25,11 +25,12 @@ import six
|
||||||
|
import sqlalchemy
|
||||||
|
from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String, Boolean, DateTime, Text, UniqueConstraint
|
||||||
|
from sqlalchemy.schema import ForeignKey
|
||||||
|
-from sqlalchemy.orm import mapper, sessionmaker, relationship, scoped_session, joinedload
|
||||||
|
+from sqlalchemy.orm import registry, sessionmaker, relationship, scoped_session, joinedload
|
||||||
|
from sqlalchemy.orm.session import Session
|
||||||
|
from sqlalchemy.sql import exists
|
||||||
|
from sqlalchemy.sql.expression import and_
|
||||||
|
|
||||||
|
+mapper = registry()
|
||||||
|
metadata = MetaData()
|
||||||
|
project_table = Table(
|
||||||
|
'project', metadata,
|
||||||
|
@@ -713,8 +714,8 @@ class Check(object):
|
||||||
|
self.created = created
|
||||||
|
self.updated = updated
|
||||||
|
|
||||||
|
-mapper(Account, account_table)
|
||||||
|
-mapper(Project, project_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Account, account_table)
|
||||||
|
+mapper.map_imperatively(Project, project_table, properties=dict(
|
||||||
|
branches=relationship(Branch, backref='project',
|
||||||
|
order_by=branch_table.c.name,
|
||||||
|
cascade='all, delete-orphan'),
|
||||||
|
@@ -740,16 +741,16 @@ mapper(Project, project_table, properties=dict(
|
||||||
|
order_by=change_table.c.number,
|
||||||
|
),
|
||||||
|
))
|
||||||
|
-mapper(Branch, branch_table)
|
||||||
|
-mapper(Topic, topic_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Branch, branch_table)
|
||||||
|
+mapper.map_imperatively(Topic, topic_table, properties=dict(
|
||||||
|
projects=relationship(Project,
|
||||||
|
secondary=project_topic_table,
|
||||||
|
order_by=project_table.c.name,
|
||||||
|
viewonly=True),
|
||||||
|
project_topics=relationship(ProjectTopic),
|
||||||
|
))
|
||||||
|
-mapper(ProjectTopic, project_topic_table)
|
||||||
|
-mapper(Change, change_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(ProjectTopic, project_topic_table)
|
||||||
|
+mapper.map_imperatively(Change, change_table, properties=dict(
|
||||||
|
owner=relationship(Account),
|
||||||
|
conflicts1=relationship(Change,
|
||||||
|
secondary=change_conflict_table,
|
||||||
|
@@ -787,7 +788,7 @@ mapper(Change, change_table, properties=dict(
|
||||||
|
order_by=(approval_table.c.category,
|
||||||
|
approval_table.c.value))
|
||||||
|
))
|
||||||
|
-mapper(Revision, revision_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Revision, revision_table, properties=dict(
|
||||||
|
messages=relationship(Message, backref='revision',
|
||||||
|
cascade='all, delete-orphan'),
|
||||||
|
files=relationship(File, backref='revision',
|
||||||
|
@@ -798,9 +799,9 @@ mapper(Revision, revision_table, properties=dict(
|
||||||
|
cascade='all, delete-orphan'),
|
||||||
|
|
||||||
|
))
|
||||||
|
-mapper(Message, message_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Message, message_table, properties=dict(
|
||||||
|
author=relationship(Account)))
|
||||||
|
-mapper(File, file_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(File, file_table, properties=dict(
|
||||||
|
comments=relationship(Comment, backref='file',
|
||||||
|
order_by=(comment_table.c.line,
|
||||||
|
comment_table.c.created),
|
||||||
|
@@ -812,20 +813,20 @@ mapper(File, file_table, properties=dict(
|
||||||
|
comment_table.c.created)),
|
||||||
|
))
|
||||||
|
|
||||||
|
-mapper(Comment, comment_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Comment, comment_table, properties=dict(
|
||||||
|
author=relationship(Account)))
|
||||||
|
-mapper(Label, label_table)
|
||||||
|
-mapper(PermittedLabel, permitted_label_table)
|
||||||
|
-mapper(Approval, approval_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Label, label_table)
|
||||||
|
+mapper.map_imperatively(PermittedLabel, permitted_label_table)
|
||||||
|
+mapper.map_imperatively(Approval, approval_table, properties=dict(
|
||||||
|
reviewer=relationship(Account)))
|
||||||
|
-mapper(PendingCherryPick, pending_cherry_pick_table)
|
||||||
|
-mapper(SyncQuery, sync_query_table)
|
||||||
|
-mapper(Hashtag, hashtag_table)
|
||||||
|
-mapper(Server, server_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(PendingCherryPick, pending_cherry_pick_table)
|
||||||
|
+mapper.map_imperatively(SyncQuery, sync_query_table)
|
||||||
|
+mapper.map_imperatively(Hashtag, hashtag_table)
|
||||||
|
+mapper.map_imperatively(Server, server_table, properties=dict(
|
||||||
|
own_account=relationship(Account)
|
||||||
|
))
|
||||||
|
-mapper(Checker, checker_table)
|
||||||
|
-mapper(Check, check_table, properties=dict(
|
||||||
|
+mapper.map_imperatively(Checker, checker_table)
|
||||||
|
+mapper.map_imperatively(Check, check_table, properties=dict(
|
||||||
|
checker=relationship(Checker)))
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,69 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_EXT=1
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1 xdg
|
||||||
|
|
||||||
|
MY_PN="DisplayCAL"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/eoyilmaz/displaycal-py3/releases/download/${PV}/${MY_P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
DESCRIPTION="Modernize the DisplayCAL code including Python 3 support"
|
||||||
|
HOMEPAGE="https://github.com/eoyilmaz/displaycal-py3"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
PATCHES="${FILESDIR}/${P}-python-3.11.patch"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/build[${PYTHON_USEDEP}]
|
||||||
|
dev-python/certifi:0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||||
|
dev-python/distro[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pychromecast[${PYTHON_USEDEP}]
|
||||||
|
dev-python/send2trash[${PYTHON_USEDEP}]
|
||||||
|
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/wxpython-4.2.0[${PYTHON_USEDEP}]
|
||||||
|
media-gfx/argyllcms
|
||||||
|
x11-libs/libXxf86vm"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Fix QA warning
|
||||||
|
sed -e 's/license_file/license_files/g' -i setup.cfg || die
|
||||||
|
|
||||||
|
# Remove x-world MIME
|
||||||
|
sed -i 's|x-world/x-vrml;||g' \
|
||||||
|
misc/displaycal-vrml-to-x3d-converter.desktop || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_src_install
|
||||||
|
|
||||||
|
# Use Gentoo package name for doc folder
|
||||||
|
mv "${ED}/usr/share/doc/${MY_P}" "${ED}/usr/share/doc/${P}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
}
|
@ -0,0 +1,83 @@
|
|||||||
|
Based on
|
||||||
|
https://github.com/eoyilmaz/displaycal-py3/commit/3762e7be0368484d68c4a90923672fdb0f51a5fc
|
||||||
|
and
|
||||||
|
https://github.com/eoyilmaz/displaycal-py3/commit/97f0c91f5855e4d21f47181ef596251eb03cb835
|
||||||
|
|
||||||
|
diff --git a/DisplayCAL/RealDisplaySizeMM.py b/DisplayCAL/RealDisplaySizeMM.py
|
||||||
|
index 00957692c..25b730d05 100644
|
||||||
|
--- a/DisplayCAL/RealDisplaySizeMM.py
|
||||||
|
+++ b/DisplayCAL/RealDisplaySizeMM.py
|
||||||
|
@@ -25,6 +25,8 @@
|
||||||
|
from DisplayCAL.lib64.python39.RealDisplaySizeMM import *
|
||||||
|
elif sys.version_info[:2] == (3, 10):
|
||||||
|
from DisplayCAL.lib64.python310.RealDisplaySizeMM import *
|
||||||
|
+ elif sys.version_info[:2] == (3, 11):
|
||||||
|
+ from DisplayCAL.lib64.python311.RealDisplaySizeMM import *
|
||||||
|
# else:
|
||||||
|
# pass
|
||||||
|
|
||||||
|
diff --git a/DisplayCAL/defaultpaths.py b/DisplayCAL/defaultpaths.py
|
||||||
|
index cd11d6d75..59258e79d 100644
|
||||||
|
--- a/DisplayCAL/defaultpaths.py
|
||||||
|
+++ b/DisplayCAL/defaultpaths.py
|
||||||
|
@@ -235,9 +235,14 @@ def set_translation(obj):
|
||||||
|
obj.GETTEXT_PACKAGE, locale_dir, codeset="UTF-8"
|
||||||
|
)
|
||||||
|
except TypeError:
|
||||||
|
- obj.translation = gettext.translation(
|
||||||
|
- obj.GETTEXT_PACKAGE, locale_dir
|
||||||
|
- )
|
||||||
|
+ try:
|
||||||
|
+ obj.translation = gettext.translation(
|
||||||
|
+ obj.GETTEXT_PACKAGE, locale_dir
|
||||||
|
+ )
|
||||||
|
+ except FileNotFoundError as exc:
|
||||||
|
+ print("XDG:", exc)
|
||||||
|
+ obj.translation = gettext.NullTranslations()
|
||||||
|
+ return False
|
||||||
|
except IOError as exception:
|
||||||
|
print("XDG:", exception)
|
||||||
|
obj.translation = gettext.NullTranslations()
|
||||||
|
@@ -261,11 +266,7 @@ def get_config_files(filename):
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def shell_unescape(s):
|
||||||
|
- a = []
|
||||||
|
- for i, c in enumerate(s):
|
||||||
|
- if c == "\\" and len(s) > i + 1:
|
||||||
|
- continue
|
||||||
|
- a.append(c)
|
||||||
|
+ a = [c for i, c in enumerate(s) if c != "\\" or len(s) <= i + 1]
|
||||||
|
return "".join(a)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
diff --git a/DisplayCAL/lib64/python311/__init__.py b/DisplayCAL/lib64/python311/__init__.py
|
||||||
|
new file mode 100644
|
||||||
|
index 000000000..e69de29bb
|
||||||
|
diff --git a/README.md b/README.md
|
||||||
|
index 3ff3c4ec4..4119ace70 100644
|
||||||
|
--- a/README.md
|
||||||
|
+++ b/README.md
|
||||||
|
@@ -25,7 +25,7 @@ Here is a screenshots showing the tool working with Python 3.10:
|
||||||
|
|
||||||
|
![image](https://user-images.githubusercontent.com/1786804/169152229-e06ff549-55fe-4149-8742-405446e6b01f.png)
|
||||||
|
|
||||||
|
-Currently, DisplayCAL is working with Python 3.8, 3.9 and 3.10 and wxPython 4.1.1 or 4.2.0.
|
||||||
|
+Currently, DisplayCAL is working with Python 3.8, 3.9, 3.10 and 3.11 and wxPython 4.1.1 or 4.2.0.
|
||||||
|
|
||||||
|
Here is a list of things that is working:
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/DisplayCAL/meta.py b/DisplayCAL/meta.py
|
||||||
|
index 00b9c82c..30797cdf 100644
|
||||||
|
--- a/DisplayCAL/meta.py
|
||||||
|
+++ b/DisplayCAL/meta.py
|
||||||
|
@@ -62,7 +62,7 @@
|
||||||
|
name_html = '<span class="appname">Display<span>CAL</span></span>'
|
||||||
|
|
||||||
|
py_minversion = (3, 8)
|
||||||
|
-py_maxversion = (3, 10)
|
||||||
|
+py_maxversion = (3, 11)
|
||||||
|
|
||||||
|
version = VERSION_STRING
|
||||||
|
version_lin = VERSION_STRING # Linux
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
Mon, 01 May 2023 20:39:59 +0000
|
Tue, 02 May 2023 05:10:01 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Mon, 01 May 2023 20:39:59 +0000
|
Tue, 02 May 2023 05:10:02 +0000
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=test? ( dev-python/pytest-forked[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pytest-xdist[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) test? ( >=dev-python/botocore-1.29.124[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/colorama[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/docutils[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/rsa[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/s3transfer-0.6.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?] !app-admin/awscli-bin >=dev-python/pytest-7.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/setuptools-67.2.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/wheel-0.38.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=Universal Command Line Environment for AWS
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/aws/aws-cli/ https://pypi.org/project/awscli/
|
||||||
|
INHERIT=bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
IUSE=test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=>=dev-python/botocore-1.29.124[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/colorama[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/docutils[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/rsa[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/s3transfer-0.6.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?] !app-admin/awscli-bin python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/aws/aws-cli/archive/1.27.124.tar.gz -> aws-cli-1.27.124.gh.tar.gz
|
||||||
|
_eclasses_=bash-completion-r1 59cf54afadd3b37d31d9d85c7d7d8067 distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=49e74325243b7907e30dd121cb06f7f4
|
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
BDEPEND=python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/setuptools-67.2.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/wheel-0.38.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install postinst prepare test
|
||||||
|
DEPEND=net-libs/librsync app-crypt/gnupg dev-python/fasteners[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/setuptools[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/setuptools-scm[python_targets_python3_10(-)?,python_targets_python3_11(-)?] test? ( app-arch/par2cmdline dev-python/mock[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pexpect[python_targets_python3_10(-)?,python_targets_python3_11(-)?] )
|
||||||
|
DESCRIPTION=Secure backup system using gnupg to encrypt data
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://duplicity.gitlab.io/
|
||||||
|
INHERIT=distutils-r1 pypi
|
||||||
|
IUSE=s3 test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos
|
||||||
|
LICENSE=GPL-3
|
||||||
|
RDEPEND=net-libs/librsync app-crypt/gnupg dev-python/fasteners[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/paramiko[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/future[python_targets_python3_10(-)?,python_targets_python3_11(-)?] s3? ( dev-python/boto3[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=test
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://files.pythonhosted.org/packages/source/d/duplicity/duplicity-1.2.2.tar.gz
|
||||||
|
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 pypi 3b6a844fbf71f1581992b44c78b549b7 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=eddf37343f85f42501844d5cecc31fd9
|
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
BDEPEND=>=app-editors/emacs-27.1:*[jpeg,json,libxml2,png,svg] >=app-emacs/compat-29.1.4.0 >=app-editors/emacs-27.1:*
|
||||||
|
DEFINED_PHASES=compile configure install postinst postrm prepare setup test unpack
|
||||||
|
DESCRIPTION=OpenStreetMap tile-based viewer for GNU Emacs
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/minad/osm/
|
||||||
|
INHERIT=elisp
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-3+
|
||||||
|
RDEPEND=>=app-editors/emacs-27.1:*[jpeg,json,libxml2,png,svg] >=app-emacs/compat-29.1.4.0 net-misc/curl[ssl] >=app-editors/emacs-27.1:*
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/minad/osm/archive/0.12.tar.gz -> osm-0.12.tar.gz
|
||||||
|
_eclasses_=elisp 7190c722d9e06fabcae26ef1e1dc9183 elisp-common dcd21c5d379fc2217e95f529504c5fe0
|
||||||
|
_md5_=1534a8ffc3a3e95ca4d67f6ca3ce446b
|
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile install
|
||||||
|
DEPEND=media-libs/libsdl2:=
|
||||||
|
DESCRIPTION=An assembler and emulator for the Uxn stack-machine, written in ANSI C
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://wiki.xxiivv.com/site/uxn.html https://git.sr.ht/~rabbits/uxn/
|
||||||
|
INHERIT=toolchain-funcs
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=MIT
|
||||||
|
RDEPEND=media-libs/libsdl2:=
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://git.sr.ht/~rabbits/uxn/archive/0dcc3b4c2e12bf2a61e682e9168e8bdb469caae0.tar.gz -> uxn-0_p20230501.tar.gz
|
||||||
|
_eclasses_=multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=7360563c066d713875906aad2fb5f0ee
|
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=configure install
|
||||||
|
DEPEND=dev-libs/libxslt dev-libs/tinyxml test? ( >=dev-libs/check-0.9.6 )
|
||||||
|
DESCRIPTION=A documentation metadata library
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://rarian.freedesktop.org/
|
||||||
|
IUSE=test
|
||||||
|
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||||
|
LICENSE=LGPL-2.1
|
||||||
|
RDEPEND=dev-libs/libxslt dev-libs/tinyxml sys-apps/util-linux
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://gitlab.freedesktop.org/rarian/rarian/-/releases/0.8.3/downloads/assets/rarian-0.8.3.tar.bz2
|
||||||
|
_md5_=7ab36835508f3b470dc930c5f1a181eb
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( >=sys-libs/gdbm-1.8.3:= ) app-arch/bzip2 >=sys-libs/zlib-1.2.12 virtual/libcrypt:=
|
||||||
|
DEFINED_PHASES=configure install postinst postrm preinst prepare setup test
|
||||||
|
DEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( >=sys-libs/gdbm-1.8.3:= ) app-arch/bzip2 >=sys-libs/zlib-1.2.12 virtual/libcrypt:=
|
||||||
|
DESCRIPTION=Larry Wall's Practical Extraction and Report Language
|
||||||
|
EAPI=7
|
||||||
|
HOMEPAGE=https://www.perl.org/
|
||||||
|
INHERIT=alternatives flag-o-matic toolchain-funcs multilib multiprocessing
|
||||||
|
IUSE=berkdb debug doc gdbm ithreads minimal quadmath
|
||||||
|
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||||
|
LICENSE=|| ( Artistic GPL-1+ )
|
||||||
|
PDEPEND=!minimal? ( >=app-admin/perl-cleaner-2.5 >=virtual/perl-CPAN-2.290.0 >=virtual/perl-Encode-3.120.0 >=virtual/perl-File-Temp-0.230.400-r2 >=virtual/perl-Data-Dumper-2.154.0 virtual/perl-Test-Harness )
|
||||||
|
RDEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( >=sys-libs/gdbm-1.8.3:= ) app-arch/bzip2 >=sys-libs/zlib-1.2.12 virtual/libcrypt:=
|
||||||
|
SLOT=0/5.36
|
||||||
|
SRC_URI=mirror://cpan/src/5.0/perl-5.36.1.tar.xz mirror://cpan/authors/id/R/RJ/RJBS/perl-5.36.1.tar.xz https://github.com/gentoo-perl/perl-patchset/releases/download/perl-5.36.0-patches-1/perl-5.36.0-patches-1.tar.xz https://dev.gentoo.org/~dilfridge/distfiles/perl-5.36.0-patches-1.tar.xz https://github.com/arsv/perl-cross/releases/download/1.4/perl-cross-1.4.tar.gz
|
||||||
|
_eclasses_=alternatives ad206653f4297ab882a84e8fb7940190 edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e wrapper 4a1902f969e5718126434fc35f3a0d9c
|
||||||
|
_md5_=7c6f097602aa9c326e925a7a05666c34
|
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=>=dev-python/setuptools-scm-7.0.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] test? ( dev-python/flaky[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pytest-mock[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pytest-plus[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) test? ( >=app-admin/ansible-core-2.12[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/jsonschema-4.6.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/packaging[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/subprocess-tee-0.4.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pytest-7.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/setuptools-67.2.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/wheel-0.38.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=Contains functions that facilitate working with various versions of Ansible
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://pypi.org/project/ansible-compat/ https://github.com/ansible/ansible-compat/
|
||||||
|
INHERIT=distutils-r1 pypi
|
||||||
|
IUSE=test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~riscv
|
||||||
|
LICENSE=MIT
|
||||||
|
RDEPEND=>=app-admin/ansible-core-2.12[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/jsonschema-4.6.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/packaging[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/subprocess-tee-0.4.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://files.pythonhosted.org/packages/source/a/ansible-compat/ansible-compat-4.0.1.tar.gz
|
||||||
|
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 pypi 3b6a844fbf71f1581992b44c78b549b7 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=f5570c71ac172acca82049837a1a9e7e
|
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=test? ( >=dev-python/pytest-7.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/flit_core-3.8.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
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/
|
||||||
|
INHERIT=distutils-r1 pypi
|
||||||
|
IUSE=test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=MIT
|
||||||
|
RDEPEND=python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://files.pythonhosted.org/packages/source/a/asyncstdlib/asyncstdlib-3.10.7.tar.gz
|
||||||
|
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 pypi 3b6a844fbf71f1581992b44c78b549b7 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=370018114ec0c5510501ef9bb74f31ec
|
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=test? ( dev-python/mock[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pytest-xdist[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) test? ( >=dev-python/botocore-1.29.124[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/jmespath-0.7.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/s3transfer-0.6.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pytest-7.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/setuptools-67.2.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/wheel-0.38.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=The AWS SDK for Python
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/boto/boto3/ https://pypi.org/project/boto3/
|
||||||
|
INHERIT=distutils-r1 multiprocessing
|
||||||
|
IUSE=test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=>=dev-python/botocore-1.29.124[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/jmespath-0.7.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/s3transfer-0.6.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/boto/boto3/archive/1.26.124.tar.gz -> boto3-1.26.124.gh.tar.gz
|
||||||
|
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=19c6bcfc191ce918489bff494ff185c2
|
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=test? ( dev-python/jsonschema[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pytest-xdist[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) test? ( dev-python/six[python_targets_python3_10(-)?,python_targets_python3_11(-)?] <dev-python/jmespath-2[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/python-dateutil[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/urllib3-1.25.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pytest-7.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/setuptools-67.2.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/wheel-0.38.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=Low-level, data-driven core of boto 3
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/boto/botocore/ https://pypi.org/project/botocore/
|
||||||
|
INHERIT=distutils-r1 multiprocessing
|
||||||
|
IUSE=test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=dev-python/six[python_targets_python3_10(-)?,python_targets_python3_11(-)?] <dev-python/jmespath-2[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/python-dateutil[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/urllib3-1.25.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?] python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/boto/botocore/archive/1.29.124.tar.gz -> botocore-1.29.124.gh.tar.gz
|
||||||
|
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||||
|
_md5_=fdf90804b518aea7cdc6e38fa5f2e79b
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,17 +0,0 @@
|
|||||||
BDEPEND=python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) >=dev-python/setuptools-65.7.0[python_targets_python3_10(-)?]
|
|
||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=dev-python/setuptools[python_targets_python3_10(-)?]
|
|
||||||
DESCRIPTION=Python based FIDO 2.0 library
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=https://github.com/Yubico/python-fido2
|
|
||||||
INHERIT=distutils-r1
|
|
||||||
IUSE=examples python_targets_python3_10
|
|
||||||
KEYWORDS=amd64 ~arm64 ~ppc64 ~riscv x86
|
|
||||||
LICENSE=Apache-2.0 BSD-2 MIT MPL-2.0
|
|
||||||
RDEPEND=dev-python/six[python_targets_python3_10(-)?] dev-python/cryptography[python_targets_python3_10(-)?] dev-python/pyscard[python_targets_python3_10(-)?] examples? ( dev-python/flask[python_targets_python3_10(-)?] dev-python/pyopenssl[python_targets_python3_10(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 )
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_10 )
|
|
||||||
RESTRICT=test
|
|
||||||
SLOT=0/0.9
|
|
||||||
SRC_URI=https://github.com/Yubico/python-fido2/releases/download/0.9.3/fido2-0.9.3.tar.gz
|
|
||||||
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 eapi8-dosym 741bfa77afb2a9321261501aca58c208 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
|
||||||
_md5_=7dac80adbc3e6e7b0d663fd2ec7b26cc
|
|
@ -1,16 +0,0 @@
|
|||||||
BDEPEND=test? ( <dev-python/cryptography-40[python_targets_python3_10(-)?,python_targets_python3_11(-)?] <dev-python/pyscard-3[python_targets_python3_10(-)?,python_targets_python3_11(-)?] examples? ( dev-python/flask[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyopenssl[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) >=dev-python/pytest-7.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/poetry-core-1.4.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
|
||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DESCRIPTION=Python based FIDO 2.0 library
|
|
||||||
EAPI=8
|
|
||||||
HOMEPAGE=https://github.com/Yubico/python-fido2/ https://pypi.org/project/fido2/
|
|
||||||
INHERIT=distutils-r1
|
|
||||||
IUSE=examples test python_targets_python3_10 python_targets_python3_11
|
|
||||||
KEYWORDS=amd64 ~arm64 ~ppc64 ~riscv x86
|
|
||||||
LICENSE=Apache-2.0 BSD-2 MIT MPL-2.0
|
|
||||||
RDEPEND=<dev-python/cryptography-40[python_targets_python3_10(-)?,python_targets_python3_11(-)?] <dev-python/pyscard-3[python_targets_python3_10(-)?,python_targets_python3_11(-)?] examples? ( dev-python/flask[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyopenssl[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( >=dev-lang/python-3.10.9-r1:3.10 ) python_targets_python3_11? ( >=dev-lang/python-3.11.1-r1:3.11 )
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
|
||||||
RESTRICT=!test? ( test )
|
|
||||||
SLOT=0/1.0
|
|
||||||
SRC_URI=https://github.com/Yubico/python-fido2/releases/download/1.1.0/fido2-1.1.0.tar.gz
|
|
||||||
_eclasses_=distutils-r1 ff196cc3d0837f4b97547cbf8abeec65 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 3c6cd0f418ba702c186a9865b85e704d python-utils-r1 4544ab96b58e177dc52d75e42f5ee307 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
|
||||||
_md5_=d85c975ab23bf0a155d1d5a127844c01
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue