diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-11-21 10:08:58 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-11-21 10:08:58 +0000 |
| commit | 3d5d080afc8f2e41e766b128c476b9fc8736caf2 (patch) | |
| tree | a039a9536c8bba1bf4687bf456a269a15d6a7d41 /dev-python | |
| parent | 13dab569aea831578cf7ef6ff295c39f824e4001 (diff) | |
| download | baldeagleos-repo-3d5d080afc8f2e41e766b128c476b9fc8736caf2.tar.gz baldeagleos-repo-3d5d080afc8f2e41e766b128c476b9fc8736caf2.tar.xz baldeagleos-repo-3d5d080afc8f2e41e766b128c476b9fc8736caf2.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.16.23.ebuild | 56 | ||||
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.19.23.ebuild | 59 | ||||
| -rw-r--r-- | dev-python/flask-mongoengine/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild | 36 |
6 files changed, 154 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 70c37adde874..b77e066f9672 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,4 +3,5 @@ DIST boto3-1.16.16.tar.gz 338959 BLAKE2B e34c14b89ddd402e4ca7037e1fdbb5121ff9eb2 DIST boto3-1.16.20.tar.gz 339432 BLAKE2B fefe33be5baca95880a52856a6d6fb166895951b7eb83500420ef07058d91b465c2acc4ea5eb72a46b4de013fcd9136df2d60398cb75a46f199415ff43e366bb SHA512 7e88a70d7ae9065c3b749510b3bbfc36e2645abedf173cd8be79666895ede34f98c9a33bbe43b05843a4c809a29b4d2d925fd2398ab778f0f096597e98b204bc DIST boto3-1.16.21.tar.gz 339637 BLAKE2B 122025941b38dd94ccea22a5561ccac29f3033320da4e3f332a1200c84215bef1a320dc36ce59733265816d867c409449a32830df4f20fa08f943ca754fb9257 SHA512 b811e153b9c356e9e414e8a82076000d885e29778273d9e839d73e2b35405d23ae8236bb57c657c0f2ee6def48636bf024548cdc0f6e5e642c7b97d97b76307a DIST boto3-1.16.22.tar.gz 339781 BLAKE2B d6703055d57f9d3486218efc3014439a1ca1335d28281793ddcf2c37dd42c1557e85503841e0d7306168d0eb546dbfc16fabeb53a7a00ee32b3b10e74cbfff94 SHA512 dd0df65efea8dc2138b1bfa3a1eb4e40c8e3408f34a36b38cd51346debb01a3e5179b841adbef6cf6fe1535adee9f09d19ff40ae284cfd3c2fabb42a4113f5a6 +DIST boto3-1.16.23.tar.gz 339889 BLAKE2B 0a41c084beba187a89ddf8a743c6dc4f3663aebae035468a76967e4b732abdad496bb2f0a516b5af76affa18f99d4c1a3405d0e152fb41fb1fae22a6728542e6 SHA512 942b0a540cdd6ed744bc1b4285ca8d9e3121193a59717fa247431d232f25cf042625abf82709cecef20611feb68735415be2e3187ebd4e6a1efd7488c0db14ff DIST boto3-1.16.9.tar.gz 337905 BLAKE2B ed01e28fd7e62e5e5028307c93f92004bfbecffa77bc2ba1d6574b92ec2c515d910eb5107ac5ee03e0aca909f97f379aa65b5f839c8067634fa69266c58de33f SHA512 7343b8432788ef981819f91fe2ba27c4ec3947d01ff55914f7c89607250ecf60db2da8d25c8a2c7001ef546a9abed4cb744c5937ca09497aa1a983049648bd5e diff --git a/dev-python/boto3/boto3-1.16.23.ebuild b/dev-python/boto3/boto3-1.16.23.ebuild new file mode 100644 index 000000000000..12584b2fba42 --- /dev/null +++ b/dev-python/boto3/boto3-1.16.23.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +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 ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 5dd8239783c2..7963321d4200 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,4 +3,5 @@ DIST botocore-1.19.16.tar.gz 7009239 BLAKE2B d582538f25c500297ab8a5ce3f054a5ba2f DIST botocore-1.19.20.tar.gz 7055105 BLAKE2B f25a6aff2073d8fa8de0c787b34239ee434c0616b2666b7191c5303e6d76389c883aca9a2b03243caf989f270f981bb69873ddbbf21a6afdd1073d8a6bb959dd SHA512 24c0e6e6a67d03374f86608762030e42cd14f2010763c57ed06d74a6a514a81dd25f9681bec890795ed6ec1f488aafeaeb3175e7264deb72438dde35e6e8398d DIST botocore-1.19.21.tar.gz 7060392 BLAKE2B 2539996a3aed89d9e76143c4e899cc09b278ef5fb23ea3b8cacc4af4a3b5287043f193e40ab07937147db70085aef688c8fe432124a0c0fe89f1ae7e2f003bec SHA512 43a656c29944dc3b0c84f321d251b3d135634ac8cd639a9c13a1f04a0e0e1421bd0c2ed8200f7e032faab6b45d7ea64f03991a90e5db837542501ae9f1843d6e DIST botocore-1.19.22.tar.gz 7073938 BLAKE2B 41ec38e7abdff5e6fd4530dd39522a13d10c7048564002f5c4c99f9c13cf25b3b4a108ca651bee44f1e00d0b8b560e7c364021793a7fd50e3501ef54c153960e SHA512 69efd9f01cb9cb83d4234be6ad46d2f2584bfd274a96c27279c96d717de4ea83e8bb1b92baa29b06aacf21e0af9e40ab216e5ac7ffe004cc4a53bfcf6c32f59e +DIST botocore-1.19.23.tar.gz 7090433 BLAKE2B c5b6801e169b7c0325b33b005be0e4096442d5f9e09e7223d6668cdbd7a68b977284b4e660be5dfbf30ae661202691866dff2b3b1639d7467b3ff21ed6c90702 SHA512 9e984c48109f17126e380b0194e998c65ef02cba83ce3be6b3398a5913a41e23607779c82b90814d8193abdeb3a6cecedb443a6fc5d8d6b7ccb68ed0a0e0bc37 DIST botocore-1.19.9.tar.gz 6972834 BLAKE2B 3407c056c7995cc1ccb1b5b4c5b3a6254e38672b52e7889a7a022520283416e4dfcabd05c8ca0ed78e4624c7a20c9f43bfde87a76d7a72660b4c95256e4f9ca4 SHA512 8433f22ae7652e524a82da8d2ccda48da9eef44788333898b7526335d57a7757b80754f0d5c6a2c84ec3bde2ec9fc7da5cf872cbda7286f620b4f4878fe9a583 diff --git a/dev-python/botocore/botocore-1.19.23.ebuild b/dev-python/botocore/botocore-1.19.23.ebuild new file mode 100644 index 000000000000..ef5dd742ea0c --- /dev/null +++ b/dev-python/botocore/botocore-1.19.23.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +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 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare +} + +python_test() { + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" +} diff --git a/dev-python/flask-mongoengine/Manifest b/dev-python/flask-mongoengine/Manifest index 8219285ce808..5082bdcff310 100644 --- a/dev-python/flask-mongoengine/Manifest +++ b/dev-python/flask-mongoengine/Manifest @@ -1 +1,2 @@ DIST flask-mongoengine-0.9.5.gh.tar.gz 120281 BLAKE2B 454602e7e7f26db731379b01492c6cb1adf01369fd268236407c57753aeb68f17ce62d4c2e665e493d3c7c632e4f263af02b59e6580893afcc7b8659247fb42f SHA512 3588ae25e2f3643f5e240990f424b4f3754cea2f880b7b454c98afb3ea98fd81b783d74a45cf685fe59cfa8159b1ac39e840071f364ce98fb1a25cc9a09e0d5f +DIST flask-mongoengine-1.0.0.gh.tar.gz 123516 BLAKE2B 5dd6cf1d774973ef1883d824bdf467b53306773eff5f7016f6440a7ec55648012755a1270b8fca0974aff00dfb189c0f3f7d6985a01c098729517c0018513c8b SHA512 bd95a8248a972a41c92dc2711f866420aabba56062322801e473e0b347c95ad47da39439992ba6cf23a0981c422ae84756af3af95d1171acd6b321f9cbc63085 diff --git a/dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild b/dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild new file mode 100644 index 000000000000..7844724d6a91 --- /dev/null +++ b/dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="Flask support for MongoDB and with WTF model forms" +HOMEPAGE="https://pypi.org/project/flask-mongoengine/" +SRC_URI=" + https://github.com/MongoEngine/flask-mongoengine/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# TODO: make it spawn a local mongodb instance +RESTRICT="test" + +RDEPEND=">=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/mongoengine-0.20[${PYTHON_USEDEP}] + >=dev-python/flask-wtf-0.14.3[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e '/addopts/d' setup.cfg || die + + # fails with mongomock installed + sed -e 's:test_connection__should_parse_mongo_mock_uri:_&:' \ + -i tests/test_connection.py || die + + distutils-r1_python_prepare_all +} |
