diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-29 12:57:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-29 12:57:29 +0000 |
| commit | 20b3258f074d2d7dff767486ade30f726435af6c (patch) | |
| tree | 8a6789438f92ab8b6cd78e80dff5ae521cc1b537 /dev-python | |
| parent | 849b2a23e34c3bcce31eed8b4aaedeb63f6c4cd6 (diff) | |
| download | baldeagleos-repo-20b3258f074d2d7dff767486ade30f726435af6c.tar.gz baldeagleos-repo-20b3258f074d2d7dff767486ade30f726435af6c.tar.xz baldeagleos-repo-20b3258f074d2d7dff767486ade30f726435af6c.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
20 files changed, 446 insertions, 3 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 8eec4dab1d2f..04498c8c4155 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -3,3 +3,4 @@ DIST Nuitka-1.2.7.tar.gz 3960368 BLAKE2B 582ad7f7a96577fd87a4f9fe083d90f532f2ddd DIST Nuitka-1.3.1.tar.gz 4028497 BLAKE2B 877413970a1e169abe8b9770d927d2e9a33bcd775466adc7287fdcc8f69d412fae249ea96a16aca4166d655f1a016852e06018f55c0b62afe4b53c5b1c540870 SHA512 09f8ff13f14af20ee2fa8b80714ff52a3bc2a36658113e122ba383f34e9ca8c27af42b14cb06477e3a2ed2e5dfa60e10295c4f96a209db699719c456518c464d DIST Nuitka-1.3.2.tar.gz 4019850 BLAKE2B fce2015b1af9e0b93b777982c772aaa903145bc55a5effb68ba581a31f63e34280aace47df8292d2125725dee02c55c1d54580a08d2d8d3a775459edb9807837 SHA512 5a1713757a6b1347320accc717a01b2abfb3b815683880845fb35ec92e7c94bd7e011a83bd16ed1ba28d14f4128945bdd89d39b89fe8dc7a59c69e9f127bc4b6 DIST Nuitka-1.3.3.tar.gz 4028744 BLAKE2B 864f69dd62e12ef29cc9418ff2bfd646b07ac298458fb97efa4177d1e974dc8bff435637eb61dde6e6f67e38aa22dad3b7d024b4b880379928012a143956f181 SHA512 3c59456e4da524a0a9f66d0c3f8ed0221264ca342ba9a9a8d07a4975f3ba14e875e762fe16ff5960dbe4b2c77391636d98e245be9c00e260f2bcd1d177edab67 +DIST Nuitka-1.3.4.tar.gz 4028710 BLAKE2B 5cf02644524f612cd4403147323ce0e4d121efd91d8a9da3f55e81117e088337ce9d56f801691b52236bb17bb7ffc3987e98c8d23bad1c84b4bae61fae41b5cd SHA512 7c3562a264833ba2b5ed09a43d91113f59ece8a088480ac03517fe66b380d354faf465845fb7218d34f328114d8bdee92d4374651182f85f50593ce9294e8796 diff --git a/dev-python/Nuitka/Nuitka-1.3.4.ebuild b/dev-python/Nuitka/Nuitka-1.3.4.ebuild new file mode 100644 index 000000000000..d55f2985424f --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.3.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 64f56f6df122..6a2ee3ce7c8d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.26.34.gh.tar.gz 582767 BLAKE2B 279138d5b6093a16d54bd14bab6e9e4c4901 DIST boto3-1.26.36.gh.tar.gz 584205 BLAKE2B d5aad2ab0b8ee3392c636309454859e30cbe937d0dc2efb4b5a817fc83c555e5592ec8a8ae94a273ab2ab55be5d627b44475d0b5ca77caebc246229e3f78b155 SHA512 818843d82b27ee2e376382f1a74a950cbacf04a588bdc012e8c88d569ad5571d231a2dd399a3e26efc3de96c89f722ceabc3e70eb3cdba930c08277fa6c2c189 DIST boto3-1.26.37.gh.tar.gz 584822 BLAKE2B 08c08502f3defee6365aa19a55cb5bb6c006ce9685421119d1469f90f35e0aeb49fc11a6c5dd133cdfe1138248c0952338adb7b864010825f6f32f40398c2f4f SHA512 4c73b45cae0ed42f219b77d5b58f26560f3ac660d66eaea0c8452053ed38b4c8cc7ab168062483a52e091f7241623466a473368e0545a9fa07c0ac12d0185e31 DIST boto3-1.26.38.gh.tar.gz 585100 BLAKE2B 22bbaad5e5ba59c29300ac1331e570b763d7544c9feddff307b2eba3e3da9076c6d64ed189d115ff63fd2deb156f6edd2a767121489c5d02e9ee0b897cb39712 SHA512 f97bd9cffd6d4c4d03841038940edb592962b72a3595e9255fc0af491aee1eb1742e819861c8f207383062f6ec284f8ecc37e9a30c59eb1e7702066b4a7c988f +DIST boto3-1.26.39.gh.tar.gz 585471 BLAKE2B acf5631bccdc96f540bdd9396084f09d0b3d070f6b0d3a85267eeb54b1c1b1e5e38b662114dd8a52fb839f168f6d5694647a87559c389f4acbc23ee6bc0dd38d SHA512 d795dd9a553932d75317cf0f528757be201e6655e088499733318068fd8d15bb04dc67d370b1d5160b46eb3fc4ed489dc66181ac12e2d91c0b3a3c86043abdd0 diff --git a/dev-python/boto3/boto3-1.26.39.ebuild b/dev-python/boto3/boto3-1.26.39.ebuild new file mode 100644 index 000000000000..aa8071e64d5e --- /dev/null +++ b/dev-python/boto3/boto3-1.26.39.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_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} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index af20f85dfa19..2f275a05ed10 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.29.34.gh.tar.gz 11061036 BLAKE2B 03b4b48d1308113be6711e27d15dfca DIST botocore-1.29.36.gh.tar.gz 11075582 BLAKE2B 4db73c753acc1eba93bc5fc3a2486b3ded6ee41e35220f56cefc71e808128cb88582474782b1e77b992186b8bcab3ec34ec5566517b1464ee226480f615ef1f0 SHA512 dfaf655fabe85c54cc58a4266fa11b78c7b0dab771a639d9bf8d2583db1b245ae8d5344b7fc6aff759fce80a3ab7ba7f61a7d912adc1dab3c147077cd4fd79c9 DIST botocore-1.29.37.gh.tar.gz 11077206 BLAKE2B 59c877edba074d4d5858dbf0a4026c0884cc4fce5bc2c9a7d933cfbff8317825663955205ebc754f8a4713b817b7d775fe208d6946f788a1943989949da58a04 SHA512 e79447fe66a506326c5f6396a32b5f4f6560038c57ab03457c36c838f52c1e48a94cba7624350a738eb937d0f3954984b77fd97ffb4becfa72cc4c61005efd40 DIST botocore-1.29.38.gh.tar.gz 11079677 BLAKE2B 3edca40f575278b24c4b65ccaba3432715f8d7908f6e561cc475963f0865ef777a53845a1e8579f023a4943d69f33c8e1071afa6dd214d480dd48bacc8c132e1 SHA512 814863a6653f36f58bb20d4c7e154ba6d731f4046f3183ce696f515b1baa5ce342620bdfdd09eeea3847c6494add5611651487ad4d8f9c773823cf20393cb940 +DIST botocore-1.29.39.gh.tar.gz 11079996 BLAKE2B 5354766665b3402861cd497ee2831cb82c7d6db977c6573cb43cd70ec06291a4eba6c39a601c798414c2fb47c92f14df6e302623c1d5a5523edfdd9c977bf579 SHA512 bf7c30313737792eea1506855aa166cac63fcba48b764ec5e5b2313c9c66fe48970cfeef1f7405f329db715ee0b9d49ff4550d6d69ccd4c7db09923e77bcbe8d diff --git a/dev-python/botocore/botocore-1.29.39.ebuild b/dev-python/botocore/botocore-1.29.39.ebuild new file mode 100644 index 000000000000..36f6e1eb862b --- /dev/null +++ b/dev-python/botocore/botocore-1.29.39.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/cymem/cymem-2.0.7.ebuild b/dev-python/cymem/cymem-2.0.7.ebuild index a5f7f23907cf..60cdf44f5113 100644 --- a/dev-python/cymem/cymem-2.0.7.ebuild +++ b/dev-python/cymem/cymem-2.0.7.ebuild @@ -20,6 +20,8 @@ KEYWORDS="~amd64 ~x86" BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}"/cymem-2.0.7-flags.patch ) + distutils_enable_tests pytest python_test() { diff --git a/dev-python/cymem/files/cymem-2.0.7-flags.patch b/dev-python/cymem/files/cymem-2.0.7-flags.patch new file mode 100644 index 000000000000..433fe9e5c890 --- /dev/null +++ b/dev-python/cymem/files/cymem-2.0.7-flags.patch @@ -0,0 +1,13 @@ +Don't overwrite user optimizations + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ MOD_NAMES = ["cymem.cymem"] + # http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used + compile_options = { + "msvc": ["/Ox", "/EHsc"], +- "other": ["-O3", "-Wno-strict-prototypes", "-Wno-unused-function"], ++ "other": ["-Wno-strict-prototypes", "-Wno-unused-function"], + } + link_options = {"msvc": [], "other": []} + diff --git a/dev-python/decopatch/decopatch-1.4.10.ebuild b/dev-python/decopatch/decopatch-1.4.10.ebuild index 831872e167fb..1711f808fc05 100644 --- a/dev-python/decopatch/decopatch-1.4.10.ebuild +++ b/dev-python/decopatch/decopatch-1.4.10.ebuild @@ -8,7 +8,6 @@ DISTUTILS_USE_PEP517=setuptools DOCS_BUILDER="mkdocs" DOCS_DEPEND="dev-python/mkdocs-material" -DOCS_DIR="docs" inherit distutils-r1 docs diff --git a/dev-python/emailthreads/emailthreads-0.1.3.ebuild b/dev-python/emailthreads/emailthreads-0.1.3.ebuild index ae08ceb80669..dddd6f44d475 100644 --- a/dev-python/emailthreads/emailthreads-0.1.3.ebuild +++ b/dev-python/emailthreads/emailthreads-0.1.3.ebuild @@ -10,6 +10,7 @@ inherit distutils-r1 DESCRIPTION="Parses email threads into conversation trees" HOMEPAGE="https://github.com/emersion/python-emailthreads" SRC_URI="https://github.com/emersion/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${PN}-${PV}" LICENSE="MIT" SLOT="0" @@ -18,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="" DEPEND="${RDEPEND}" -S="${WORKDIR}/python-${PN}-${PV}" - distutils_enable_tests setup.py diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest index ec610b2db848..3af250d235e1 100644 --- a/dev-python/importlib_resources/Manifest +++ b/dev-python/importlib_resources/Manifest @@ -1,2 +1,3 @@ DIST importlib_resources-5.10.0.gh.tar.gz 34195 BLAKE2B 9b9fc1c33de8a0072edb28a0a67ae73b6830a4d0e16ebfa28bdeaff1409b2f9aeafc84e24f1187cc4ac1b36de78fdecc25acb4a1839ff5fd32f1c38124a98ff2 SHA512 3cf2bdea4fa4572402236ff71678376398d8cae4e87f08487100792275976047a5ee4f024308f1727758ba15ba2f03ed02d8cb95f2d9875c77842a5d24f7f384 DIST importlib_resources-5.10.1.gh.tar.gz 34781 BLAKE2B 63b516e1bd9cdb141751dc432944b520227a9b5e18b814db8204e1a5820a410d6101a2c902d25855796d3d1fbb790e2bc1f9327a47f828e946419fb8e787fb4e SHA512 1a3a6e36e30d72ceefe014beafc668624975c74e1ac4c2f526c377443e93792e432f4aa22d3c7d08101dabf906f50227f8716a0ee7f60d62ea24ca99641f8c67 +DIST importlib_resources-5.10.2.gh.tar.gz 34882 BLAKE2B df84de4cf9f6f912c034c8a85be1005782ff6ac48df61c251d09990033ebc6bedc0db5913f556b9b2825c19a2dd1962d9481404b7ab85b4156ab685857ae6cb1 SHA512 891db784e030ab3262361165cef8730cb26f6a4526e279c13b8e538bed5d0035cb63ee6f4c62eb9d43ccfabfd97fb5b0effafda688185b89de8718910631b4d4 diff --git a/dev-python/importlib_resources/importlib_resources-5.10.2.ebuild b/dev-python/importlib_resources/importlib_resources-5.10.2.ebuild new file mode 100644 index 000000000000..a9252702bb90 --- /dev/null +++ b/dev-python/importlib_resources/importlib_resources-5.10.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +# This is a backport of Python 3.9's importlib.resources +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Read resources from Python packages" +HOMEPAGE=" + https://github.com/python/importlib_resources/ + https://pypi.org/project/importlib-resources/ +" +SRC_URI=" + https://github.com/python/importlib_resources/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/zipp-3.7.0-r1[${PYTHON_USEDEP}] + ' 3.8 3.9) +" + +distutils_enable_tests unittest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "importlib_resources" + version = "${PV}" + description = "Read resources from Python packages" + EOF +} diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index b5ac4789890a..9467344a7a75 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1,3 +1,4 @@ DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 DIST jupyter_server-2.0.1.tar.gz 680584 BLAKE2B 06ec85e0088f3ab7d08935b2b085c96d4ce9b787895a573024f64af48b78a7c99bbe8fa8330f8536b55d32fd7321a5cb56958a55a6044aec687107d13dce9db0 SHA512 c8d676da5af479ca0492c94615b01f9d2efb0d8e3aefa78437c44997409afeef1eaf7e269ce48047597d83cc82a26602108db17eacddca73179e9042ee145afa DIST jupyter_server-2.0.5.tar.gz 682705 BLAKE2B ea83b74c105fe7337dfafd725a7f6989b440a7124be73f854900d578439b5a3f0f5056e39056ce28ee07611b742afb4c4b1d1352f123125d4d7080269f217a94 SHA512 6e2af05c1cc6875fd32158bbd70a55f7a05e18af7b264d7d3e966d3d8c1c515927e86a0763e5734bca90b57119183d1ad4e10c44a47d929c6d62b15f78cc18f0 +DIST jupyter_server-2.0.6.tar.gz 686312 BLAKE2B dfa309146e74c646ab28f31a4a7293d2b658771077240179aebd13176151c982035649acf3b78c86ddb06e914e3342e5894fb55f8b8711cb493a6a7c4b259cfa SHA512 186b41b13cc727d0674a49abcb9b3a9aa5b898f0e9e42124e46e862ec62528b4127b159a30352f33e6b91321f1dd3f086f82dca72d5616755bcf3220d154faa6 diff --git a/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild new file mode 100644 index 000000000000..b9a39f223341 --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + <dev-python/anyio-4[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension +) + +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +} diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index b2f1ece8b0a8..bd3f599ff0e5 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,3 +1,4 @@ DIST platformdirs-2.5.4.gh.tar.gz 20645 BLAKE2B c995b881bf25d215ffbcfa4d9fd6721d763d2c27e306961965cd16da00bffce5a1e8dc3ebb48f0f499dbc0f5a079fcffbe0755913f61bc3e8a7192e951e8f18b SHA512 35e2f4ff4d289d6d83172105c716b3a337dc55b52be6d4ac653460e6e5696cce2256a645b2e91a8bab4a17f8a6c6e49b4a005924ede8da7ef2d03ede35061703 DIST platformdirs-2.6.0.gh.tar.gz 20779 BLAKE2B 5958cff9e3583091c365aea0b3380fc02b273d529868587cda80713db43794c5b69df729390152611d1611aa8a29a5aff84d26a4ccd8777bbd800b3c982bb0fe SHA512 727e057197b1f50cd6e9c0afcba042c9c0f85e061a8667f04548966e6d3d8eb80ce35d07d6578f98fc66273f31caf2a0dc7db9599f2f55fe2e89493803c4db57 DIST platformdirs-2.6.1.gh.tar.gz 21135 BLAKE2B 65cd34d5fcc3aea46f216780d3a069d39395e0e9af1cff7a7af8511318c165233fff50ad6610ccd48a1e98e1dc4ca68f1cb2d6156a2c4e2a4523f04c09abdd0e SHA512 aff9d091ffad8e110aa2b3d615da65e3618b20f26f007210a9cb75d5e7d72d9ab8309e7e5a139f344f9f6dbedb419ab97848f8301e5104a667a6def58f947a6e +DIST platformdirs-2.6.2.gh.tar.gz 21184 BLAKE2B 4acc85301f764d4457ace88f9fb409e4d2f8bb17b9133dc3316c4d265a7cf50019298f1ba4cef87f5999b48fd7060687f7008079de26ffe74740a4cefff9309e SHA512 704cc39ba1746055e0459139759e118bd6178fb13cc8ecf580f58d16073fbb8ade0bce8b5eb9230ccc45b19f622a41c84a06f8698ee722da9d5cec44c5f46e25 diff --git a/dev-python/platformdirs/platformdirs-2.6.2.ebuild b/dev-python/platformdirs/platformdirs-2.6.2.ebuild new file mode 100644 index 000000000000..ec990df90bae --- /dev/null +++ b/dev-python/platformdirs/platformdirs-2.6.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/ +" +SRC_URI=" + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild index aafd4cf4f268..c886e6bf6042 100644 --- a/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild +++ b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild @@ -8,6 +8,7 @@ DISTUTILS_USE_PEP517=setuptools DOCS_BUILDER="mkdocs" DOCS_DEPEND="dev-python/mkdocs-material" +DOCS_DIR="docs" inherit distutils-r1 docs diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild index 47fc288a8ef3..a380e7edae78 100644 --- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild +++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild @@ -8,6 +8,7 @@ DISTUTILS_USE_PEP517=setuptools DOCS_BUILDER="mkdocs" DOCS_DEPEND="dev-python/mkdocs-material" +DOCS_DIR="docs" inherit distutils-r1 docs diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 4f9f6720865b..fe7635110422 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1 +1,2 @@ DIST spyder-kernels-2.4.0.gh.tar.gz 92247 BLAKE2B 7dd5a5c6f43de36f23ebac2707e9dc06ced20bb965325b0a31657d03b49cdd993aafe6f1d52d7108dbd2aa8fddf3ae7a6e2da4c2b75eabf05f8302b2119cd3cd SHA512 6744cd05f4cbe452b0b8fa4f416055b8a69f75e49a10b9de3f2781b11f63c84ed7a6686e1a00bbc2020ba015a0cb7f350a6e85665270629a0e714ffe80bcb08d +DIST spyder-kernels-2.4.1.gh.tar.gz 92461 BLAKE2B 44858b58094365c07e8d9aa683d721b5a5fb3475849486cdafb9f4e74330e58c13a1ed4839a470238d5ceee0e990c13fb7c913ba04c0297e91f3f47bc469a5e4 SHA512 d6dbbb4359f9b0a040159e0d654058cb62448c4596d87fcfd0445e31905e61e0a3ac71575763393d25d9f5d81aa07fba62384ef2ef6a1cce32feac5a62153402 diff --git a/dev-python/spyder-kernels/spyder-kernels-2.4.1.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.4.1.ebuild new file mode 100644 index 000000000000..925b5969f6cb --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-2.4.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" +SRC_URI=" + https://github.com/spyder-ide/spyder-kernels/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + <dev-python/ipykernel-7[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.16.1[${PYTHON_USEDEP}] + <dev-python/ipython-9[${PYTHON_USEDEP}] + >=dev-python/ipython-7.31.1[${PYTHON_USEDEP}] + <dev-python/jupyter_client-8[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-7.3.4[${PYTHON_USEDEP}] + <dev-python/jupyter_client-8[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/dask[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # we no longer package distributed + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + # RuntimeError: There is no current event loop in thread 'MainThread'. + # https://bugs.gentoo.org/834893 + spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 + spyder_kernels/console/tests/test_console_kernel.py::test_runfile + spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold + spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch + spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline +) |
