diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-08 21:02:44 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-08 21:02:44 +0000 |
| commit | 74c67f9712ee7788fff47da4dda907e2177e342d (patch) | |
| tree | a9fe9eab3bd15c3d2116d26823e20f95198e906e /dev-python | |
| parent | 34aeb165ca85689e2a7cef6a8abdb3e67582e63d (diff) | |
| download | baldeagleos-repo-74c67f9712ee7788fff47da4dda907e2177e342d.tar.gz baldeagleos-repo-74c67f9712ee7788fff47da4dda907e2177e342d.tar.xz baldeagleos-repo-74c67f9712ee7788fff47da4dda907e2177e342d.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/cfn-python-lint/cfn-python-lint-0.35.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/hypothesis/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-5.33.1.ebuild | 63 | ||||
| -rw-r--r-- | dev-python/icalendar/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/icalendar/icalendar-4.0.7.ebuild | 31 | ||||
| -rw-r--r-- | dev-python/junit-xml/junit-xml-1.9.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/moto/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/moto/moto-1.3.15.ebuild | 86 |
8 files changed, 185 insertions, 2 deletions
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.35.1.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.35.1.ebuild index ad7b4cc8cd65..17c526935121 100644 --- a/dev-python/cfn-python-lint/cfn-python-lint-0.35.1.ebuild +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.35.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/aws-cloudformation/${PN}/archive/v${PV}.tar.gz -> ${ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/aws-sam-translator-1.25.0[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index ad15a7853641..d576a7844acc 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -11,3 +11,4 @@ DIST hypothesis-python-5.30.0.tar.gz 9071239 BLAKE2B 7d46bc588d35bee187d9c19fafb DIST hypothesis-python-5.30.1.tar.gz 9074506 BLAKE2B 00ee6b7244e9bb41d019234838090801f35d57e3ed0d8b1ef454d721841b1ee7833232e001b7ac1d27a9a36d727459ec1581e1f7486e57219eb23065f128254b SHA512 c81caad3e6ee28a9045947e441b28a401ae859b4f16fbfbcdf31b0b83ee30386e3f2c372ed848b14d17b1981b4a0b222b75556bd98950458d14a3cfe0d1075a9 DIST hypothesis-python-5.32.0.tar.gz 9075649 BLAKE2B c2b375ff45e1e5ad03dc4e94d4947759ef598db5737c96d7fe7367c69a4c284d379bcfac7825a7f4e57c68c18f50164620150ead2cc8ed9e9ee1a912c896ec09 SHA512 0215a5e701f67ab5046eeaad1b158e0b85568b1680bff1a51036f67e0e77c8087fa86e1c69b9c6f6de50a65f220dcdd724ccb7d2df1e3b6d836841d193ee8b16 DIST hypothesis-python-5.33.0.tar.gz 9075651 BLAKE2B 41833eff5463c596a5eba184d23a705a7c009221f821846a46462f4d79a6b117b97f71354b44afe14b51c655658628519384b6cbec3a11b5188b6f7942199f09 SHA512 0b7a1cc3b0676205c2292585513ab6ac339b08cf10138bb10340ad69af26005c194580713baeb8f704a8fe2f39709c9b643a23026b64a6300fe972b9c847d044 +DIST hypothesis-python-5.33.1.tar.gz 9075721 BLAKE2B a880640e1c54bb2cf4206519409f36f7af7cb21ba5d76a0245b2735bc37ac2b7772fabf3dea50b48b7c1221704dae8a4390dc441435fc569bfae92e4230ee820 SHA512 207e8affe5bf8e4d719d000ef67f0e0945d01a9785624abcf04528b602c66c9512a2f621f827962b214a17b6d1e001045059a0c75b8f8cdd1abd5db3e75b5a7e diff --git a/dev-python/hypothesis/hypothesis-5.33.1.ebuild b/dev-python/hypothesis/hypothesis-5.33.1.ebuild new file mode 100644 index 000000000000..d016eb0fc6a4 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.33.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~x86" +IUSE="cli test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{6..9}) + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python* ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + pytest -vv tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 4cc75ec38674..6164eb7fd19a 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1 +1,2 @@ DIST icalendar-4.0.6.tar.gz 78418 BLAKE2B 4941262cca63cae4df249b6ec01b73b640caa002d011ed19aead89fdfc6fe9a7e37258d95668142137faf635403986a2ea4d3e39dd565d1205dfb238fd13e98f SHA512 e8f7ee878cc14b75636268d7b8c79569ce1875142fb907b1eb74bc6b9cf96f218e4be63828190aa2a27978c431437c1d454febe9a2da58c5f2785e283ae725b2 +DIST icalendar-4.0.7.tar.gz 78569 BLAKE2B b5d980335b1a9d8135ad9ec037e140f3ae49c3e8db6736b9e469748e3bd51c43f39fc5f9dc443de46d4d4c5856ec74bb548a8d1b47b7e52278fdc2e269be0cbe SHA512 97f7184ddc42ade2a447af5112f5bd18ea9a89ef25ea3983cc2213fefe2c59255102b7babcd49b3e04cbe435d75d2712dd57eebc1bf1c20c54aae7081ba24379 diff --git a/dev-python/icalendar/icalendar-4.0.7.ebuild b/dev-python/icalendar/icalendar-4.0.7.ebuild new file mode 100644 index 000000000000..4b472fff1bc1 --- /dev/null +++ b/dev-python/icalendar/icalendar-4.0.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE="https://github.com/collective/icalendar" +SRC_URI="mirror://pypi/i/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # reset conf.py to not read version from an installed instance + sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/junit-xml/junit-xml-1.9.ebuild b/dev-python/junit-xml/junit-xml-1.9.ebuild index caa74c5851e1..c0e87b6f335c 100644 --- a/dev-python/junit-xml/junit-xml-1.9.ebuild +++ b/dev-python/junit-xml/junit-xml-1.9.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/python-junit-xml-${EGIT_COMMIT} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index c9c1477018d8..16ffb850e54c 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1 +1,2 @@ DIST moto-1.3.14.tar.gz 1829165 BLAKE2B 2ec30c4cc571492a9d2c08f66a39ad04cfc0baa7864db8a5be4ea9af24ecb59bad3e85c44fa8a7babc16bf66188cb6bef89484f1f302a11e6eec1f8dbf516492 SHA512 1fe7e9d49dadada82f24d6bef1c21419c414e027c21ed1099bd1eab7c269ac5638ed44a29d1557b37562a44b22a7c7251fc1ca8ba88cde6b82d39dbc620aa6a6 +DIST moto-1.3.15.tar.gz 1760920 BLAKE2B 61f64f31e0227a29d773c033cbd77eb7dc4e0c8ad3eed5b373c34cb0ca410032dd02fe5ce26885d25b48e06d40a0e6988100720abd9b4a6b67318b6b6972ad1b SHA512 140b94eb063b08562429edc933da2bde87dc09d6bdbb8ea9846318772de9b9135181e62d0b552b638351e98bf8e1168305e45bc484258c9fe6991ca906ce5af0 diff --git a/dev-python/moto/moto-1.3.15.ebuild b/dev-python/moto/moto-1.3.15.ebuild new file mode 100644 index 000000000000..50307fb140be --- /dev/null +++ b/dev-python/moto/moto-1.3.15.ebuild @@ -0,0 +1,86 @@ +# 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=rdepend +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/cfn-python-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.3.0[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + dev-python/dicttoxml[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto-2.36.0[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${RDEPEND} + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests nose + +python_prepare_all() { + # Disable tests that fail with network-sandbox. + sed -e 's|^\(def \)\(test_context_manager()\)|\1_\2|' \ + -e 's|^\(def \)\(test_decorator_start_and_stop()\)|\1_\2|' \ + -i tests/test_core/test_decorator_calls.py || die + + # require docker + rm tests/test_awslambda/test_lambda*.py || die + rm tests/test_batch/test_batch.py || die + + sed -e 's:test_create_stack_lambda_and_dynamodb:_&:' \ + -i tests/test_cloudformation/test_cloudformation_stack_crud.py || die + sed -e 's:test_lambda_function:_&:' \ + -i tests/test_cloudformation/test_cloudformation_stack_integration.py || die + sed -e 's:test_passthrough_requests:_&:' \ + -i tests/test_core/test_request_mocking.py || die + sed -e 's:test_delete_subscription_filter_errors:_&:' \ + -e 's:test_put_subscription_filter_update:_&:' \ + -e 's:test_put_subscription_filter_with_lambda:_&:' \ + -i tests/test_logs/test_logs.py || die + + # these tests crash nose + rm tests/test_xray/test_xray_client.py || die + + distutils-r1_python_prepare_all +} |
