diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-29 12:36:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-29 12:36:34 +0000 |
| commit | 1e55e95a97c270f3d40cf9cae912801f71ef3adc (patch) | |
| tree | 962fc5138252c7ba40b19b8bffc257a76c051ece /dev-python | |
| parent | 80479b5911f5a3e997f5c36220f77d664cb3d8b2 (diff) | |
| download | baldeagleos-repo-1e55e95a97c270f3d40cf9cae912801f71ef3adc.tar.gz baldeagleos-repo-1e55e95a97c270f3d40cf9cae912801f71ef3adc.tar.xz baldeagleos-repo-1e55e95a97c270f3d40cf9cae912801f71ef3adc.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
24 files changed, 332 insertions, 74 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.7.2-r1.ebuild b/dev-python/aiohttp/aiohttp-3.7.2-r1.ebuild index 650a71daedc4..f8da8739b24a 100644 --- a/dev-python/aiohttp/aiohttp-3.7.2-r1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.7.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" RDEPEND=" >=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ce626e3bedb4..c051a9dab57c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.16.40.tar.gz 342028 BLAKE2B 6728b658ee75b76d4885e43316a58508a856347 DIST boto3-1.16.41.tar.gz 342352 BLAKE2B 601384979c792a2e1871bd3837ca2a56e411d0f50ee2766bde33f8be1b0e1fa4078bd731b002008d98efc5ef6d2893ec3811238d45f1f6e22ba4904972aa960e SHA512 c80727d2788603db8d46e1ec9c766341a875b7768cfeb86425b784141c8854f314fcb2de1618203971eac3734f64b26523e268f4ca2039f513f9ea6a218ab8be DIST boto3-1.16.42.tar.gz 342384 BLAKE2B c966fb6bb645bfa513b30bc72592eab404954c2816d4e2e533af8c0753941f07b8228201f17077d252086a2d2167ef31ba11abe6154500b125ee74a1e6d3218a SHA512 0316179c0acd1afe798c3b54bfc7cde5ac3082e6747228619a72b805ae3b2a56311cdcde54ca2afa49ee62c3554b986ff2986c60ba7b5cbdad570a329b6371fb DIST boto3-1.16.43.tar.gz 342444 BLAKE2B 1a367fa252eab6738533c7bec2bc370dcc206f25c4290ea34632ef82a0e308aa4521af7bd2e9755782b3b66b438c528e67f55f7238183ffff2318bfb7361e924 SHA512 1cd757a2751e48b9075f99724a9980d882751542f5a7794a4cbddc46f82a1bbf00b8e0908e0cd2db16726636750d591aee26b00004a454c35d24ab79de9c80b9 +DIST boto3-1.16.44.tar.gz 342481 BLAKE2B c6241580998fe729cbb706c8d99a441fabae6199ed11d36559ba9f3d11b0ef2e41122d3cd7fb418d5e60de8cf698ccb0595c4534d708a8acaddfb752add7c886 SHA512 812b165dd28f41e126b0d728c25891adf974f641a470e0fd4270873af4499432579d77d612e2a0ad89d9c37de87ff1afdf09472445ea7aa3ebad4c9a157d5b16 diff --git a/dev-python/boto3/boto3-1.16.44.ebuild b/dev-python/boto3/boto3-1.16.44.ebuild new file mode 100644 index 000000000000..af8cbcbae607 --- /dev/null +++ b/dev-python/boto3/boto3-1.16.44.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_{6,7,8,9,10} ) +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 c5a7e003a2d0..c8c5545d6ce6 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.19.40.tar.gz 7371480 BLAKE2B afd861d013b78487ff2a6d47a531536f392 DIST botocore-1.19.41.tar.gz 7368333 BLAKE2B d70ebbcfe4e4d44893f69214bda2341f047ef036434d37bdf3ec632745ac20c30f7321a03ecbfb8e8cdf42052e27a40e8f6c02ab57e471ca7d78ef28640d1029 SHA512 63edfaa02f8b79caca70611cb3ed16732813c072473ab39a4f7525cab882e2b1fac1b4a3664524db76d6288cdb4b6f650492432acaa38e2dd63b46baa7d6d0a2 DIST botocore-1.19.42.tar.gz 7371856 BLAKE2B 09d0ebbb495bc590c4f944a7ca6d91d5069d4d8eac061ab6709e5f908ff6691c8148168ddbf93874acb014d96f6ed37ac260e4263bf1c7ad55b5de545ce5f752 SHA512 779eab3a31aa2572af868b0355ff25b0d0f1cc9748494fc26bf6888e90383eea2da0ca141cde60303eaf39b4ec80971dedea415a3bde5215c982618f0c475b83 DIST botocore-1.19.43.tar.gz 7374325 BLAKE2B 7def5221bee4774a6b8a33e6499e499588ff18f8b144e669bdf9b01ae4a3e370e3aed5a3a960360123e57299da9b0293aa8da9108fe114f8ae34521b2920f479 SHA512 a1b97cbb779d8c8fe3495dd18d3d635e38c5c49e5b5fb31b7764029cf3063a7fda44711defc45783b3afb844bead46e686705af57472a7ff27af8b7e21645ad5 +DIST botocore-1.19.44.tar.gz 7374043 BLAKE2B 57548d1ccf963c1c2c33f9fdb365e04d60afc63f6112fdf689c7caab89dc242f94ae1680e69a24cb709c8b7e1190acf12e487a9289a482d7f96c02820b4b13ac SHA512 d865780c8f904b3f67c61a1e073ff4e2c6f77478168dcd98b034634a1796c07a94d8125033fc7475c7554898a73d3def8225a88eb5ec01d9064ea8737cc9eb23 diff --git a/dev-python/botocore/botocore-1.19.44.ebuild b/dev-python/botocore/botocore-1.19.44.ebuild new file mode 100644 index 000000000000..7bbd989ca3a9 --- /dev/null +++ b/dev-python/botocore/botocore-1.19.44.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_{6,7,8,9,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 ~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/lxml/lxml-4.6.2-r1.ebuild b/dev-python/lxml/lxml-4.6.2-r1.ebuild index bb7963ed029f..d4e92b78e93e 100644 --- a/dev-python/lxml/lxml-4.6.2-r1.ebuild +++ b/dev-python/lxml/lxml-4.6.2-r1.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/lz4/lz4-3.1.1.ebuild b/dev-python/lz4/lz4-3.1.1.ebuild index 5022354adedf..c5870951bfd0 100644 --- a/dev-python/lz4/lz4-3.1.1.ebuild +++ b/dev-python/lz4/lz4-3.1.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm ~arm64 ~x86 ~amd64-linux ~x86-linux" RDEPEND="app-arch/lz4" DEPEND=" diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest index bb55c8487ed5..848f084a426e 100644 --- a/dev-python/numexpr/Manifest +++ b/dev-python/numexpr/Manifest @@ -1 +1,2 @@ DIST numexpr-2.7.2.gh.tar.gz 118982 BLAKE2B b032f00c36ffadb88cf9a4cd6323137b920bce48ec73f88f006d3186f9a8c1d75a11ceb6bd32f412cba5c10cbe3cb518cdbdb19ef022100fcc408fc82ede9881 SHA512 41946df6d642e226b4a38b11d5db67ef91d63d56b33d3b52f09377c022d236ea4e9a5aaaf380737d18405ee25109260ae60f79d0c9465b95de14465f41c40075 +DIST numexpr-2.7.2.r1.gh.tar.gz 119099 BLAKE2B d424dd89761ecdad3e5a35a5c8b41f089c6eb7c9ca10a4309fb489bb7ab60c0b77863c1675583014265c057e27f3b9584a35e0ac6232044ed5f8b8c32fd330d6 SHA512 d786aeb3597a6b2196e92f364934a0bbc518c7973252c38f1e93c317d55220270b5d61320d7a465c87da979ec68e988b25182d527e0e96aa3a898f20a6997802 diff --git a/dev-python/numexpr/numexpr-2.7.2_p1.ebuild b/dev-python/numexpr/numexpr-2.7.2_p1.ebuild new file mode 100644 index 000000000000..714dbfde92f1 --- /dev/null +++ b/dev-python/numexpr/numexpr-2.7.2_p1.ebuild @@ -0,0 +1,51 @@ +# 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,10} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" +HOMEPAGE="https://github.com/pydata/numexpr" +SRC_URI=" + https://github.com/pydata/numexpr/archive/v${PV%_p*}.tar.gz + -> ${P/_p/.r}.gh.tar.gz" +S=${WORKDIR}/${P%_p*} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="mkl" + +RDEPEND=" + >=dev-python/numpy-1.6[${PYTHON_USEDEP}] + mkl? ( sci-libs/mkl ) +" + +python_prepare_all() { + # TODO: mkl can be used but it fails for me + # only works with mkl in tree. newer mkl will use pkgconfig + if use mkl; then + use amd64 && local ext="_lp64" + cat > site.cfg <<- _EOF_ || die + [mkl] + library_dirs = ${MKLROOT}/lib/em64t + include_dirs = ${MKLROOT}/include + mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \ + mkl_intel_thread, mkl_core, iomp5 + _EOF_ + fi + + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}"/lib >/dev/null || die + "${EPYTHON}" \ + -c "import sys,numexpr; sys.exit(0 if numexpr.test().wasSuccessful() else 1)" \ + || die + pushd >/dev/null || die +} diff --git a/dev-python/pyamg/pyamg-4.0.0.ebuild b/dev-python/pyamg/pyamg-4.0.0.ebuild index f13e10c8345b..27c1aecedaa5 100644 --- a/dev-python/pyamg/pyamg-4.0.0.ebuild +++ b/dev-python/pyamg/pyamg-4.0.0.ebuild @@ -19,6 +19,8 @@ RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] dev-python/pybind11[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}]" +# cannot be enabled by "distutils_enable_tests pytest" +BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" distutils_enable_tests setup.py diff --git a/dev-python/pytest-xprocess/pytest-xprocess-0.17.0.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-0.17.0.ebuild index 600bda459bec..be74ca926bf6 100644 --- a/dev-python/pytest-xprocess/pytest-xprocess-0.17.0.ebuild +++ b/dev-python/pytest-xprocess/pytest-xprocess-0.17.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/re-assert/re-assert-1.1.0.ebuild b/dev-python/re-assert/re-assert-1.1.0.ebuild index e0c200d0337f..fc6f2ec76c7a 100644 --- a/dev-python/re-assert/re-assert-1.1.0.ebuild +++ b/dev-python/re-assert/re-assert-1.1.0.ebuild @@ -14,7 +14,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index c6250e6d280c..b7de45f4d770 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1,2 +1 @@ -DIST rq-1.6.1.tar.gz 572668 BLAKE2B 4a1990492ed0c5e999fa918cdf49c03cf664e809b74f75c0aa941a72d9f3f45481e66c0d04780b88efa8e8ac2a8a94b11a0ad620d4c5f99e8abb3582db28e3d3 SHA512 8fc5f0cb87fb43fd6a0981dfb24a21d858e2d9fb2003c955d6d83b33a10b3cbaa713c11e422a91b4e020073d931fd3942530f3368fc8688dcff1a71fbe83fb15 DIST rq-1.7.0.tar.gz 579373 BLAKE2B 835868a294478af07b9fa97fef14b0f2013abe125263efa15c4988eeaf564ee61ab2e8d68842c730a0f8b02a19a4d66f328828fb939a05b9d3b36996688192e0 SHA512 4027a8e1474cc350cf539ecf5734c2f851ef4e61bf0e106e44f359736f4f1ec4e690af97a119d12b1b7614b38ec4da286acff98b718ef604b5c367b3cc2af741 diff --git a/dev-python/rq/rq-1.6.1.ebuild b/dev-python/rq/rq-1.6.1.ebuild deleted file mode 100644 index 56c0afd42807..000000000000 --- a/dev-python/rq/rq-1.6.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="simple, lightweight library for creating and processing background jobs" -HOMEPAGE="https://python-rq.org https://github.com/rq/rq" -SRC_URI="https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/mock[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/sentry-sdk[${PYTHON_USEDEP}] - ) -" -DEPEND=" - >=dev-python/click-5.0[${PYTHON_USEDEP}] - >=dev-python/redis-py-3.5.0[${PYTHON_USEDEP}] -" -RDEPEND="${DEPEND}" - -distutils_enable_tests pytest - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_test_config="daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - " - - # Spawn Redis itself for testing purposes - # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. - # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. - elog "Spawning Redis" - elog "NOTE: Port ${redis_port} must be free" - /usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the actual tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -python_test() { - # Tests needing rqworker: - # TestWorkerSubprocess::test_run_access_self, test_run_empty_queue, test_run_scheduled_access_self - distutils_install_for_testing - PATH="${BUILD_DIR}/test/scripts:${PATH}" pytest -vv || die "Testsuite failed under ${EPYTHON}" -} diff --git a/dev-python/rq/rq-1.7.0.ebuild b/dev-python/rq/rq-1.7.0.ebuild index baf13724f9e0..56c0afd42807 100644 --- a/dev-python/rq/rq-1.7.0.ebuild +++ b/dev-python/rq/rq-1.7.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" BDEPEND=" test? ( diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 1d5112f1c534..cf3c6ebde0e0 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -2,3 +2,4 @@ DIST setuptools-46.4.0.zip 865912 BLAKE2B 452d36132f5648c79c7e1616a93ff6a39ab2f6 DIST setuptools-50.3.0.zip 2169216 BLAKE2B 029ea0159de270af0078a4661c696b93681b33dcc475640c7626f5a40bf1bb4759e5915948696c03b76dca10bdc4e790e2e9ef9628f41abca9a6aa48adcb72f6 SHA512 f67a2b7d639e03bf8b3815133e128902a559baf689afdd5893844ddc7c83505d727a6bb30ced1f78c4d2719dd405d2f4c527576bfa14dd9cb50c8ec4a479683e DIST setuptools-51.0.0.zip 2059134 BLAKE2B 449e87e413490181136ffa80a109e68b086fd0b1b56b2391e8cc612fb4c9cd4bb89acf05b464a5fa86c3984d3f22bc103dc9a21a2948598b7a17f770c4037008 SHA512 ec8c8a43ef176b5a4029f42c900690c1b9cb304efeb2cf8d36f3f2cb4343af4c1b1770f83ffb0e80ef237f58e6eeb233a97d6b3b8c6c6a2557bc4f14ccff9e90 DIST setuptools-51.1.0.tar.gz 2050951 BLAKE2B 58890bf458ffab84f93e68393a092c2b2eeaf28e9e443c9a3cf50fb4bbb371bfe28032d08c5ce92fc0b28ad3f9b718f02542f948560b2a8a57af1ada9e77a949 SHA512 914f0d7692f519b658a55e1c7d96b93a45f34c1682c564c6232cd3771db15c91cfee7118ed61f1ae4655a1afe34c9a9c37f293eb6408eeeeeae9eaa6f3760324 +DIST setuptools-51.1.1.tar.gz 2051053 BLAKE2B 182c8c4b4d3bb8caea8cb1812aaff929d7687942d3c469a7f6e0a68a0c5d3d001be2b42d0d131171815359f2c1d59a7b997c5deab657d2ec99c369c6b27ba03f SHA512 ef08f0ecd0b4a255a8e43c2785c2a1ce76f807322c3358b7955d2ea814f9fa3f52962f7cd0431439ef9ee910fd44922d1be1888c350703031cfcab8db0f60ce7 diff --git a/dev-python/setuptools/setuptools-51.1.1.ebuild b/dev-python/setuptools/setuptools-51.1.1.ebuild new file mode 100644 index 000000000000..103569fefaa6 --- /dev/null +++ b/dev-python/setuptools/setuptools-51.1.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +# Set to 'manual' to avoid triggering install QA check +DISTUTILS_USE_SETUPTOOLS=manual +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + dev-python/jaraco-envs[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +# Force in-source build because build system modifies sources. +DISTUTILS_IN_SOURCE_BUILD=1 + +DOCS=( {CHANGES,README}.rst ) + +python_test() { + distutils_install_for_testing --via-root + local deselect=( + # TODO + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # this one's unhappy about pytest-xdist but one test is not worth + # losing the speed gain + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_sdist_relative_path_import + ) + # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg + # It tries to sandbox the test in a tempdir + HOME="${PWD}" pytest -vv ${deselect[@]/#/--deselect } \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ + setuptools || die "Tests failed under ${EPYTHON}" +} + +python_install() { + export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 + distutils-r1_python_install +} diff --git a/dev-python/sudsds/metadata.xml b/dev-python/sudsds/metadata.xml index a56745df0223..c4e7a7e3d49d 100644 --- a/dev-python/sudsds/metadata.xml +++ b/dev-python/sudsds/metadata.xml @@ -8,5 +8,5 @@ <longdescription lang="en"> A lightweight SOAP python client for consuming Web Services. Czech NIC labs fork. </longdescription> - <origin>kit-fixups</origin> + <origin>calculatelinux-overlay</origin> </pkgmetadata> diff --git a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild index 054a9f5306c4..ac0d6b9c7860 100644 --- a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild +++ b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) @@ -17,4 +17,4 @@ KEYWORDS="amd64 x86" IUSE="doc" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-python/theano-pymc/Manifest b/dev-python/theano-pymc/Manifest index 1ff0b282387f..033bccb6c7f3 100644 --- a/dev-python/theano-pymc/Manifest +++ b/dev-python/theano-pymc/Manifest @@ -1 +1,2 @@ DIST theano-pymc-1.0.13.tar.gz 12975871 BLAKE2B 71528868885084d7c37f1f5cc5156aca5e764d09f0dc57aa46e21240ee2959aafb5882aef8977d9f215b051265d0d9bc3a7097ac0bb6d427cfc076ea6f591905 SHA512 da25e386965695a5630c54a671a7a573d0f0fae2eeeacf4f65130e4e4caf416373852ac14b1eb07ae39c194febe854d71fffe2adc24c348f64a4b73b43564229 +DIST theano-pymc-1.0.14.tar.gz 12979426 BLAKE2B e6db87a348d6e7003f8b1ff4e0634335d53d734ea922951edeaab06ec54d51f1d7930a03f6dca14979930abb6212f873d606a9adada46d5b606854c5d8a6c6a5 SHA512 4ddfe5978f33cea96b20763cb01eecf1ec6c0c6b97ac892d647e28b607e61b11862739e5836356ab87e2002e992febe35ce9e1e72d37732074be2dbed64b50b9 diff --git a/dev-python/theano-pymc/theano-pymc-1.0.14.ebuild b/dev-python/theano-pymc/theano-pymc-1.0.14.ebuild new file mode 100644 index 000000000000..627cad9f55ed --- /dev/null +++ b/dev-python/theano-pymc/theano-pymc-1.0.14.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/pymc-devs/Theano-PyMC" +SRC_URI="https://github.com/pymc-devs/Theano-PyMC/archive/rel-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/Theano-PyMC-rel-${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}]" + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s/, 'flake8'//" setup.py || die + sed -i -e "s/tests.\*/tests\*/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest index b7533d5d980c..1ede0c796f0d 100644 --- a/dev-python/transitions/Manifest +++ b/dev-python/transitions/Manifest @@ -1 +1,2 @@ DIST transitions-0.8.2.tar.gz 1084797 BLAKE2B 9ff6284e7c42365c5a169388057acffd53dd31c3ca6d9dee240b253ca34118a67d3f070fd8b6a86cb6a01a2e15023e0bad02ccc07813ee0855a54008ac3d7597 SHA512 d10e513806801d0c874be3eb59e92ad61584b5f7992ba26db8828848df1225fb806621abc118a8d43f2efaa353d988b5becbe4296bc054754e551c86495a540f +DIST transitions-0.8.6.tar.gz 1092437 BLAKE2B 14a8f50bb3ab34e5a6589c1ccc14482373fcbe670d64cd822ef483da10d5e19771bea28ce26690907862422a7687cacccb8c82f5f623ba34888e88dbf2601945 SHA512 9ada9075074a1201c0858786ea446e5dd36576e154238dccbebc2523da0bd46cb676e7eb4abf1102207b2e674d3214dd4869b3c51a6b9e9799c38bd6be8aedac diff --git a/dev-python/transitions/metadata.xml b/dev-python/transitions/metadata.xml index 63e1afe263d4..8bd794c783ee 100644 --- a/dev-python/transitions/metadata.xml +++ b/dev-python/transitions/metadata.xml @@ -5,6 +5,10 @@ <email>conikost@gentoo.org</email> <name>Conrad Kostecki</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <longdescription> A lightweight, object-oriented state machine implementation in Python. A state machine is a mathematical model of computation. diff --git a/dev-python/transitions/transitions-0.8.6.ebuild b/dev-python/transitions/transitions-0.8.6.ebuild new file mode 100644 index 000000000000..bacb1ae2d0b5 --- /dev/null +++ b/dev-python/transitions/transitions-0.8.6.ebuild @@ -0,0 +1,40 @@ +# 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,10} ) +inherit distutils-r1 + +DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" +HOMEPAGE="https://github.com/pytransitions/transitions" +SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + || ( + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + ) + dev-python/six[${PYTHON_USEDEP}] +" + +DEPEND=" + test? ( + dev-python/dill[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + use examples && dodoc examples/*.ipynb +} |
