parent
d7db8c94fb
commit
ef467c79c0
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29626 BLAKE2B 46e2ba01d9ec235f3ff762b42c714f8bed1a32781cb93607e6fe26189f627f9151d08d0c98b03253b8014d715d650f5aa6f2ccf9903290acb99bad7b952308a5 SHA512 f0816bcb0b1ea2945e281f5072864b1a12180bb6e4b01aa79390ade9319f1c1ddc98c5d119dc40116b04dcf413dedeb553a10ff5a494d70ae5a54f9046da193f
|
||||
TIMESTAMP 2022-01-06T16:39:16Z
|
||||
MANIFEST Manifest.files.gz 29597 BLAKE2B 9ccee6d3edb19e57aa78fd0aaf8557f5f2b06d77e4f05247c8c013d236103bd78f6398aef60dfca7efd85a6302c4380b7239382c7db3f2f78b8cd01a9de51fc0 SHA512 cfc7db4408dc9a1e1fba7363fab5bb62061babf55cb3827cdbbd6a18dff19653282395680c1380d4bb91bd1d8cb55cd3fbb6667eec5fe70459beebbd39233c43
|
||||
TIMESTAMP 2022-01-07T03:39:13Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHXGzRfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHXteFfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBABw//RijhSF1Ura5u2yVJD7Jz8LQhBfe1zCDE17ZFmUwygqSNFqMJiC6Tf2U1
|
||||
0UTnlzEDQbFGAoF11+Utc3s8pXatKHy8LNSq0WInf3hCpaIkCBjziGFfY3dT+b1O
|
||||
Wlw4HTb7NRMGwgx95ztlaslCO2MhqSU2awOfrhaEsqmElUrZ+R6Gf0nNF6KNt6xP
|
||||
Ff2CwTFN8QMwxol84UuhPEg/1J5KpwMylxtJqnCM6m+kUDpgzOLjcDClPDdYqejs
|
||||
3XpA/DlzZVeeI8KExoT4TsrpUm3wlM1ZiHdzBdU7KegH0WAHqfM0Fd0VlBMZB+OE
|
||||
UxhvTvS4bTOaGf3YjaLQCD/eI/uVFRryAXPbwESGTfEi8vreEw/ojbZKUqN2/Vwu
|
||||
hVuWrX+lW6JR6zP0csJIo9GB5dn2WuG3F06fRtl4tVY3FGORNfqacGGS12ILjggw
|
||||
urev19QgS18zQQ5JJSK8TBsVmVjsdrL47PKvY377lScaFcBYu60b2dmRP+OYZ0mo
|
||||
g/9RjdWQQ7r5l8lf7sJHDw7LHgkfnJK5Q9BJXHRh+tvjecBrniw2vYJhT3Ew5SZR
|
||||
qSDOdwpmI8UZj9AoBIlWjlUYyXhZpTSeckzNb8ANigpohU73JUpsU/h026EjwgXI
|
||||
AYW/xc0ewd9yoar9e2Tlj3S2JYzYP0qvuwp2CtnQBB4Sz8XW/EQ=
|
||||
=oy5k
|
||||
klBntQ/8DkxsseLzW2DKojp37J1KAAkaarkznn8NxLDIQRMHglYqAeeOCvVELFSr
|
||||
DA6ApdqoT7Q4pWGku/ocPSnJJwwTv4RcrgmW2nhm+JmEjfzb96vGHLpmyZ7tvdP8
|
||||
Q1c/aVUv6mWaAnkRMRbyd1med+lcc2GpceNcAaLwyu4fhTUWZn8ubSauEnV4pP1U
|
||||
uA9cIlZx0F8DxzTd+NsBthGYGuBC0zBStCzGOJ+Av7p9rOvGKxqC+l+6DtJqUd/A
|
||||
AcxmpOXy407+ODIneV/KmjYpSlK/7ljPR/aA/FZjBE8TEtpWlLtnlR5i+QyTqFC8
|
||||
bTRWXn1udRnCQwAQpkuJfDZLTvd56D+vCcoo1SXTbGZZ7XIKsD3OaWSGxeF3gioI
|
||||
tkIKaNV2KNJ1yb07j8VBXVkWTJZvc9yzolcC2gkmSVKRI8CRxKYohbY451JycPVc
|
||||
lSvD8vjYWglHiD5ZiLuAiKTv/ypd95UbdsaQoni2avVJy44mRa5rLM1nB76Ixpyi
|
||||
OpI5h1R086P6MP/tBVTlBIuKCZ88VNzRcrLE8FVWh213FgCfiXulRZupomeFgjHD
|
||||
aK0d0KN4YnFgXVdm58w0z7VzHnJA8Ks/wrslQCxdRdEgQk715n1RE11UDWxJEfBT
|
||||
uU4sOysm+/G7JZ2+gGDSa3oHTodU0RbdQGVyR+t4I1fc9PZ2RU8=
|
||||
=TVf3
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install 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() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
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.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST mailcap-r2-1-53.tar.gz 27238 BLAKE2B ffc9067287d951775c417d7a583a9f64fc09f98990f3f760643e76e3b91d2205040828cd452aa1004f0bc76c3e913f5da93887b385cc3cd9464327ba1ffde57a SHA512 3f952a031f9e86321a4583dba42fa7778a2821c55fc42b6096cc56c531bc957e50c545ab0d470ab72782eb3815e8278df122e20c1ae532b7bbb55db12e00cb77
|
||||
DIST mime-types-9.tar.bz2 15524 BLAKE2B 075f73f6d41a6b9100baf891378b12658c1370ac3aee8ba47cdb972cf30835eb2e9f6eb8a6314a7097dc5f90b091607519750860b065a2c4a822e26223925447 SHA512 066cea30c02a326e64680422b31aff0849c0a8c7486738f2edf339b88426c6ac5a365d4fa4c80c84df0fa4c39b5e13d45db314a1bf47ce369c132dd1c46130d6
|
||||
EBUILD mime-types-2.1.53.ebuild 703 BLAKE2B 01e689dc594dfd1df8e4646fc743e1ed997423d8e357c9e9365810f20ad328c8218fbd7f974d133b7dd467b4721aa09a93fe4e2aa106ae7a5afc9d1bb0b178d7 SHA512 7ca28cc9711c0260896a1bf00803ddd73cf9fe17df8672fd7136c7b18f12928dd4826ffc44b413e9cb795112df885c56eae724d9aa3bebfe4985aa755fdb1c23
|
||||
EBUILD mime-types-2.1.53.ebuild 702 BLAKE2B 673f7925e3e002f35a4871693173f311192b44e84d4bc2c87d409d31676f01957824e52f1a099d4ac4c8be91248ebbd45905aff6df8cc39fc94113bdb61a7f59 SHA512 fdee37ecfdffaf7b788c915d6535fa4944a485481f179dcfde10eade8b6833716d3d1abe6495ab92657ce7dd994b670d8f20b0d2320f5c45d959e339f082feea
|
||||
EBUILD mime-types-9.ebuild 531 BLAKE2B 947831854c9ac5abdad5073c25173347d6d3d6e28c1167e67a61e23a5c59f409bfcb91f8b5be5318b61ef58f66c481f6ea4aec6b7324e7fdb844e6d6e59519e5 SHA512 17894f9313fb1e02b6762b58e4ca33f334942f468a872df0d23273f66e4e5d33405d119e813ee7a25563cd86c55069bba77ac74a74b08d6a6786f41556a44bc1
|
||||
MISC metadata.xml 352 BLAKE2B 462a2f661aa883b7674f2f1cf0cba158434fcfdff203f3a725b4b0ff394e8825babe1d25b37e2c4b13e822dd448a863262530e29610d97ba858d3a697b9c19cd SHA512 32a3007fb66e92f7dbc4fece550e44d7beb1f59f4142cfabbfff1448cb4b9f1ecbb2a69554b6dc649d505f1eeb6e2bcf7f9c49abeb90968fcfc9fac5aad067f1
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST tclap-1.2.2.tar.gz 231714 BLAKE2B 94fc3d5253c08a305e5f75f6b4b7ab556e94980193502b64665ff828609cde20f340e3fe18cef12011da07ae2db2c2bb52a08f112d052d74c45be8290d525092 SHA512 516ec17f82a61277922bc8c0ed66973300bf42a738847fbbd2912c6405c34f94a13e47dc964854a5b26a9a9f1f518cce682ca54e769d6016851656c647866107
|
||||
EBUILD tclap-1.2.2.ebuild 604 BLAKE2B 6bc97b89955ae40389f85ce610ce82a84d180fab286431a66a7c646531631f6a97a850ed73374aaca7f37bc9785d8eb8b2a1fd10ddf8451cde816f7696d9ca48 SHA512 bde724ef1b971e96b60e91e8e5f61da9b9db03686e8bd79cece97a376ce53915ca0e5778e594052ecc37622c6d8a7087b0e5adb843aefde43274e7a79b69d9ac
|
||||
EBUILD tclap-1.2.2.ebuild 610 BLAKE2B fd4849d00f2452cc5240171e5b3b7bf3fb3024f5eba499c8d3a9bd1aaed9eb63062cd443208416271d80e4b58c8bc7a16d6233bfbff6faddaa6478f993a7c7ac SHA512 58fa66874b16d6be1bfa8059042b8c61017e4baf54def88599e3fb49968d399fbb59bb71ccaabf08c3af07e7f31ffc7cc069f49420061415781eeb1f3d362deb
|
||||
MISC metadata.xml 243 BLAKE2B 5e16a9fdda387cc657f2bf36698c5dea7ae7b7219933e48e90a2a3d786710ea96fac0f842767dd766f50db0d4b0c216456259c1e72d638355ad9d09fcb021434 SHA512 46879cd7fdf95e39dc5fc0e8f6a9d811bba3092fbced1cb3f3c6da50462303c6014c42d4f998b77c9335b38f7135ed66cbf0b75ff651f0d11406c89e28424129
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST commons-math3-3.6.1.jar 2514690 BLAKE2B ce5dc1a5bdccf85aa780dd648b64c0ed78b4d5a36d15d9737f661135f4f1ec962c3c44a0c4d8fc7d12c667e62b19860cb2a47f507c8c3e6da6cce57e1b9caf54 SHA512 eab6003834c0f1b7e67eee242d33db43f85d388ac32e37caa6bd16d74340db5c189ff5c7fd112ef13b9009d2fbcf2bad6650b6e5d9124316b59493b2d07d065d
|
||||
EBUILD commons-math-3.6.1-r1.ebuild 736 BLAKE2B ee236d80c075b8472ae2770b2c21b8d9910854ee6a6de20409f5c031c6bbbea88693fd3cadaf305f2d8488220b4b8f2bb9149e1c4b4699e9020e66f86c644b25 SHA512 ede63024c1a18b9ccacd1de71182d17a60eeccdeeab86adc28777fea29a61ef3f8c43bd8eaa5f78c7f83f51f518e7b5b6d54dbba95727236d10171327ec24bea
|
||||
EBUILD commons-math-3.6.1-r1.ebuild 741 BLAKE2B cddab31becc324b2e4fd262d6de490542cd5f482a1b29dd9a59d8b0139c1e7112545b59349ed9cee2519ddc56d80ee6feba6e65ef5dcb21bb9f1ea3305306f84 SHA512 97a2384bf11b39cea6aab1c041acf2236491d766c799f13342cd4c567b86d4a85cbc1ed500d3c7460bcaacf5565008fc9471af60babb85e3bdfe0f85e0082da7
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST jmh-core-1.21.tar.gz 615305 BLAKE2B 1a5cfe9784efe0cd7706382eaa89c8bcce0efcce3c2b802ce0772992dd16f0c6900a47d70b72d1c556584adb8afda442f49267ad4e0b53d04c20026979787210 SHA512 ac51d58d9b746157842a3bc9c4828bbff52c5882582e123e04b5ab6c4bfc1ff3cad1f6023ab1fe1eccfa68c73ffbd21b34388547bba544626af87092852ec166
|
||||
EBUILD jmh-core-1.21.ebuild 885 BLAKE2B b5ab688fae4c7af12e0cfd2f5df1d578eb289ef2f2cf8a447749c6a21f840af6a88538773a9589785cc7aca78d90a2b2aadcba45921a4dd70371a0dfc30aa125 SHA512 542c21c157bb7b3c4b05b9ae50fccf42ddd0c6a279a3da4850e65e9f6c441d8e19d51cbd5234b55e7fa9006067c043129bcffd627a257caa5d3be10dc48ac6d3
|
||||
EBUILD jmh-core-1.21.ebuild 897 BLAKE2B a7de5cd923a099a67571036ba80dabf0fe70d403f063da74a978842bc0bbf1bf830e0a62abfa3da6780997ce3bbaf556c0ccb1d2e0574ae9b8f8b472d5e81781 SHA512 d93df911230fb602667d69cc50f4ce688c6fc84f4d08f578a36a16dd3bc8b36005e7652f910321b247028c1bf44fbbf6e403f236a728c3ceb5d521fa0ff6f2d9
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST jopt-simple-4.6.tar.gz 107082 BLAKE2B 622144647b24049861398cc99ca3cc268baae045f8ca23cdd5bddb2e656bc97d17397ae752ca9a6edc91b8486e1e55ce19ba335d2afadf6c6df4f858faf43a1e SHA512 c2f467521f6419f91206f6036d420671b02106beadff3fc51d1893e6f3f6302b8fcbb31957327b9e40cbfd7a7d55030e0c999d9570d7e29fe7a4375bab10ed76
|
||||
DIST jopt-simple-5.0.tar.gz 119502 BLAKE2B 975a0d338fa3154963954fd3b218c944dded023b3a2da59ee2671c73450a578dbf1aee8e52b9f715839e15c1937e0a493c4b37518b73038aa017e1d0ec1ca06a SHA512 f440c62cb307aad7cab64f091c82f78e11a117e60aaadf71883c149a622576531272de3d67859f6df093df658bb0bfb435d9bb33bc729bcda24dcc99d27369ff
|
||||
EBUILD jopt-simple-4.6.ebuild 645 BLAKE2B c13723071a5b22bb69aa309832ad929cca1bc53ed98a52e96cf3e8a46b5479ad5f3be2a4ca225ab9f95d1d274a6134491adab2eaec2cb8cb47709357da4764c2 SHA512 dca4886b9b353edb9fcb197726cc1aafdb828edf1fa125b1c7b037dc3794f92933391ccb0a092056458cf3bace76928944cfa50246bfb07470395d1730114046
|
||||
EBUILD jopt-simple-4.6.ebuild 654 BLAKE2B 0a19b2700df2a68f66a1506f7d877592154af4a11c645919b49078ba316f6e2fd1cf8ef76fdaf3ebfa340eb54611d4168ca5af778caba88dd5da91c21a6acf0a SHA512 d541d7380cb483c18d99fe5048a05952d8afad088f26783e1cfaa0968369d6deec10031abc180feb3e7d154b811bbf78df44d0d126e1f891cde5dabe31ee50dc
|
||||
EBUILD jopt-simple-5.0.ebuild 648 BLAKE2B 137db3a025327e0e9cc2c57c465f9f8734f523e350ad91263f33ffb3edb761ac99c9f84a897a60387694a61d5cb46c67dd12579dd68dca8321b5e70428ac1934 SHA512 3c2863dbcc4613fe33bdf4e3afac16d8f006e0c958315ad35cfbfb4428a519cf743a2532f8a831c37fc0a5bad7608daecd2aac27fc23588e4d8a95bdcf51903a
|
||||
MISC metadata.xml 321 BLAKE2B 1165369ebb01fa6f8d30370de45e8b6dbfb6bd57687593395213e2772bdd379a0f4adefa0901f23e79262c6803ea3544b0127fc1e5f5f2a00e3523ef26ad2ce9 SHA512 9306c4766bac17556a01b019139fcdbebdb08ee1f0b56adcf4ffb25805075ae2d5d5007659e897418da012ee05157cec8cdc119715bf88abd8a00a6a7661b89e
|
||||
|
Binary file not shown.
@ -0,0 +1,75 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5df20ca..9e60fae 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -121,7 +121,6 @@ endif()
|
||||
add_subdirectory(include)
|
||||
add_subdirectory(stdlib)
|
||||
add_subdirectory(third_party/md5)
|
||||
-add_subdirectory(third_party/rapidyaml/rapidyaml ryml)
|
||||
add_subdirectory(core)
|
||||
add_subdirectory(cpp)
|
||||
add_subdirectory(cmd)
|
||||
diff --git a/core/vm.cpp b/core/vm.cpp
|
||||
index 4617363..e328df5 100644
|
||||
--- a/core/vm.cpp
|
||||
+++ b/core/vm.cpp
|
||||
@@ -23,7 +23,7 @@ limitations under the License.
|
||||
|
||||
#include "desugarer.h"
|
||||
#include "json.h"
|
||||
-#include "json.hpp"
|
||||
+#include "nlohmann/json.hpp"
|
||||
#include "md5.h"
|
||||
#include "parser.h"
|
||||
#include "ryml_std.hpp" // include this before any other ryml header
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 0a2748a..356915d 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -13,6 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
+import sys
|
||||
from setuptools import setup
|
||||
from setuptools import Extension
|
||||
from setuptools.command.build_ext import build_ext as BuildExt
|
||||
@@ -22,28 +23,6 @@ DIR = os.path.abspath(os.path.dirname(__file__))
|
||||
# NOTE: If you are editing the array below then you probably also need
|
||||
# to change MANIFEST.in.
|
||||
LIB_OBJECTS = [
|
||||
- 'core/desugarer.o',
|
||||
- 'core/formatter.o',
|
||||
- 'core/libjsonnet.o',
|
||||
- 'core/lexer.o',
|
||||
- 'core/parser.o',
|
||||
- 'core/pass.o',
|
||||
- 'core/static_analysis.o',
|
||||
- 'core/string_utils.o',
|
||||
- 'core/vm.o',
|
||||
- 'third_party/md5/md5.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/char_traits.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/base64.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/language.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_util.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/format.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/time.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/error.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/src/c4/yml/parse.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/src/c4/yml/preprocess.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/src/c4/yml/common.o',
|
||||
- 'third_party/rapidyaml/rapidyaml/src/c4/yml/tree.o',
|
||||
]
|
||||
|
||||
MODULE_SOURCES = ['python/_jsonnet.c']
|
||||
@@ -72,6 +51,8 @@ jsonnet_ext = Extension(
|
||||
'_jsonnet',
|
||||
sources=MODULE_SOURCES,
|
||||
extra_objects=LIB_OBJECTS,
|
||||
+ libraries = ['md5', 'jsonnet', 'ryml'],
|
||||
+ library_dirs = [os.environ.get('CMAKE_BUILD_DIR')],
|
||||
include_dirs = ['include'],
|
||||
language='c++'
|
||||
)
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
PYTHON_COMPAT=( pypy3 python3_{7..10} )
|
||||
|
||||
inherit cmake toolchain-funcs flag-o-matic distutils-r1
|
||||
|
||||
DESCRIPTION="A data templating language for app and tool developers"
|
||||
HOMEPAGE="https://jsonnet.org/"
|
||||
SRC_URI="https://github.com/google/jsonnet/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
IUSE="custom-optimization doc examples python test"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
RDEPEND="
|
||||
dev-cpp/rapidyaml:=
|
||||
dev-cpp/nlohmann_json:=
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/jsonnet-0.12.1-dont-call-make-from-setuppy.patch"
|
||||
"${FILESDIR}/jsonnet-0.16.0-libdir.patch"
|
||||
"${FILESDIR}/jsonnet-0.16.0-cp-var.patch"
|
||||
"${FILESDIR}/jsonnet-0.18.0-unbundle.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
use python && distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use custom-optimization || replace-flags '-O*' -O3
|
||||
tc-export CC CXX
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_SYSTEM_JSON=ON
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
)
|
||||
|
||||
if use test; then
|
||||
mycmakeargs+=(
|
||||
-DBUILD_TESTS=ON
|
||||
-DUSE_SYSTEM_GTEST=ON
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DBUILD_TESTS=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use python && CMAKE_BUILD_DIR="${BUILD_DIR}" distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_src_test
|
||||
use python && CMAKE_BUILD_DIR="${BUILD_DIR}" distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}" "${EPYTHON}" -m unittest python._jsonnet_test -v \
|
||||
|| die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use python && distutils-r1_src_install
|
||||
|
||||
if use doc; then
|
||||
find doc -name '.gitignore' -delete || die
|
||||
docinto html
|
||||
dodoc -r doc/.
|
||||
fi
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX remove-Werror.patch 1217 BLAKE2B f7ef18089abcd11fb8ed36980e681a804649b8ad8891b97113966c099bb05178604983359b79eb853ad6256a6c116fa8fdca116b29e2d6108c2a38fff01472a1 SHA512 0c17b1b36a02b401182a91e1f751f71b343f1d61ce7340230fdb13e89354316d0f2863fc3ea2f1a33bee6033c79e30e35024519c515a03a4d88467456ef340cc
|
||||
DIST libdispatch-5.3.3.tar.gz 591794 BLAKE2B 982b99227a1292d999639e7b16c1382a38dd6799a0ea1b83dd66333d5b6388be809127565fafc7f171dab9d8aa388cf67316d7eb6fa2ae2e1b8ccf660b32f0ab SHA512 b76071e8fac19ef5aed8cb3998b903a17a4f2b9e6b992d22d394212f4d48c4a547fb7a8cf16e4ce2ef17d6b58e253c2d52c6b176c3a874132410215b73332909
|
||||
EBUILD libdispatch-5.3.3-r1.ebuild 973 BLAKE2B 7b699cb9c43c24d620da09ddfdf365b2a06e563bbda09e0aeffe860fc00b5d96174e22567dec796da43d083e1993f47228d3345b2d1277f7013571d06a06ded0 SHA512 07d9c15c80be8853d372e2c0b67a68223674e1ccf7ea61af37400915d9b59795b305c95fff66eb6997933f9c399c753a8882366234491f26faa7bdc4222e52b6
|
||||
EBUILD libdispatch-5.3.3-r1.ebuild 1009 BLAKE2B 6614f1bf943a87051e35a9c4d29024e3902eb324fabf0c89ec067959f98e9ba3bf53f789fbea08f87376a1a4ecd2e10bb36811a7f65d16f8a244e0255ae9cb60 SHA512 ee955823c024e8e123827e5fec38701b532e6494d3de2971a0c533de1cc0967b1cbef6b9e74793e543975aa3613478c55c0d59896e60a835d2aa7759188e113f
|
||||
MISC metadata.xml 350 BLAKE2B 179ce6945eeec3c78414fb6dd66822f26ac6b629528da5868b44d3715355ec80acb1cc5dd8357b659f31877c83bfc10ae8b236367904bbbdd36d2ec7c1458739 SHA512 64646993f5469b2573385aa94fa578ae0e7645f4c5a30b631cf1d0de9ac5ef88270ba85e95f684b884631ec21d7ef31c4d68b563923901651da2ec631b0ccff5
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST uriparser-0.9.5.tar.bz2 176501 BLAKE2B 5ec3d993e60c62f2478e4012354cf82f2e4155ea1a69e9a3d6611d1765fe0f3b8ba5382c928852a5fd215f51ebb0688c9d713e9f1208f18f5ce2d8b8f0fb1dca SHA512 44d36a33565b7724d721e2b5e689530227bc87e609ee78f1d23e7353480191313b1b91039c7a046566d14b83eb320c97d75e74c8ef4841e1b9c8559c3feddb34
|
||||
DIST uriparser-0.9.6.tar.bz2 178888 BLAKE2B 2c7229d8438eaef40657b809742dff7ed8919edfe9b4003be996d967b2d876ec61c6493b60c3a0a167db80365c748ee63f2cebfa04058ae8bed8d29b0ab7ea22 SHA512 c021ab3f93cc0373c9244edafff042c3d73a3904d69e573c277b04ca4a49cd2e88255214599cf433088b32846c9a628dfb116025188a6bb61a40c236827799aa
|
||||
EBUILD uriparser-0.9.5.ebuild 1407 BLAKE2B 57422dee563f1a8ba6e8a60b415d71b1a23011cee1bf7576df37d943436056f84e8a40f3e8d2331c3a03d45fbfa9e0da3e2d1cfe3eae5126a582e27b3da25056 SHA512 940372852b7e53c41eb5cf90ca0da08b1c3e789ce303fc68fb0d77c9eed06981e54ff09ec5c9790dae028edce839b1e665a59979d0b394c5c77b61349e3e857a
|
||||
EBUILD uriparser-0.9.6.ebuild 1411 BLAKE2B 4815bd5b34270ac6df66ceacc1d44ba49938cbeabd72c8b121e7654e96a094fad0e25b96190f1df526b2a73e37a38fccfaa0313d35597d86ce1664e3c596759f SHA512 36ec9abd0f47256daad43160786f9a74cba45ec4449840c42188c432a90f50f77e94dc288987c6957c21bf617ead8c1c9b07189337e792bff221e2c4ed99e0c0
|
||||
MISC metadata.xml 543 BLAKE2B f58d06655dac12b918bc151308a170bd3b1f2eecdf54e1ca38badb1b4fe26966461238e5975fb566a3e8014bdfe2133ffafdc322b4664d18ea657a30fbba3aee SHA512 8004df7b46cc798bb654f62b4ca9de1a26302e901f0fd77bfee5c9d8b6fa52a2084666b21c7b84fce09d9d197854383eafe20766ae0a5f181cb29b2e8ad530b3
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Strictly RFC 3986 compliant URI parsing library in C"
|
||||
HOMEPAGE="https://uriparser.github.io/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE="+doc qt5 test unicode" # +doc to address warning RequiredUseDefaults
|
||||
|
||||
REQUIRED_USE="qt5? ( doc ) test? ( unicode )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
test? ( >=dev-cpp/gtest-1.8.1 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=app-doc/doxygen-1.5.8
|
||||
media-gfx/graphviz
|
||||
qt5? ( dev-qt/qthelp:5 )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog THANKS )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DURIPARSER_BUILD_CHAR=ON
|
||||
-DURIPARSER_BUILD_DOCS=$(usex doc ON OFF)
|
||||
-DURIPARSER_BUILD_TESTS=$(usex test ON OFF)
|
||||
-DURIPARSER_BUILD_TOOLS=ON
|
||||
-DURIPARSER_BUILD_WCHAR_T=$(usex unicode ON OFF)
|
||||
|
||||
# The usex wrapper is here to address this warning:
|
||||
# One or more CMake variables were not used by the project:
|
||||
# CMAKE_DISABLE_FIND_PACKAGE_Qt5Help
|
||||
$(usex doc "$(cmake_use_find_package qt5 Qt5Help)")
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use doc && use qt5; then
|
||||
dodoc "${BUILD_DIR}"/doc/*.qch
|
||||
docompress -x /usr/share/doc/${PF}/${P}.qch
|
||||
fi
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
AUX userspace-rcu-0.13.1-tests-no-benchmark.patch 441 BLAKE2B 8e5737b349d21ae4cdc87b821027bd500f35921afbc1d506977038a79b14e468ea3dfbf7f2d301e905217b3454641ab81c3eceae7a597dc777967133f66b7c20 SHA512 a1749498e1b038b003502d1c40aa664fea36558f403229bb7c28a0540ef341fc578dcc46985a45a8dcd59c3a7e035efd205c40288d58c0e5866af019b65e0d82
|
||||
DIST userspace-rcu-0.13.0.tar.bz2 608434 BLAKE2B 11b5d13f4e1a577cc33ad430eb387b26cc2db2ba9ff32c7a09f9cb6c8a418548cd87c198ab4b63be3df884d8e3878046ba817106ff2f07cbab86dd60c9bb1d34 SHA512 7288b5a4a2dca6a75ecaa8553b942b9e7be9cae25776d2448fb0b0c950af9919c369791839607c6c1e6cbd32bbd1e1cafc18ee753f0e3bdc2ed7b65488612580
|
||||
DIST userspace-rcu-0.13.1.tar.bz2 609961 BLAKE2B 96581fb3e90764870d2eb3eff6999e3c20bf206e3a0d5c910acfe693d55e0cb389fa5126a74d175f3c46655e740ecf1c1426c367eb3c28f3ef3a634848e51e83 SHA512 c86f2eb260cccb3cb6bd54ddbc0b46e60083fc99423e9403242ebed7f39a2a49c68af933ea6f373e2a9d4f9dc56f5befe030740891e28cf2fabe927a48ff8182
|
||||
EBUILD userspace-rcu-0.13.0.ebuild 791 BLAKE2B b711826c1f1d7de9feb6cf1fdf679bc068d08f635b52e3130c7bf7fb3132ee60ac4f05b445ad6abf41908f3e4c71db53ca211076c4c2409110fba1c4544f6cfc SHA512 78d733e2bb48079bec52015c27bf5184e333a64d49713dae4c2688209d9506c1689d72e66af2909e365597c43febbbcb290472362bb2f9fce99eb82d92494afd
|
||||
MISC metadata.xml 347 BLAKE2B a2a6a24ee4974111cf0e6559b25b17da2f899a965983e1c518355c0808a2168747d23aa0b2edc000bae1a57003bab68041b526e028da9ecd7051e86f340be51d SHA512 2fdd5bd8bf7e9ed31cacfc8c59d0bc46637b1d51ee37bc2157b6b635223dc0c13085d5b65f47f75ec40d4c28c2b2449c62f65f9f7cc84ecb9f037bf1fec99443
|
||||
EBUILD userspace-rcu-0.13.1.ebuild 904 BLAKE2B 81564f23e58646f5c9c5d31678250f53ce358aeb04e873b11434ea0aca770ce4cfd81eeaa666ad1754fe0613f1017db5ea3834daa560c69c89db41ae4a20efd5 SHA512 70781b79afe67324c23563c250785e64ab5698ed168c5194a3655b2e5b9b27041409d4a2fd323ec811fed05cfbb3ed0eab893ebdd60c13c9692882ff03a691e4
|
||||
MISC metadata.xml 357 BLAKE2B 11e5edf30ea2771ab569b3353e6bd726f3d925347cd4c1f601b4c57b03ff9ae4c68a5a338b4cdf101060af34f4f13e3fe1a7cc8ac5a7b7218bd16ceab2ca048a SHA512 640a8b8fe2188028e7c0da0aba2069167d8799faa37b66c0bed3636c386e9e250865453b3f370a0123f713f72ef35e0a1ee54e7df66a56985e8e42f6816025a0
|
||||
|
@ -0,0 +1,13 @@
|
||||
Fedora: https://src.fedoraproject.org/rpms/userspace-rcu/raw/rawhide/f/regtest-without-bench.patch
|
||||
|
||||
"Remove the benchmarks from the regtest target, they timeout on the buildds."
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -8,7 +8,6 @@
|
||||
cd benchmark && $(MAKE) $(AM_MAKEFLAGS) long_bench
|
||||
regtest:
|
||||
cd regression && $(MAKE) $(AM_MAKEFLAGS) regtest
|
||||
- cd benchmark && $(MAKE) $(AM_MAKEFLAGS) regtest
|
||||
|
||||
check-loop:
|
||||
while [ 0 ]; do \
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="regression-test">Run regression tests (requires FEATURES=test)</flag>
|
||||
</use>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="regression-test">Run regression tests (requires FEATURES=test)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Userspace RCU (read-copy-update) library"
|
||||
HOMEPAGE="https://liburcu.org/"
|
||||
SRC_URI="https://lttng.org/files/urcu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/8" # subslot = soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( sys-process/time )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.13.1-tests-no-benchmark.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Needed for tests patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
emake -C tests/regression regtest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,29 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="https://github.com/joke2k/faker"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/random2[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,7 +1,9 @@
|
||||
DIST Faker-10.0.0.tar.gz 1198872 BLAKE2B 60e4f34a597ca11b0699c330f6cdb0f7f387bb6c54d769513f8e091d00242c7ba4e62fa6b3411ad313a4713e9311b729fb6068acfc4a02b66f07c66656677f33 SHA512 0c22b18d16815ee37d2ea79b4142100479c7b9b9f169817dc9e0fe39495f0646e8d61d704ddba7d36eefb6cb3fb744d179a57216abb15c15ee357c8b12b8b5a4
|
||||
DIST Faker-11.0.0.tar.gz 1199121 BLAKE2B e5c4e17daa969249dbf1ae69630a79c50e6e51d63db9997872bd22a7e91db1771fdef984ec5912d42815632598339062be20005e4921c846abf3013e6efc8c89 SHA512 687f47ba613bd2117c412da54e293281bf1943eccde8165cc749be5d176a025d250c831d55a509a6923b3542dba4fe5abce23bd80b980bdca742ecaa837d4334
|
||||
DIST Faker-11.1.0.tar.gz 1214021 BLAKE2B c4b7b44d19566037135d47bce19895da7bb0eba17c64086ad5f0019bbd49a77aaf4231e6aef8f40aec4811bbe4df209b796773ac5cca6a859ff9b43ea57fe9bc SHA512 646d16bceb3fc5ca8a9004ab7369d7fc6012f0766b2f6b58922a1a415a4bf1ae1af0d5977d58f15792bd794fa2235fb44e626e28f5af168d4e4def8112bab0ca
|
||||
DIST Faker-11.3.0.tar.gz 1215886 BLAKE2B 01a0e9cff30597536cc1d6f4ae3f67c43e0e1ec5268d5c544a0cf6ea905c4528f07567515e615b74f32ea4622c9090e63141b0b526d656cbb96a449c23e7b047 SHA512 cb95ecd4cd781c6a08621fe75a1d019349232f8be65d4c9b5825987cb98bb6d031569d6e3253cb36a68986707515540f6ebd7503085aea68d56642b08f86192f
|
||||
EBUILD Faker-10.0.0.ebuild 723 BLAKE2B ae3fb5bd83c431960a804754b0c50ff925028373c5f40a1e11c7c4caf4fcea02787b7514251151fc92e74c9cb2a90c5d736b24e4e54ded6f619df731b1130039 SHA512 4a865912859241052c5921798bc53e045798ac4008af9c5f1f9b4954a1057ae5ab1afdb58291502bcbe6e6fc2c8370f0a42da1c7433029b0c2775d6bf91d8653
|
||||
EBUILD Faker-11.0.0.ebuild 723 BLAKE2B ae3fb5bd83c431960a804754b0c50ff925028373c5f40a1e11c7c4caf4fcea02787b7514251151fc92e74c9cb2a90c5d736b24e4e54ded6f619df731b1130039 SHA512 4a865912859241052c5921798bc53e045798ac4008af9c5f1f9b4954a1057ae5ab1afdb58291502bcbe6e6fc2c8370f0a42da1c7433029b0c2775d6bf91d8653
|
||||
EBUILD Faker-11.1.0.ebuild 723 BLAKE2B ae3fb5bd83c431960a804754b0c50ff925028373c5f40a1e11c7c4caf4fcea02787b7514251151fc92e74c9cb2a90c5d736b24e4e54ded6f619df731b1130039 SHA512 4a865912859241052c5921798bc53e045798ac4008af9c5f1f9b4954a1057ae5ab1afdb58291502bcbe6e6fc2c8370f0a42da1c7433029b0c2775d6bf91d8653
|
||||
EBUILD Faker-11.3.0.ebuild 723 BLAKE2B a041a53fcb013d95d7f4d112cdcfbfca8f1f37e7272d091a9d1bcfb338f549dc192b9f640d66a7ae2ab165855341c1ee4a0faeda231b87cafaab6ae483fc1180 SHA512 e753ca5e5ab62029a7107e492d6c6f0ff2a422979e59dddfcb7cd5db21f11f3d1475fa9016e3ff2e8db9bb01ad024dda668589c457e82baaefb08b159b68e88f
|
||||
MISC metadata.xml 474 BLAKE2B 337c8b17b4ca092edc2e59bd61dd847e4b9f2bd7e0651d07dad5b3e3eb4f311de9e27e6cad1f6a4835f618446cfa4cdb95e578a8af11498cf7bed1ec697990ce SHA512 35f4a2a50ad5589ba50e619670d1f1eac423fec920bb9c07b3f8bd7d7f2a0bb4e88dde286b062339b30ba304bd1a834bf3318c0b0ad0552ce9eb45fa72e5f44e
|
||||
|
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests 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
|
||||
)
|
||||
|
||||
distutils_install_for_testing --via-venv
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST dulwich-0.20.23.tar.gz 414150 BLAKE2B 0f7bfb237acc6bad874465a5bfed21adc29a2ef23875fbcbb92e7e3ff0ed6a4191a30b3975f90ef20b8320575e42abf31f8ec2199d558382c917d0510c2a8d96 SHA512 8bad3528dc87e70b39b59b2f7218579327db4dbd15937b63db76c9b8e7ba6d22e963eaec45b8d675c92f250516a541c395fdac391db68d0932dc5d8cd7ed9fb9
|
||||
DIST dulwich-0.20.27.tar.gz 416618 BLAKE2B 73ed04d9fc871a82126e212bdac0eaf235e44aa76f3e54c98bd50f71379fdd3082b2a3af12a22f3276a45909ef17e38a116deb6adfd650cdbfa19afa41803dd1 SHA512 dc82250c5b3cbccc1ccbb55ca2d871f4d17ddb3616cd92146468fc5f0d805d3fe349b2cedfb4e814e027c07f9352e87c72ca7e97ed6218aa621fa9311dc075c5
|
||||
DIST dulwich-0.20.28.tar.gz 416723 BLAKE2B ddbb36c65e1372e1c2fbab5d85ef26a77f40e4763eee8dc5d2ba249a6b4e37bd6e38197eaebbcb46f16df577c0ff4730ec69fff39a549adf2e5d147e7a3eabfc SHA512 5eb90dd888909f787ef5e9f0a79d7db9a31c5897e334a862c1d0593c4f115ff30047f108c7b315e0145e267f581ba0f4fd0fafb7b1b2316d3def4f70697f2e20
|
||||
EBUILD dulwich-0.20.23.ebuild 1588 BLAKE2B 8f042ad848f62019a8522e80d50698015fcf0a0a88eade0368a04c1daa3e6ba129d41e70fb967b3bc5b3fc49b0b034bb6c6e315e29fd010a761e0f1fc2c138ed SHA512 3304d877079090d89300bba68e08b6b9bebe98fc10d30c184d7b97c42bc3b48e040fda9ed7cea6568a585eaa37eb67189e069cc529e8b87e53e6f549e3a297a6
|
||||
EBUILD dulwich-0.20.27.ebuild 1592 BLAKE2B 37af2761b526bb4d41c4708fc7c237822bcf4027ee0c47773960e033e6a5e844be6ae8590de5148a0365a6a9bd7ad4c8bbbcc14e26a3297d0aafd2654cd7b3d6 SHA512 1f2f03fff9e1198897cc07c3e618e794b6da173aa182f6fa62686e216cd4bea1dc72af3dbca5892e63acd8c4c0212a9adfcd77f9c66a4f56539f9cb658cee2b5
|
||||
EBUILD dulwich-0.20.28.ebuild 1592 BLAKE2B 37af2761b526bb4d41c4708fc7c237822bcf4027ee0c47773960e033e6a5e844be6ae8590de5148a0365a6a9bd7ad4c8bbbcc14e26a3297d0aafd2654cd7b3d6 SHA512 1f2f03fff9e1198897cc07c3e618e794b6da173aa182f6fa62686e216cd4bea1dc72af3dbca5892e63acd8c4c0212a9adfcd77f9c66a4f56539f9cb658cee2b5
|
||||
MISC metadata.xml 558 BLAKE2B 72c574d6eb1a3d94686fe9aeeb53fa8d96532f4477ee94bfcd6c0dd3e0d6fc9e313dba9642b68a57ba0b38830fbe1f8d953c3ae79bcafcb6bbf6eba0e35f61a1 SHA512 de70aed32ec0b362668a6fd33d8be5251d57048bd6396e09608f040fe71fe8e3262f1c96fbc8058ea776e09a59ac465652f4f7d778fb4e3933c7fea4bf64d7f4
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pure-Python implementation of the Git file formats and protocols"
|
||||
HOMEPAGE="
|
||||
https://github.com/dulwich/dulwich/
|
||||
https://pypi.org/project/dulwich/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
!hppa? ( !ia64? (
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/geventhttpclient[${PYTHON_USEDEP}]
|
||||
) )
|
||||
app-crypt/gpgme[python,${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/fastimport[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
# remove interference from the tests that do stuff like user.name
|
||||
unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE \
|
||||
GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE EMAIL
|
||||
# Do not use make check which rebuilds the extension and uses -Werror,
|
||||
# causing unexpected failures.
|
||||
"${EPYTHON}" -m unittest -v dulwich.tests.test_suite \
|
||||
|| die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
dodoc -r examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST flexmock-0.11.1.tar.gz 48331 BLAKE2B b4a670530050098706133d531f162516163e8bed5fe867277d8d729c3afbd21747d53f17e8cd0f2f087550137c864aa8ac912cb404103426e3fdb17e98d79645 SHA512 6b5ce669e29dc24313e94b0c0c24d75e25c99343c33d787987c6707532598fb0d28df751148a4f7183d4bbdb54822c07d88ded394358545fe8d822564e1408e6
|
||||
DIST flexmock-0.11.2.tar.gz 51330 BLAKE2B 3ebeea60c19a9234a362117009610802f10c68c55885ae9dd72c16b19af19fdfbf18634bbc56a80efb0c985f0c339bab234304088dc482b0ccf937c1d7c2fd0f SHA512 208876131155dd0febc9e6aad7a6e98082fccf52573758ac9280f9f767d81ece7af425c901a4a094b3eb56bd711219a55dcfc0d7747f9060b3ad6630c37e6618
|
||||
EBUILD flexmock-0.11.1.ebuild 539 BLAKE2B 9cad4c94838d0e0f77072f9d89f879f6820235df21627fe7a2b3b2590d3fce4e36737ab574754fcdaeab42e5b79f60d6f085e7ccc40b7540dd6adedea31c40bb SHA512 aa708a3248d53a9765e23bb54ee0e9787764f7a6a63925b52d8fea444630697461fd8f3568c7bca9ba3ef0545f8fc6b6e36a9cd3fca410549c8cd85879bb4c19
|
||||
EBUILD flexmock-0.11.2.ebuild 643 BLAKE2B 92939349c6736eb57f30d41710d31ec12d53deeeb3de16ffa1385a356a9f533ca62df46730c2b3600a25a9db66263a8cc375cfaf30796cffd20f1b18f00034c6 SHA512 1cd2b9dca7731d9f52fa3371cd8c4060fe1bf799f19f80fcf9a255b55ec1bce2a89efc090809257d93e29dc6f184e9e5521cf268e618941ce93ced173b95b01b
|
||||
MISC metadata.xml 397 BLAKE2B d876f426fea0e14ea3518dcf7cf685ec697bfaa09c83b93ad7bf4ecf97dff87cf1ef491e91d759625ee9c8d7f64c4be8419024ad087acac4779a69c283dfde12 SHA512 f8694424c9fe17611fd882f205df6dbe6085b8214a4f1c26e4d5c216e3e018971f85e643a473efd330d61a7759ab9464f9a7fe6e04e2c0d7e02b1e3ce37aab19
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Testing library to create mocks, stubs and fakes"
|
||||
HOMEPAGE="https://flexmock.readthedocs.io/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
tests/test_teamcity.py
|
||||
tests/test_testtools.py
|
||||
tests/test_unittest.py
|
||||
)
|
||||
epytest -p no:flaky
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
dodoc -r docs
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN}2"
|
||||
MY_P="${MY_PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
|
||||
HOMEPAGE="https://github.com/aleaxit/gmpy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/mpc-1.0.2:=
|
||||
>=dev-libs/mpfr-3.1.2:=
|
||||
dev-libs/gmp:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# The tests program asks for input when running, disable that
|
||||
"${FILESDIR}"/gmpy-2.1.0_beta5-test-input.patch
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
cd test || die
|
||||
"${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST google-api-python-client-2.33.0.tar.gz 28292803 BLAKE2B b7e285a78d06aa9c0cb5609521443aa048220bb4b83e900b5915603c3cc1bd2eb6ff009c43503a8178f4ca2281fed0488bae9fbe0c29bf7a9df9ac2d4cf294e4 SHA512 47c8352440a2ffd3beca049a200c4a0cb1a2299b5fbce70b64a913f6121e731325831b229102d9940b386e082592efd49fdfc9409055b32f172551862740bd63
|
||||
DIST google-api-python-client-2.34.0.tar.gz 28469433 BLAKE2B aa2c8849b629fe489cf39cddd410a40a0af0bddfa5f370a4a41c1446aeadf69cd4592eeb1d76e6c63da9737906801aea9c8a4d706328b63a7bf5b34a43b83e00 SHA512 321dfdd3ba821beabc6c3a96575afd06c75a0c8e3db61b1ff5fa9db472e62de81b037c435a1051d6294c2a37e471bcaa068cd27ad7434a3416231d31931dd74e
|
||||
EBUILD google-api-python-client-2.33.0.ebuild 1377 BLAKE2B be3e2d39923cc9be436e5b0f60e55f58789b1b1f1b64095ecce75037fa823b288016e74e2c3f6eef4370fdd5037e6d7f7aed9ccea86119b4e2497843a83283c3 SHA512 d3dc2686aa60ffef541f4dfb2cb1707403cc180e845d6d7ea3d27de4c1cefc19baa9a64eb6ca21741d69e9626bd8295df395d21ffca5216221534a7ef16404c8
|
||||
EBUILD google-api-python-client-2.34.0.ebuild 1379 BLAKE2B 642429bd1cae61fd100116b60e2e44acae4bd61f2b905deeaf397539b267974778d533e56a8b65a14bf8e4ade6778508591e4928ec711861c20ac59e75bba9ec SHA512 a7b60dc3f434c0c42322279ac14d691f40697c47828758ffd2860a1ad6b50cc57969a75ad5f605b08adf7fd4f34f335e779bad38d06f77aa05d347a4050a91af
|
||||
MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google API Client for Python"
|
||||
HOMEPAGE="https://github.com/googleapis/google-api-python-client"
|
||||
SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
|
||||
<dev-python/httplib2-1[${PYTHON_USEDEP}]
|
||||
dev-python/google-api-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# require Internet access (and credentials)
|
||||
tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
|
||||
tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
|
||||
)
|
||||
|
||||
distutils_install_for_testing
|
||||
epytest tests
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST httpx-0.19.0.tar.gz 1667455 BLAKE2B b8d4cb0b6e7f643b62b507930ccf1534d73d93261cab9281ef57d6392f00da325e897d5339aebacfa07aeae8278d3a81b78d6501a1587ffeaef68cc5087bfdaa SHA512 3b327f07d62cf0430672d4f1a4f884618e588496f049522de327f5c34f7260eb21739b7f1fbd6f43a21962bc8737547f3eddbc22751546647f56c9cd7212840a
|
||||
DIST httpx-0.21.1.tar.gz 2155133 BLAKE2B c3c800657abaed461ab6f44e3cd9799be4b6499070a5db2ee8d5d61c776d86591c74192eb1c88d4072dc361ea4c9448a3ed061c715fa4504fc931fdd96ccde62 SHA512 a4f737f6c6ae909fd3ea811e0ff3b78ed6496da8d797ef49746f744216e055f8225d613fe935d5e2780aa1b233053ad436e8849eef578e662ca8ee34513ad12e
|
||||
DIST httpx-0.21.3.tar.gz 2157078 BLAKE2B 08a9328a7350534abe646f0bf60bd15600a1cb3eb8d06578c87ed9a7d4e55efdddd2be597650cddec9f6456e89a1b159f3e23aa657f379f78157c12670cdadb0 SHA512 0a551de52954db5ed2c33d1b5c172607516031a7c86c0f235bd04f12f4cf82f63980a9f53115dac801748b0c282890b3ed4a53b2c912adbd245c10ad61dbf67e
|
||||
EBUILD httpx-0.19.0.ebuild 1862 BLAKE2B da0efba0380fef0876d7b5bd389372f5ffe15487384447ef47982f0c58ec1475f48e0d5a4150aeaab7a92a3848a892b208dd38bf2725a27d5dd41e3d6c60e385 SHA512 f4a670603c4e6dbd0795580b2b6645e2f701c52a3eb776fbb31abdb1fafec49388888468b36fcee2f46b053dfddbbec2ba3bde36582b8c112116383439564f14
|
||||
EBUILD httpx-0.21.1.ebuild 2021 BLAKE2B 97f01bb5a571fdb8f6af0f9c8f2980862c95860a46682600f683d2da35e33f9a0278606cdd61c84bd97de09b9339711f0c51064e3a076bc3570d0a0f7aa1aba5 SHA512 d4fa31fd69abbf41c4cbb2eb2e7eba4c4d9d941335d30cc4850a47f7c2950a5e957783f147691d9784a2b1335b19b9447c411b0e4b019e4344938f6ef5469d9c
|
||||
EBUILD httpx-0.21.3.ebuild 2021 BLAKE2B 872c7de3d09855bdc2c2294e25858664c2e3d16a0d06d6f7c40284f4abce0877ae6b42ba84ce43b1f28c1734b9816763bc6d23d93cf3a35916854ea0be4da9ac SHA512 7ced5b855a9ee84d8c55514fdbc97584e3e004077b62187d328fed1a72123f401420aebc7289a2993bfe3152c7ccb45c317e434613e6bc51bb6d4ead776a700d
|
||||
MISC metadata.xml 518 BLAKE2B 063b5b95529cd5a31aac83998c0acbdfef208c34e931c96ae8ee767a326301a597a8297514b5c97bef2b3b706b8938d38c0e5f5d752307a9dd06984792c799a2 SHA512 3a29dffa0f951255a67468b28917590d4108ca12e14af03bfddef80f6d48e266fcccdd991e778ab9e267c0bc76ff0017e07905c1f2f45dc440a9af89f6cae6aa
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Docs builder mkdocs not keyworded on all these arches yet
|
||||
# DOCS_BUILDER="mkdocs"
|
||||
# DOCS_DEPEND="dev-python/mkdocs-material"
|
||||
# DOCS_AUTODOC=1
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 # docs
|
||||
|
||||
DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs"
|
||||
HOMEPAGE="https://www.python-httpx.org/"
|
||||
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/charset_normalizer[${PYTHON_USEDEP}]
|
||||
dev-python/sniffio[${PYTHON_USEDEP}]
|
||||
=dev-python/httpcore-0.14*[${PYTHON_USEDEP}]
|
||||
>=dev-python/rfc3986-1.3[${PYTHON_USEDEP}]
|
||||
<dev-python/rfc3986-2[${PYTHON_USEDEP}]
|
||||
cli? (
|
||||
=dev-python/click-8*[${PYTHON_USEDEP}]
|
||||
=dev-python/pygments-2*[${PYTHON_USEDEP}]
|
||||
=dev-python/rich-10*[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/brotlicffi[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/h2[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-trio[${PYTHON_USEDEP}]
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
dev-python/uvicorn[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
if ! use cli; then
|
||||
sed -i -e '/console_scripts/d' setup.py || die
|
||||
fi
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# Internet
|
||||
tests/client/test_proxies.py::test_async_proxy_close
|
||||
tests/client/test_proxies.py::test_sync_proxy_close
|
||||
|
||||
# Result change in charset-normalizer-2.0.7+
|
||||
'tests/test_decoders.py::test_text_decoder[data3-iso-8859-1]'
|
||||
'tests/models/test_responses.py::test_response_no_charset_with_iso_8859_1_content'
|
||||
)
|
||||
local EPYTEST_IGNORE=()
|
||||
|
||||
use cli || EPYTEST_IGNORE+=(
|
||||
tests/test_main.py
|
||||
)
|
||||
|
||||
epytest
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="IPython Kernel for Jupyter"
|
||||
HOMEPAGE="https://github.com/ipython/ipykernel"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/importlib_metadata-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/argcomplete-1.12.3[${PYTHON_USEDEP}]
|
||||
' python3_8 pypy3)
|
||||
>=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/debugpy-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/traitlets-6.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jupyter_client-8.0[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.2[${PYTHON_USEDEP}]
|
||||
<www-servers/tornado-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-inline-0.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/matplotlib-inline-0.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/nest_asyncio[${PYTHON_USEDEP}]
|
||||
"
|
||||
# RDEPEND seems specifically needed in BDEPEND, at least jupyter
|
||||
# bug #816486
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
|
||||
dev-python/ipyparallel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.5.0-drop-pytest-cov.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
# Use python3 in kernel.json configuration, bug #784764
|
||||
sed -i -e '/python3.[0-9]\+/s//python3/' \
|
||||
"${ED}"/usr/share/jupyter/kernels/python3/kernel.json || die
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX 2.1.0-substitute-files.patch 1017 BLAKE2B 70577eb950a18345804a2a4b750bd233dc6a0b6bbdb524dfc66e0f4a7c69b0eeb2d35efb9d1845d567a11d1afa7881068b4757e42b9baf24dc01ba3026608a38 SHA512 fc4c9e12267ac5f04a2e16ad27334a093638538b8149ff380099fcbeb674a276ab9eb624a508010e37f82c05d5f7ab527a80e386b3e7b61c123ecb8effd9d542
|
||||
DIST ipython-7.29.0.tar.gz 5151803 BLAKE2B 685bb7df39513fe262c07dbb10de4d795860bf2958c626d030bfa3e18052a98d7c9d5f0f96c0c9a5d4b9fdcfab09c492457d409f05ce522f607456ff3a4b35fd SHA512 b8e9cc07a0f77bbfaa88183546ed9d7e4a4c37e7c1704b1a3716d605a04339f986c7767f3c0920a94039eda99e75afb62a7bb43fa0cde6699a902f3b8f83a398
|
||||
DIST ipython-7.30.1.tar.gz 5154336 BLAKE2B 0753433eea2ee6a5a6451db6aa537c9c9469c749b970ecdd040123787064e7be78363060a785c7ea4175b8e0f4f2bfefa15485f6f5412ec34690fe505a1cfb97 SHA512 839f709e019dd5efe32730f2e4c457e6dae0db5490844805d30f12a1fd17bfb2f991f1374a84542b2392d3ce332096d3922471c6b14149331075be8719b14734
|
||||
DIST ipython-7.31.0.tar.gz 5154974 BLAKE2B 5debac9a1011cc6541a2ce97df5d8793465ce4c289d1293c33c29eacc23cbd2271f0a8d7362c3445a88d080edefd85046aebc8782cd930c3dd8b6837ec682bf6 SHA512 705122ca63df17812ab360da06d58431b51d3a1f3bba47df7131e882de64de54c6986e7ba3d55f4b77c4b1049981b0100ba64825e952b25712c843ef7e975e2f
|
||||
EBUILD ipython-7.29.0.ebuild 4469 BLAKE2B 953d54ebb8837bdc34c55a1cf15e0f7bca2b367608e6082523e7a7dafa9df86025ccf127de6b9dcdad767108f992f14cdc662416ad8d5beddfb1ec9216a24921 SHA512 952c6093b489d5b7e95f842630fe4dbbf05ecc5acc2750953a9cddd9184032468f72b6c44f86621b13227b41896f021625f1bbe55cd608b03851458817ad9dd6
|
||||
EBUILD ipython-7.30.1.ebuild 4469 BLAKE2B a4fe701945791cc17bc043316eea80a3c350f56c8f621e1eda6d05182c6d1a656c2ac874826777690ede2f36483b98c3632c88c64501bc76fd0ecf63b109e9d7 SHA512 2b157b63f61fbaed1a2dd5dc6c76f3d27a8303a738cac99ed7b27b9829dfaf1929e7690b41e8b84c24cf0af268aebf80e45709f3a1f15d69ad82ac1999501fb9
|
||||
EBUILD ipython-7.31.0.ebuild 4477 BLAKE2B 6c74574a989cc388ca07628230ad56d8a75cf0cd304a1d11f9313df5b7316ee9a37a7c6050c696a6499a4484f80df14eabea78e241d989c604ba0bfb66021989 SHA512 145c220398ff972009aedb123db8d8c276d44adb4bf984cdb6183baafcb854b1cd68a39a0710775af62ca72238323c458a2c80e0ee67cfd9920122b6a95aa9ac
|
||||
MISC metadata.xml 2883 BLAKE2B f61d1c66cdc9a956f3fdc9fcbc93fbc2051e9d0872beb9229e87a8fdabbce656efee9702e66bf30bec68009702f42e4036202e02208a428a8ed87b448f625536 SHA512 617f19e859544079d2680e9796e3ff0b7af41577776847d4c4dccfffc460dfc887631169289e5271120f375bea7c7836395abb9bf8a7628b3b55a7c1beefda9b
|
||||
|
@ -0,0 +1,153 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE='readline,sqlite,threads(+)'
|
||||
|
||||
inherit distutils-r1 optfeature virtualx
|
||||
|
||||
DESCRIPTION="Advanced interactive shell for Python"
|
||||
HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/backcall[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
>=dev-python/jedi-0.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
|
||||
dev-python/pickleshare[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
|
||||
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/traitlets[${PYTHON_USEDEP}]
|
||||
matplotlib? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-text/dvipng[truetype]
|
||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.17[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/testpath[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-2[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
RDEPEND+="
|
||||
nbconvert? (
|
||||
dev-python/nbconvert[${PYTHON_USEDEP}]
|
||||
)"
|
||||
PDEPEND="
|
||||
notebook? (
|
||||
dev-python/notebook[${PYTHON_USEDEP}]
|
||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
||||
dev-python/widgetsnbextension[${PYTHON_USEDEP}]
|
||||
)
|
||||
qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
|
||||
smp? (
|
||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove out of date insource files
|
||||
rm IPython/extensions/cythonmagic.py || die
|
||||
rm IPython/extensions/rmagic.py || die
|
||||
|
||||
# Prevent un-needed download during build
|
||||
if use doc; then
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||
fi
|
||||
|
||||
# Rename the test directory to reduce sys.path pollution
|
||||
# https://github.com/ipython/ipython/issues/12892
|
||||
mv IPython/extensions/{,ipython_}tests || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html_noapi
|
||||
HTML_DOCS=( docs/build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
|
||||
local EPYTEST_DESELECT=()
|
||||
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
|
||||
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
|
||||
IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source
|
||||
# fails due to changed argparse output
|
||||
IPython/core/tests/test_magic_arguments.py::test_magic_arguments
|
||||
# py3.10 API incompat, doesn't look important
|
||||
IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type
|
||||
)
|
||||
virtx epytest
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# Create ipythonX.Y symlinks.
|
||||
# TODO:
|
||||
# 1. do we want them for pypy? No. pypy has no numpy
|
||||
# 2. handle it in the eclass instead (use _python_ln_rel).
|
||||
# With pypy not an option the dosym becomes unconditional
|
||||
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
||||
/usr/bin/ipython${EPYTHON#python}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "sympyprinting" dev-python/sympy
|
||||
optfeature "cythonmagic" dev-python/cython
|
||||
optfeature "%lprun magic command" dev-python/line_profiler
|
||||
optfeature "%mprun magic command" dev-python/memory_profiler
|
||||
|
||||
if use nbconvert; then
|
||||
if ! has_version app-text/pandoc ; then
|
||||
einfo "Node.js will be used to convert notebooks to other formats"
|
||||
einfo "like HTML. Support for that is still experimental. If you"
|
||||
einfo "encounter any problems, please use app-text/pandoc instead."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST jaraco.collections-3.4.0.tar.gz 14887 BLAKE2B 2c1e87b18dc3ca68fb5b849b30cc0284b8a8daed9b6b2b075a753f7ccf91feb487734a38bb7fc88d29020b0b1980346109551a8bba5d0b3a7f4a491c0dcb1615 SHA512 8e427f98dbcfad3f9042d1f080b2bf8012fdaaf084e230f9b46ff078623b047c2d9dab41ed0303df5dd070abce2a25289281113a97e8ab8d819048d30b8d314a
|
||||
DIST jaraco.collections-3.5.0.tar.gz 15001 BLAKE2B 3ddc63fdc8d9c9cf9f25aee0cfa1c6d10c93b337bb77f7f33527986f58bb80ae35fbcc1dcb21aadebb3303a3ee20122134fe27f95ecd4b17c64b6f5ea6e94ae2 SHA512 cf0646b388beefe1aed26c96ae725b2934b7bd9df63e57c51c9c84ad6c758c135e6bb3487e0a6a68fba149234c54f2b0eacd4b260c945f8ffed632bdcb03d88f
|
||||
DIST jaraco.collections-3.5.1.tar.gz 15053 BLAKE2B afba813636464b6776f244eab31a0cd86418410f313e171cff1c8ac64e5d902f4a6c2f88d87c61d55292baa338aee45866d3a459c5b5b73fd4e751278b869316 SHA512 2918be537296ca81e5f78a3966a47451dc9dc2d233d997c3f01461c489b44051c497dab55496f85883ac1b91a28850a9d77ff154a3f5e074da1ed07f3259c246
|
||||
EBUILD jaraco-collections-3.4.0.ebuild 789 BLAKE2B c7833c57621d2c522a6fff4a80a214720a055073a51eee68604000beb38ef1ba8e40eb744d5b57c65edb19e1e83d119e4f4629006889b39e26123f4b7b2e6bc8 SHA512 f5ee37a6a33ad54eaad6496733e3fcceb377af67b1b557ac8463cd45487df54f166ea61cd0279321125e2725c46a977bc554726a8df088b2ad4b75f64e1e549e
|
||||
EBUILD jaraco-collections-3.5.0.ebuild 797 BLAKE2B 86b83939e206562ce0e8a2a724810cf314d16e80e731b7d473e33cbc0b417ada773e486897701a06d07d7008ffffccec835da231ea21c7629134e12635f7f705 SHA512 6becd7811e7f03a8106f62e140fdd77aa92f3074196a9bac7ed351ceaf7c2cccc3e88ee3b44acc745ce35acc31ea27f63e1e18bf8a42ac998c232e1f301697c0
|
||||
EBUILD jaraco-collections-3.5.1.ebuild 797 BLAKE2B 86b83939e206562ce0e8a2a724810cf314d16e80e731b7d473e33cbc0b417ada773e486897701a06d07d7008ffffccec835da231ea21c7629134e12635f7f705 SHA512 6becd7811e7f03a8106f62e140fdd77aa92f3074196a9bac7ed351ceaf7c2cccc3e88ee3b44acc745ce35acc31ea27f63e1e18bf8a42ac998c232e1f301697c0
|
||||
MISC metadata.xml 684 BLAKE2B 2da0cbb4ee979b83d045c4c402ff420db27d1a4176c7009bf56027b9b3a7df9395e67f881dce945849870955998e65dcd13c4e77926a8e2e7d1084b475a71ddc SHA512 30743b4d3616dc141a9ce814262304d21ac20475fa70414679dd5f028dcf83021c4cf9b39b3817957f5feb623076f94df1e7a951b0ab6cf57cf635b7eaf3ef8e
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
DESCRIPTION="Models and classes to supplement the stdlib collections module"
|
||||
HOMEPAGE="https://github.com/jaraco/jaraco.collections"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jaraco-classes[${PYTHON_USEDEP}]
|
||||
dev-python/jaraco-text[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
'>=dev-python/jaraco-packaging-3.2' \
|
||||
'>=dev-python/rst-linker-1.9'
|
||||
distutils_enable_tests pytest
|
@ -1,3 +1,3 @@
|
||||
DIST olefile-0.46.tar.gz 97587 BLAKE2B e6dbadda6f18ec287f5b1b59ab4b92ceee25b4ca47499ed31a03992ae4e3a7269ba0c641f631c4beafdfe43eccab4881d06f7ba372ec47b376b5eb3ed788f45d SHA512 e70975cdda11004ab331908085e0cbd9cf3e44f49fa1453a7af5373bfed0a98729bb7600fee7a1042be6c40c58649f3650972d9e4520bbab218cf715f6264f98
|
||||
EBUILD olefile-0.46-r1.ebuild 592 BLAKE2B faa7909db88ff9e4e415c61ae3fb4fbd5a354b61fd4a94ecaedc80f30764c412447066d1bcfcccf7c012cbd9e7e13f07a726920e46f496be6dadfc19e29335cb SHA512 73f92df9ae312e35fb75747bc7a44557833b16eef441c851d4127bcbcc57af15a0ef83aca16c010e20463266b55b1b12bb2780b701d06f3495cb47a2b735f31c
|
||||
EBUILD olefile-0.46-r1.ebuild 598 BLAKE2B a4858917fb9c4535f5bd4f500531baa8df69ad1ba15aef8ebc9d7ce56fd4fff3246f1b2337aa7b6816cdc971df1556b7bf9342e866129dc203d53a4038a114e9 SHA512 753393229fd9dc9fcf43d32fd83ea851a88c191d2c91d18e2ab9dc075fa853c0cbc73cfffdc0e6e681ef945b4d5bfec181b075ee68045164679532f20e642d48
|
||||
MISC metadata.xml 405 BLAKE2B 0624bf86d3688ac305571048b0dd8229d8789c7c28cd8d3e5536a7e653390400a2aa7615da7b2b32dc54eb11762d9c72db9d3b5cd19518fb52c4ec479a42f15d SHA512 2dfba1b0cb3bd235952c0ecad910354a1589243f66a2d04ff93a9975aa3395e50cea3230947e8db884442951a8871c1457c1a9b99e8657a04432185b3e9acaaa
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST pillow-8.4.0.tar.gz 49364586 BLAKE2B f6a0fbafc0869c952bf88ad96146f27cf70c5680f372763bc9989cc49515bc74886a9d7648114797880ca06defc79e2e50d7ecf36bfa7adbd969450615ac0bd1 SHA512 d395f69ccb37c52a3b6f45836700ffbc3173afae31848cc61d7b47db88ca1594541023beb9a14fd9067aca664e182c7d6e3300ab3e3095c31afe8dcbc6e08233
|
||||
DIST pillow-9.0.0.tar.gz 49510604 BLAKE2B c3b0d07e8fe280e3a253067c4da18ac2dee40d216280632d58ddaa7848e13a165587b9aca61c98f8b5380e53d6d59a4097320bacf6e016e236239af518ec7780 SHA512 d2fd74dd1b8824d994e3767ef9794175dd2f4adc8173612432a3e171705723ee8757d299a87fb1c010b40919792c1ca76578f41977ee3303ccb6f75165deb791
|
||||
EBUILD pillow-8.4.0.ebuild 2630 BLAKE2B 35acb4e2123562d6060a3987ace19eef820440419d6a12e12b45d49b43c97db02874b18161e40eb5fc528142b06564d90ff02c40efc4eaaba18d939bc0684ede SHA512 c92d71605566aed06473690ccfc80b4c7fea02b877e1a8cf287f35b6a263cb5ca28577cddc2a07d8487219a9573e0359eb7f6cd8cf47bedbc303775184f6c8bb
|
||||
EBUILD pillow-9.0.0.ebuild 2642 BLAKE2B b1775157b3cc8fd72f93e53c8cebed5b739070901407213fdf098ab207096eb51d24a1e5c1f7915168f2434775ce342da180f8c614dc6fe54063737c0f43fba4 SHA512 62d5ad8d8fa23f2ad5239cd076b313445d9687f16bc5e0613ec94d42ea70107c2a6498394eb9f0de23b9c3560e24806fefeeceb0f1f293119502dc22ad4d19ce
|
||||
EBUILD pillow-9.0.0.ebuild 2648 BLAKE2B 8d421470d09feb1602f69f6a0a419b6709187bc9ca5b24dd958020b6332051d387dc6e10e89b145f39d372adfa77d7d4df495bfcd5c7824ec41476fc807e4abf SHA512 55090f6ce934803074d35630752a64639023c971905d66cf463ad3ce260f63869414a858762f9392d91280b5989763397b485e347eda87ee2b01b86e51dc8942
|
||||
MISC metadata.xml 480 BLAKE2B b42e6b01b1572a0688ef93025a0baaa95b9fd0c3a5eabcddcea7145dd880a95f11859b255ae24a376ca792559ffcf940c67da1b19f2f579dbc6ef6de68903749 SHA512 b98a33136aef4498051370bce3295b000687ddb80b4d909b26b32af61b4e4638d07269f7924ae039420af63236aa74b51e23d2feae1c83349683073c69714582
|
||||
|
@ -1,149 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
# setuptools & wheel .whl files are required for testing,
|
||||
# the exact version is not very important.
|
||||
SETUPTOOLS_WHL="setuptools-57.4.0-py3-none-any.whl"
|
||||
WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl"
|
||||
# upstream still requires virtualenv-16 for testing, we are now fetching
|
||||
# it directly to avoid blockers with virtualenv-20
|
||||
VENV_PV=16.7.11
|
||||
|
||||
DESCRIPTION="Installs python packages -- replacement for easy_install"
|
||||
HOMEPAGE="
|
||||
https://pip.pypa.io/en/stable/
|
||||
https://pypi.org/project/pip/
|
||||
https://github.com/pypa/pip/"
|
||||
SRC_URI="
|
||||
https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? (
|
||||
https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL}
|
||||
https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL}
|
||||
https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
|
||||
-> virtualenv-${VENV_PV}.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos"
|
||||
SLOT="0"
|
||||
IUSE="test vanilla"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
!alpha? ( !hppa? ( !ia64? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
) ) )
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/${PN}-21.3-no-coverage.patch"
|
||||
"${FILESDIR}/${P}-cryptography-tests.patch"
|
||||
)
|
||||
if ! use vanilla; then
|
||||
PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" )
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if use test; then
|
||||
mkdir tests/data/common_wheels/ || die
|
||||
cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \
|
||||
tests/data/common_wheels/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ ${EPYTHON} == pypy* ]]; then
|
||||
ewarn "Skipping tests on ${EPYTHON} since they are very broken"
|
||||
return 0
|
||||
fi
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/functional/test_install.py::test_double_install_fail
|
||||
tests/functional/test_list.py::test_multiple_exclude_and_normalization
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-download]'
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-install]'
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-list]'
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-wheel]'
|
||||
tests/functional/test_install.py::test_install_pip_does_not_modify_pip_when_satisfied
|
||||
# Internet
|
||||
tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg
|
||||
tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject
|
||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
||||
)
|
||||
|
||||
local EPYTEST_IGNORE=(
|
||||
# require tomli-w that needs to be keyworded (added in -r1)
|
||||
tests/functional/test_pep517.py
|
||||
tests/functional/test_pep660.py
|
||||
)
|
||||
|
||||
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
||||
tests/lib/test_lib.py::test_correct_pip_version
|
||||
# uses vendored packaging that uses deprecated distutils
|
||||
tests/functional/test_warning.py::test_pip_works_with_warnings_as_errors
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/functional/test_install.py::test_install_sends_client_cert
|
||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
||||
)
|
||||
fi
|
||||
|
||||
distutils_install_for_testing
|
||||
pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die
|
||||
distutils_install_for_testing
|
||||
popd >/dev/null || die
|
||||
|
||||
local -x GENTOO_PIP_TESTING=1 \
|
||||
PATH="${TEST_DIR}/scripts:${PATH}" \
|
||||
PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib"
|
||||
epytest -m "not network"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
# Prevent dbus auto-launch
|
||||
# https://bugs.gentoo.org/692178
|
||||
export DBUS_SESSION_BUS_ADDRESS="disabled:"
|
||||
|
||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
COMPLETION="${T}"/completion.tmp
|
||||
|
||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
||||
# This trick sets correct $0 while still calling just installed pip.
|
||||
local pipcmd='import sys; sys.argv[0] = "pip"; from pip._internal.cli.main import main; sys.exit(main())'
|
||||
|
||||
${PYTHON} -c "${pipcmd}" completion --bash > "${COMPLETION}" || die
|
||||
newbashcomp "${COMPLETION}" ${PN}
|
||||
|
||||
${PYTHON} -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "${COMPLETION}" _pip
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST Pygments-2.10.0.tar.gz 4052321 BLAKE2B 003d13344a2c5fe448a23d7bb45a401dc839cac10be262f5831c9547444d395811c92b74d1b18663a11a2e6cedf29b5a74cbd75267157429d61375bd9df6eb49 SHA512 28fdf35e333717795f199e0ef936d6df16ac0752324839ac36cabd2f9f6759a57663527d37f1c2f470258d63c3cf190f6dd4b631b21c849fc76575036fbdae12
|
||||
DIST Pygments-2.11.0.tar.gz 4157814 BLAKE2B de70a1de48083a9a0f281e4eb7f164cb551bd2fa2e7682c26c4513e1ebadf9da4ba6b2ccb50cc16955df484d313dff2b0431d6de2f5590c59c775f9ebd3884db SHA512 761b722cdcbc41bc730843e8120ae3c0d634db9918c1c1870d89b79002b55f245c896ed9301c44b665e573a8584d5f8504623fe9d4c63820b57a2cfcae576b33
|
||||
DIST Pygments-2.11.1.tar.gz 4206490 BLAKE2B 116efe4eb71b276eb860a1de04191b8cb01abc0c879a764715d6d6290a523360c7b195e81a6f32516ad5830410534f2ad01498393c36959ce934e1ccf1520fb9 SHA512 77bc1c7fa10ce945591f6d0546f0e9da8d65df58954348fe3b5a4dd8628c9697bd500e74eec3e2a095c5cb3378b8dee1cb0396cd52d7c36c0f2ca719a6d023b9
|
||||
DIST Pygments-2.11.2.tar.gz 4206258 BLAKE2B d9b7ac03ab564051df8eebf390586387d824584f5485eb6af2048cec181412fe2812409251c9c042421125a2579d9ac6de4006c1c0de025ed7b010482482b9f9 SHA512 606ff0c35fa47882f4c5c3794827132e1ee6ccbb4895ae858f9c93ea0c92b73163c9f4d630b51a8bb782ba0b4944a66d1059ad5d017d3191a0a5b30c1e5b8f9f
|
||||
EBUILD pygments-2.10.0.ebuild 911 BLAKE2B fb910522498e3303072b67f2a4a70fb6e1644b76cd737a4897ad8c3a766807d718e25a57c981abd922a0d57fe3ef64def519dd4d64f52ec16cad0b83474334cf SHA512 fd273c2cfa43daec4adc42a8cf04f20bf08efcbfc7fe15a1eaa83f22c5d2e0155677d4f155092aba35683123b3c1d45ac631a2f24f094b5c7e4aa743c58d5265
|
||||
EBUILD pygments-2.11.0.ebuild 926 BLAKE2B 541ccd3809727ff287283d2d048ffe77bfc1042c2b1d76871b3da6fe8bd957f5e6df5ab6df900752821536237c6cf56b4d9f2838cc5fb88e070f959af2506112 SHA512 6320b2d9822b0df84d5d2d7d56e61a1abbbeeafabfa07351ab3f6c2a289b667d475ab0d674031af169e4f6d87d426dc48534d2fa85870f8bdb39f658d27ca5f2
|
||||
EBUILD pygments-2.11.1.ebuild 939 BLAKE2B b95f0d718a732c39f3a3a26612b7a042a23ac0bdf519dca2c1d4840b4ba0803d26a8de5d9e6628def55047caff063200f1d2c61f0213b4edbff437b5e9c23ce1 SHA512 240c0d700e351bf007191244ff7ff5c7ca06bf83f23f3b181fca87a1967e2f48c304068aac0d92cc8112f69ae65ac6501f456485802893a6eaf1d92feea1f9d1
|
||||
EBUILD pygments-2.11.2.ebuild 951 BLAKE2B 4b716b6ffbfc6f066e80a7cb50ed2d9ac8131bc298bcb50e46b2b91499c4675d3b3825ad3959ea0dbb8645239f47596fedc067dd92fe96e7ade0735c5f1b37c4 SHA512 dd9ceb1f3ca588020ca380fa8cfca081358e9945b307cb031ecff827f0c5870abf7c859277e87277b303883dcd5d597985650cfd2b9b88fade3151e5f5c77a10
|
||||
MISC metadata.xml 557 BLAKE2B 59b5fbb74f5d0b8f65127b36871561853ec6afde94f0a31986067c1f6f24aa18e648c38752ae7bcaebe0ef43fc457ef32d017e463006f1c2c9e92932675e03ca SHA512 0810f5412085ff458230b3137845bebf5841a1bab0f729f2bc5152ee44b570e855323cefbc24eee54c5febb1ea2c90a5a4357106a15c8fa250d77eaa057c01fe
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1 bash-completion-r1
|
||||
|
||||
MY_P=${P^}
|
||||
DESCRIPTION="Pygments is a syntax highlighting package written in Python"
|
||||
HOMEPAGE="
|
||||
https://pygments.org/
|
||||
https://github.com/pygments/pygments/
|
||||
https://pypi.org/project/Pygments/"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}]
|
||||
virtual/ttf-fonts
|
||||
)"
|
||||
|
||||
distutils_enable_sphinx doc \
|
||||
dev-python/wcag-contrast-ratio
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
newbashcomp external/pygments.bashcomp pygmentize
|
||||
}
|
@ -1,15 +1,3 @@
|
||||
DIST mongo-python-driver-3.11.4.tar.gz 983009 BLAKE2B b2ca8d90a34b41c0991b545626853137b6a7f5f006dbb5d7a93fd8312759b53b99415583ca5ba982abb420db8502cb9de745f1ac0962efa05eb05ecb4289c323 SHA512 ecd2ff41ab902423dc58901cd9a8355e200f5b00a4eea4a8e950de75674fd59f7367df1ab7ee6c09bf515b8fa110cac0f7de084fbe14527486a9c38a0c8c9c27
|
||||
DIST mongo-python-driver-3.12.0.tar.gz 1062091 BLAKE2B 636a34a42d43a6ecd549c51e9e5b3a617291b64a1ba91d7473c365f8df88d59efd7b2906dd80147ffab4309d38cce30a3475bbe142e347312823236f8657c801 SHA512 fc2734b8821b42cca1b67930d5c7612526e51292144a376425627ea6254b09128ccd894af3be293184f940c7f8faa1c0cd3a0d069f9b4143a15cb32279c3bdb1
|
||||
DIST mongo-python-driver-3.12.1.tar.gz 1067667 BLAKE2B 3f18c5aa92ce180067f9c86e1fcbd80543274a2ee33ce1fad5741f0e7f5a9cb0520c33b8fe885ea69c2c8ce168747a44129fe79a5df389b83bd5e77a6ec4a687 SHA512 1fc98c33d8140ab045804130fc27b655a8622318f7030967d841e7a296dcdfb89a125cb2574a9b08eef15d3fdc089f268631501743b46d04a7b465cc45c0c04e
|
||||
DIST mongo-python-driver-3.12.2.tar.gz 1069372 BLAKE2B 962dc2ee42f01586d9e8fb07d3ba7a74f4379af268b6213c1a5b67b901c805719b9c164fc3d270dd77b3c627f998b291330eeb02968246f2a68e5925bcb608fc SHA512 0e6ac0eafb8fb71db22e7ce27e6acc5c17ea80ac8c0100c358302582da68e03d7bd33eed320f5c8c43b067c3f1e75b4ed4f8c63c4c9705bf9a1c764917d973cb
|
||||
DIST mongo-python-driver-3.12.3.tar.gz 1069576 BLAKE2B accb8d1598c3f7d3fb4bec05390521562abf3a067abf82e25b62ebfdb95ed000f6a77edc60f0bcb816b85b1f7fc32c1e4dd54580c203a5d383d30e144a61dfa9 SHA512 21a723985c7846879d3b81ca41060fa6063b187c91c0c7797227f0b7b174880114aec9412d37821cb3d839bf98039b87f03c7c559b9599626705d3f790a8e11c
|
||||
DIST mongo-python-driver-4.0.1.tar.gz 1030722 BLAKE2B b820901a433ffa2e82db0ef3c014aaa1e7d53bbc3ab94a5432fcb713d9789cbbf411a4ad5085ef3896cbf2aeff6d0e79f3f7bd5936d3aa615080a0421d8818c2 SHA512 1aead66d21c032e6d42b3aa408b0193bcac6a5a293ecfc513fadb634c574dccdcd351c693352f23cfe577c73fec901cdc2aa635dfe9afe8d9108ed917f55b53b
|
||||
DIST mongo-python-driver-4.0.tar.gz 1029687 BLAKE2B d8ae35b68bff288388a797c51b40d453c3e2197a0b639689bbb43f7e4470f3c4d5bf861d6ae77805b950e8c8daadcef5043b93c6d6a4b094fcb95521caf4c751 SHA512 b29acfcbd92b8f46780039cd0688cb03c083dfaf1ec6793906029f1e03635edc9a9ef6eb7104fa3dc16eca6df4ccfedd7bd4a8da495f754157edec371211fe15
|
||||
EBUILD pymongo-3.11.4.ebuild 2709 BLAKE2B 9c805d2fdb0427c015d0dca59c4d718c10e3799d8f00745d109566f9e6a6c9f68a0d63137bcd5e1ca756eb889bd5a4d0fd01d8ac182a3bcdee0e96ae3dbbed36 SHA512 4fb36123d4b2c50362386f7ceb545fd756433781c033565ba4881e8570b2c69f2eaf45f2c93da589776b5fce5da40a9489bae1768c569e9c626543db3d96b679
|
||||
EBUILD pymongo-3.12.0.ebuild 2713 BLAKE2B 73c23556f161f9dcf0601026ef3f7d07b308d65e2c4c41aba631d0c6a7e21a11bc8789727f90b205eb0c1adce66ec5c883c740babd1affac4f99205bc9c9d4d4 SHA512 689f54b4e4db3c3d4ffa986d0a941201ad2948d1f9f9fb768706b88f01b979a35222cb75ef7edb84c0593f2222044635817791798cc0ad87a07e892cfc4f23c0
|
||||
EBUILD pymongo-3.12.1.ebuild 2715 BLAKE2B f94b39bf3c4e2bdedd2b20448b020058af9753238710e8e5b7681649477c1694aa3980f04088328baf2fc363e39f5025cc71622b3dd061832b52d5fbc017e31f SHA512 0ece2364102b8be2863f8a959c36368dfaff18332400be7f7c4aa984d7c16fb77f123d0715304fa4f3f94d39a4072f01903c9c2e75e467982b7eb99eb868a967
|
||||
EBUILD pymongo-3.12.2.ebuild 2601 BLAKE2B 17bffdbdb1b764286f90dde0682d7d5f1e1606be2fc96590bb1b9232dd8e4f803d05d59c4c4c707c3ad3ba6eb60f9bc2e93f9b3d78542155091bb8cd22729a06 SHA512 0f0de0adfa60b6cde3bdc618ceaac05fd9b595a859dccf08a6523a3dcc50b3eff6c7d296fe813ea0180d5f282d99de86efd425f68795fe8f5977aa61edb05793
|
||||
EBUILD pymongo-3.12.3.ebuild 2601 BLAKE2B 17bffdbdb1b764286f90dde0682d7d5f1e1606be2fc96590bb1b9232dd8e4f803d05d59c4c4c707c3ad3ba6eb60f9bc2e93f9b3d78542155091bb8cd22729a06 SHA512 0f0de0adfa60b6cde3bdc618ceaac05fd9b595a859dccf08a6523a3dcc50b3eff6c7d296fe813ea0180d5f282d99de86efd425f68795fe8f5977aa61edb05793
|
||||
EBUILD pymongo-4.0.1.ebuild 2757 BLAKE2B 90fe6d42de8365992624e829541dcfbeda794a0730c2f78faa8a7d5b55e15a769ae1c05078828294ce3c5559a24a44253dda9f6fe6742f590bad274ce5fb60e7 SHA512 72cf6aaed3d38fc225210904be1335ecbbb5b5eb2940242bcfb3a7658bdcc9183faf8412042c2a68c68d658fe59e5b2fc683bf8e3cb0b8cfc35686dce027c0e9
|
||||
EBUILD pymongo-4.0.ebuild 2601 BLAKE2B 17bffdbdb1b764286f90dde0682d7d5f1e1606be2fc96590bb1b9232dd8e4f803d05d59c4c4c707c3ad3ba6eb60f9bc2e93f9b3d78542155091bb8cd22729a06 SHA512 0f0de0adfa60b6cde3bdc618ceaac05fd9b595a859dccf08a6523a3dcc50b3eff6c7d296fe813ea0180d5f282d99de86efd425f68795fe8f5977aa61edb05793
|
||||
MISC metadata.xml 673 BLAKE2B fb66f76592841f2647a94e24e07fafa8be2bc31583bac35dc3933a3feeea87f0c4105ab6b480bce5f2b8aeced8c113c8a3ce9714b22ff909f92eccceffa8f9a9 SHA512 9e758aa60153da583ed21bdf6addd001c560894fc6d429217405e7dfbdc673a9e22bc5a41afcc1281f7613ae1059c0824a7bba246006aa66c6eced75ab975e51
|
||||
|
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
MY_P=mongo-python-driver-${PV}
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/"
|
||||
SRC_URI="
|
||||
https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~hppa ~riscv x86"
|
||||
IUSE="doc kerberos"
|
||||
|
||||
RDEPEND="
|
||||
kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/mongodb-2.6.0
|
||||
)
|
||||
"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests nose
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# network-sandbox probably
|
||||
rm test/test_srv_polling.py || die
|
||||
sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \
|
||||
-i test/test_client.py || die
|
||||
# relies on exact exception message
|
||||
sed -e 's:abstract methods:abstract:' \
|
||||
-i test/test_custom_types.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown || die
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}" || die
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
MY_P=mongo-python-driver-${PV}
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/"
|
||||
SRC_URI="
|
||||
https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
|
||||
IUSE="doc kerberos"
|
||||
|
||||
RDEPEND="
|
||||
kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/mongodb-2.6.0
|
||||
)
|
||||
"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests nose
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# network-sandbox probably
|
||||
rm test/test_srv_polling.py || die
|
||||
sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \
|
||||
-i test/test_client.py || die
|
||||
# relies on exact exception message
|
||||
sed -e 's:abstract methods:abstract:' \
|
||||
-i test/test_custom_types.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown || die
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}" || die
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
MY_P=mongo-python-driver-${PV}
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/"
|
||||
SRC_URI="
|
||||
https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~hppa ~riscv x86"
|
||||
IUSE="doc kerberos"
|
||||
|
||||
RDEPEND="
|
||||
kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/mongodb-2.6.0
|
||||
)
|
||||
"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests unittest
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# network-sandbox probably
|
||||
rm test/test_srv_polling.py || die
|
||||
sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \
|
||||
-i test/test_client.py || die
|
||||
# relies on exact exception message
|
||||
sed -e 's:abstract methods:abstract:' \
|
||||
-i test/test_custom_types.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown || die
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}" || die
|
||||
}
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
MY_P=mongo-python-driver-${PV}
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/"
|
||||
SRC_URI="
|
||||
https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
|
||||
IUSE="doc kerberos"
|
||||
|
||||
RDEPEND="
|
||||
kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/mongodb-2.6.0
|
||||
)
|
||||
"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests unittest
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# network-sandbox probably
|
||||
rm test/test_srv_polling.py || die
|
||||
sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \
|
||||
-i test/test_client.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown || die
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}" || die
|
||||
}
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
MY_P=mongo-python-driver-${PV}
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/"
|
||||
SRC_URI="
|
||||
https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
|
||||
IUSE="doc kerberos"
|
||||
|
||||
RDEPEND="
|
||||
kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/mongodb-2.6.0
|
||||
)
|
||||
"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests unittest
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# network-sandbox probably
|
||||
rm test/test_srv_polling.py || die
|
||||
sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \
|
||||
-i test/test_client.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown || die
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}" || die
|
||||
}
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
MY_P=mongo-python-driver-${PV}
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/"
|
||||
SRC_URI="
|
||||
https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
|
||||
IUSE="doc kerberos"
|
||||
|
||||
RDEPEND="
|
||||
kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/mongodb-2.6.0
|
||||
)
|
||||
"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests unittest
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# network-sandbox probably
|
||||
rm test/test_srv_polling.py || die
|
||||
sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \
|
||||
-i test/test_client.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown || die
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}" || die
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST pytest-console-scripts-1.2.0.tar.gz 13976 BLAKE2B 1452ecfdc47d3341d8f3f30d49f371ae89d6138d56e4dc3a230f6a3803c6c36f542df40e2785c99c3cfd5080fa03b5b3d4926bb742dc99bd2127d47305fbf788 SHA512 07c9baab85035265ab6a21cc0c754b076dba87f08e1ab51319ef47a0a8af0b44f7d42422014c68cf93ed28b508138a70e14b968707cc831682885b3ca8106aa7
|
||||
DIST pytest-console-scripts-1.2.2.tar.gz 14314 BLAKE2B 1e4c210fe9fa6a4e9dbe308cf3d6c1a1829f2155185fe3911ee0a299c0292db6bceeeeb7efd5ace9a166c90ae8376d3cdfec8b0c0b585467f157e175709afe6d SHA512 c749b76c8370734f9ab7fe93284f9ac25a38e4bef61181a3b61b3b0d229532f1876e668e5a6e1449dcb939d9cb53527e021f79fd9132f3a28bdf45d95bdcb40e
|
||||
EBUILD pytest-console-scripts-1.2.0.ebuild 735 BLAKE2B 8ac179b58ed92b13dda8e3bc3b0f1173d1732e542d079b731cfd9f60c4c4d6ac35675d3a8142a6a420da00ec78416b56f62a744f20ee04a812cd8d94115460cf SHA512 f94d3a820169b8662aa409fafada9a72748cb11084bfe0ca8d2e55200a8c05dae90acc12dda1788810a0de4113e9adea6d904c3cd464c1c1dece2eafefc288f2
|
||||
EBUILD pytest-console-scripts-1.2.2.ebuild 579 BLAKE2B be0f5006c2a193c1f05d1d3d2d35bd483ab9877d2f0573977afd2df7edac98382589e7f7d7db91489c2f3a5f49077c28811c672b63af59a3b8e4567468351845 SHA512 ebfee08e3fc10bbf7c483ed1c36525ce6d87d6f6684faf196a49c23a8aec66a688ae9b5867f700472bec19eb4eb06d2c743ada629fe1efa9b417f11f80d087a9
|
||||
MISC metadata.xml 433 BLAKE2B 89f8e1d9dac848739320e06de4b6212f72538d6b9ae39d8266fb70f0849c529174ae89afae16e7282fe22f78e8970c3e2043f4d7e7327ea10d2659ef49b649d4 SHA512 58636b71252ea9aacbcf2c4640d4f63bef22710dfed931b3a081de2c92ba89499711df90aed069e71cbb8006d6ce515fb5ee46ec5f2631406cc01dcc92493fcf
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pytest plugin for testing console scripts"
|
||||
HOMEPAGE="https://github.com/kvas-it/pytest-console-scripts"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue