diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-10 16:09:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-10 16:09:31 +0000 |
| commit | 5208be3813b9dcec3b805b34120c23a13478db3e (patch) | |
| tree | a75aaa0d6d006ff8a4dd046e49b89782f31ffa65 /dev-python | |
| parent | a30a448aff4f450deba8f0bfc4fca47aaf67663a (diff) | |
| download | baldeagleos-repo-5208be3813b9dcec3b805b34120c23a13478db3e.tar.gz baldeagleos-repo-5208be3813b9dcec3b805b34120c23a13478db3e.tar.xz baldeagleos-repo-5208be3813b9dcec3b805b34120c23a13478db3e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
23 files changed, 392 insertions, 62 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.23.ebuild b/dev-python/GitPython/GitPython-3.1.23.ebuild new file mode 100644 index 000000000000..c2110d7a3845 --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.23.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.7 +SMMAP_P=smmap-4.0.0 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + sed -i -e '/addopts/d' pyproject.toml || die + + distutils-r1_src_test +} + +python_test() { + local deselect=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index 39b46f53fe39..24a41ab35af0 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,4 +1,6 @@ DIST GitPython-3.1.20.gitbundle 9511740 BLAKE2B 17d1aeec50a85ff5b8688a984ff41933bc8a3d91ec2e706053fcaae9298d9d469b7c816ac61f82934d454f6ebacdbce4d56ac8936ba89a7a694b59cca8b9e821 SHA512 d49e429b45f9edbee9419b94136762a75cf33b1693f9f8fb809b0bf63f0a763d501d9ca42f332d156ba7d79d07eed310763af51797adec4dac30f7c073c415b2 DIST GitPython-3.1.20.tar.gz 188094 BLAKE2B 3741b6b2e6c77ea8464eb83abfc744e9c646d18368648f805a2aa2f6fdb1875ec61b7e4aa4e224a67bff49686268c86b2cd2b3faf19e9eaa4c9587aacb7fa3f4 SHA512 10dc9f154067eb79a98fbf3204e370e814ab00661ffd7c2e1a1dc8ba46475ed48ec8c355820deba609486c865301e13bd54797ab7da8fccf8cff9cc9efebb153 +DIST GitPython-3.1.23.gitbundle 9661389 BLAKE2B 2b70484d695fa723b436d51e843fe4d03b2754be5b079d9a13b34c129c9559fd728ed3cf4873c534fdb404a802a3d6984f032b797cc490eafa12b89979a97e27 SHA512 6f9b29c6ece3d497b262d9cb9c561bdd9be8d60a01df0a81acaf7a9ef71297968a90ccc712f45a898ec1d5a28c84121ccf427b9805dee37412d172efd0407be4 +DIST GitPython-3.1.23.tar.gz 189889 BLAKE2B 063ecfbb3820cc05f631b6dcaeabaec79e15041d47c5e39fa2364beba1a6db07cf74a6442517136cfe29d14d85efb1b08ac609c1468f9e7d86527037c57d67ac SHA512 06037303c4ce6fc1f9cc0ba7839196ece3721fd45840a10bbc31701d54a46591323b4fe7e2c459a2b3811d0d859170ec9b5b2cb4b52bb50a09897f6b8cb82676 DIST gitdb-4.0.7.gitbundle 1498536 BLAKE2B 1e0aff67259c04d2932dbdefb0ae07bd9fb51c5dcb99ee8431e78bf428095250ed45f5e12e2484b407bb4257050b0864e67096b3501d4829491cb7714a7b5ddf SHA512 f8b1b3de00f0597d65f528dd30495fd3dd9e1e4d494987899ef2064d23947ede799db391a59688dfa27e4fcdc9379b5352a378b39e6fb2421e6c850f81157bec DIST smmap-4.0.0.gitbundle 322820 BLAKE2B 20ac688cafa9ad036f3e21ac1bb9323ae55e618eb0806634fe4c885d2b12fe802779adcffb0fea3da9707e94109a168738d63abe990d1ce9b141c779aa6798d6 SHA512 03296099303eb38ac9ca46733255024355aed2e64a2f9409552ae34af76beb9685a6dd2458df986593fe426e428bc184617abe22c8b92ee01c8c7e1d98de8592 diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild index 1e46d74b63f0..a43d6e513692 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" diff --git a/dev-python/debugpy/debugpy-1.4.2.ebuild b/dev-python/debugpy/debugpy-1.4.2.ebuild index ec94342bc61b..6eb5e1485726 100644 --- a/dev-python/debugpy/debugpy-1.4.2.ebuild +++ b/dev-python/debugpy/debugpy-1.4.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/microsoft/${PN}/archive/refs/tags/v${PV}.tar.gz -> $ LICENSE="MIT" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64" # There is not enough time in the universe for this test suite RESTRICT="test" diff --git a/dev-python/funcparserlib/Manifest b/dev-python/funcparserlib/Manifest index b9542bc96d0d..7276f56c942d 100644 --- a/dev-python/funcparserlib/Manifest +++ b/dev-python/funcparserlib/Manifest @@ -1 +1,2 @@ DIST funcparserlib-0.3.6.tar.gz 30401 BLAKE2B cfce97cf08914f67ba3bd743bd3d6e7e7a03599ddc00d58a884aa84118d197d92bcc67a93ff1f7a2ab2074d66704078f5392c1d846004a5cd6eed2a423ba6b61 SHA512 efa52f788aa902b099660cb8bc60a025085a8c383e52bd0824a0c3ae28a6c13804a0659de0c80b4dcd839ee70491805d4eecda6cea221e35c3750ec569098c24 +DIST funcparserlib-0.3.6_p20210809.gh.tar.gz 68069 BLAKE2B 937079952a42f2171af8f6421097eb920d01eae02f870c27a790ae374a1c8c3ac27019eae78d655b80458bf319fd2db7d411404902357ac66eea5daa4472ecf9 SHA512 7d2b6d27e1981d97097c2aafc0730e5b6c6bf98707e997f87f7a9944667ea361db41305099803a43ec04b46ab53e4ab09d0863413d00a39a6fb27c30cceac361 diff --git a/dev-python/funcparserlib/funcparserlib-0.3.6_p20210809.ebuild b/dev-python/funcparserlib/funcparserlib-0.3.6_p20210809.ebuild new file mode 100644 index 000000000000..f4cf3eabdd2d --- /dev/null +++ b/dev-python/funcparserlib/funcparserlib-0.3.6_p20210809.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +inherit distutils-r1 + +COMMIT="d4ba3955ffc10544dbae6aaed68bcab21d0c294b" + +DESCRIPTION="Recursive descent parsing library based on functional combinators" +HOMEPAGE="https://pypi.org/project/funcparserlib/" +SRC_URI=" + https://github.com/vlasovskikh/funcparserlib/archive/${COMMIT}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND="test? ( dev-python/six[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +python_install_all() { + local DOCS=( doc/*.md ) + distutils-r1_python_install_all +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 133edcf346ef..71f3438cadf5 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-python-6.17.4.tar.gz 9144209 BLAKE2B b110e355b34f386c51e9edeb258 DIST hypothesis-python-6.18.0.tar.gz 9145660 BLAKE2B 6fb47aeb134363e50944d08f0658245d9cc5190260e56cc16c394499df0bcf3739fd69c22bcfce6f3b290a1ecd9bdc8ac6bfd7c5f2efd4b00694b81d7dba062d SHA512 069deaa91b7dc7244c8fccb046e384c60009365418dfb7f76ed75428446a731ec860613201d0657c2c8b3b29e4fce3c403a93aa082f48b072471f919b7a1af5a DIST hypothesis-python-6.19.0.tar.gz 9146087 BLAKE2B 11cf1e76735f2d57ee793c131a055c0e349bf7a39b072ac33914bcc371d44a607866ec617d2f955779fe99922f968b8da571fea87c45db72583e3ea2026000a5 SHA512 b641938c6f9b5603bb7b72ba1106da16bdcd0528de34317afdc4099bbfa1bfec90e76fbf14dc7cfc773fb02c3fa3b4bcfeea7f3788884cbefb51751f02879f9c DIST hypothesis-python-6.20.0.tar.gz 9146238 BLAKE2B 88009c7369209f8781644a975587d757ecf83e9e84e650fd2f8e88b5e4e1d078dd0639e49a9055c4390c0aba96a661561ff5858bf628036d097c614b7d9fc45a SHA512 6c139c78b75c5b8408345d654e6d638f4f2b0f1567bcb05c430e396d3dbf40fde7e3f6a6af4eea75b2387d395e8ee2a5eb11eabd3183c4eff0a35979aed1bcba +DIST hypothesis-python-6.20.1.tar.gz 9146416 BLAKE2B ae3e10ffe2853009b8d698e0eae391e05632ba1a3d889dbfb498b8f46c18ec16477daefa9052dc6711f3239f9e83ffc7d52c6ad0c554492a00a55417b583afe7 SHA512 8d23bd0311cd8e81d7fd3851f4a72cc92bea4a07943475d8be9bac9dc9d5096f0d7d5e8ed8b14e64dbdb3c49b7d2c7ecc8d85dfe30d5e6f9f0ed96570ce4ddb0 diff --git a/dev-python/hypothesis/hypothesis-6.20.1.ebuild b/dev-python/hypothesis/hypothesis-6.20.1.ebuild new file mode 100644 index 000000000000..8b48444a4699 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.20.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +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_{7..9}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests --install pytest + +python_prepare() { + if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing + epytest tests/cover tests/pytest tests/quality \ + -p no:pytest-describe \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +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/josepy/Manifest b/dev-python/josepy/Manifest index d192a978fdaa..c8f90be892de 100644 --- a/dev-python/josepy/Manifest +++ b/dev-python/josepy/Manifest @@ -1 +1,2 @@ DIST josepy-1.8.0.tar.gz 57507 BLAKE2B d395f08db9c46d37555f2cc540ab7af79356e32b60763acfa2116cdc08a46e51d75f56e6d393dd28c7dfda5f2012db5f4d5b5cddecf74809a01ca3dfebeb598d SHA512 50cdedfa4cf67055ae65dfeef2328ba7bb369fb8b763b425e4ca73108555c9cd04f12a644309c2f2e1db50e1d227be3bdbd00037e509d2b2d82565c213b81e4e +DIST josepy-1.9.0.tar.gz 56932 BLAKE2B 0de67823c5015f3665323d33c96a97a8611d333e98a8229e847f41ebb6bb81c948001ecd3cbd46220237f40270dbb0e0418676b3c130f1765fe8d420abbd73b7 SHA512 b3a64a579d23aa87323f01ae3859fcb2cd9a699f160e43ebe58c93e11e5d5c5031cd257af1fd0400d982929eb4c06495c9d4fa09580ffcb4f6a4c09d0f191bd8 diff --git a/dev-python/josepy/josepy-1.9.0.ebuild b/dev-python/josepy/josepy-1.9.0.ebuild new file mode 100644 index 000000000000..8c3b0cc123e2 --- /dev/null +++ b/dev-python/josepy/josepy-1.9.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="JOSE protocol implementation in Python" +HOMEPAGE="https://github.com/certbot/josepy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-0.8[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove coverage/flake8 options + sed -i -e '/^addopts =/d' -e '/^flake8-ignore/d' pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 47bf2b6c4ca2..a6f60fdd3f54 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1 +1,2 @@ DIST networkx-2.6.2.tar.gz 1842077 BLAKE2B 8493e2d6a64d140b012ea443e9b1dc2409f8208dc1678c1d21cfd19bbdc07df6e9051aefe994d5fa6460db48320d563bb3051150782545ab5f671b7aafda4d0a SHA512 7006dcd209cce79f0f6cac4884797775422bd90fd3e8abb2eee70e6e00c9a25a785dd5856fc1657019a2b5c13a6fa5f705ea2e650c15a1f9d7d93580bc299219 +DIST networkx-2.6.3.tar.gz 1844862 BLAKE2B 408f97e334c3e0cec6d40d15d6ba8dc3c07cbd162fb31b301696c53ff1d924fd12f60d34df3f1b56fd036f2a344933a3b5c41a1aa2f91e5d5ca39f922cdfc41b SHA512 709b5126039c4b34a9b2ed60723e8bab3f591203f3ae8d87474e0f49f52b94b9c15568c78cc9e05e2bf997bc65a6177762bc41b0a44093ee59f6eaa0087d0f34 diff --git a/dev-python/networkx/networkx-2.6.3.ebuild b/dev-python/networkx/networkx-2.6.3.ebuild new file mode 100644 index 000000000000..fa496dd79558 --- /dev/null +++ b/dev-python/networkx/networkx-2.6.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 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 virtualx + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE="https://networkx.org/ https://github.com/networkx/networkx" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples extras xml yaml" + +RDEPEND=" + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.19[${PYTHON_USEDEP}] + >=dev-python/pandas-1.1[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] + extras? ( + >=dev-python/pydot-1.4.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pygraphviz-1.7[${PYTHON_USEDEP}] + >=sci-libs/gdal-1.10.0[python,${PYTHON_USEDEP}] + ' python3_{8..9}) + ) + xml? ( >=dev-python/lxml-4.5[${PYTHON_USEDEP}] ) + yaml? ( >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + local deselect=() + virtx epytest -p no:django ${deselect[@]/#/--deselect } +} + +python_install_all() { + use examples && dodoc -r examples + + distutils-r1_python_install_all +} diff --git a/dev-python/pydevd/pydevd-2.5.0-r1.ebuild b/dev-python/pydevd/pydevd-2.5.0-r1.ebuild new file mode 100644 index 000000000000..2e3b44150215 --- /dev/null +++ b/dev-python/pydevd/pydevd-2.5.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" +HOMEPAGE="https://github.com/fabioz/PyDev.Debugger/" +SRC_URI="https://github.com/fabioz/PyDev.Debugger/archive/refs/tags/pydev_debugger_${PV//./_}.tar.gz" +S="${WORKDIR}/PyDev.Debugger-pydev_debugger_${PV//./_}" + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~amd64" + +# After removing and recompiling the prebuilt lib the tests fail? +# For some reason the test suite is executing a slightly different gdb command +# then before, which is lacking the file name of the lib that was pre built: +# gdb: No symbol table is loaded. Use the "file" command +# This also happens outside of portage so it is not related to any *FLAGS +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/untangle[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +# Block against the version of debugpy that still bundles pydevd +RDEPEND=" + !<dev-python/debugpy-1.4.2 + sys-devel/gdb +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Clean up some prebuilt files + rm -r third_party || die + cd pydevd_attach_to_process || die + + # Remove these Windows files + rm attach_{amd64,x86}.dll || die + rm inject_dll_{amd64,x86}.exe || die + rm run_code_on_dllmain_{amd64,x86}.dll || die + rm -r windows winappdbg || die + + # Remove these MacOS files + rm attach_x86_64.dylib || die + + # Remove these prebuilt linux files + rm attach_linux_{amd64,x86}.so || die + + cd linux_and_mac || die + rm compile_mac.sh || die +} + +src_compile() { + pushd pydevd_attach_to_process/linux_and_mac || die + # recompile removed file (extracted from compile_linux.sh) + $(tc-getBUILD_CXX) ${CXXFLAGS} ${CFLAGS} -o "attach_linux_${ARCH}.so" \ + -ldl ${LDFLAGS} -nostartfiles attach.cpp || die + mv "attach_linux_${ARCH}.so" ../ || die + popd || die + python_foreach_impl distutils-r1_python_compile +} + +python_install_all() { + distutils-r1_python_install_all + # Remove this duplicate that is installed directly to /usr/ + # These files are also correctly installed to the python site-packages dir + rm -r "${ED}/usr/pydevd_attach_to_process" || die +} diff --git a/dev-python/pydevd/pydevd-2.5.0.ebuild b/dev-python/pydevd/pydevd-2.5.0.ebuild deleted file mode 100644 index c8bc9ec06c0c..000000000000 --- a/dev-python/pydevd/pydevd-2.5.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" -HOMEPAGE="https://github.com/fabioz/PyDev.Debugger/" -SRC_URI="https://github.com/fabioz/PyDev.Debugger/archive/refs/tags/pydev_debugger_${PV//./_}.tar.gz" -S="${WORKDIR}/PyDev.Debugger-pydev_debugger_${PV//./_}" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND="test? ( dev-python/untangle[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -# These files are included pre-built in the sources -# TODO: Investigate what this is and if/how we can compile this properly -QA_PREBUILT=" - /usr/lib/python*/site-packages/pydevd_attach_to_process/attach_linux_*.so -" - -python_prepare_all() { - # AssertionError: TimeoutError (note: error trying to dump threads on timeout). - # TODO: investigate and fix this - sed -i \ - -e 's:test_case_qthread4:_&:' \ - -e 's:test_path_translation:_&:' \ - -e 's:test_asyncio_step_over_basic:_&:' \ - -e 's:test_asyncio_step_over_end_of_function:_&:' \ - -e 's:test_asyncio_step_in:_&:' \ - -e 's:test_asyncio_step_return:_&:' \ - tests_python/test_debugger.py || die - sed -i \ - -e 's:test_evaluate_exception_trace:_&:' \ - -e 's:test_path_translation_and_source_reference:_&:' \ - tests_python/test_debugger_json.py || die - - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - # Remove this duplicate that is installed directly to /usr/ - # These files are also correctly installed to the python site-packages dir - rm -r "${ED}/usr/pydevd_attach_to_process" -} diff --git a/dev-python/pyotherside/pyotherside-1.5.9.ebuild b/dev-python/pyotherside/pyotherside-1.5.9.ebuild index a7bf1043868d..93c412928e27 100644 --- a/dev-python/pyotherside/pyotherside-1.5.9.ebuild +++ b/dev-python/pyotherside/pyotherside-1.5.9.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/thp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" REQUIRED_USE=${PYTHON_REQUIRED_USE} # Requires active X display RESTRICT="test" diff --git a/dev-python/pytest-pylint/pytest-pylint-0.18.0.ebuild b/dev-python/pytest-pylint/pytest-pylint-0.18.0.ebuild index e36b5508b1ae..0d6b41f4fae4 100644 --- a/dev-python/pytest-pylint/pytest-pylint-0.18.0.ebuild +++ b/dev-python/pytest-pylint/pytest-pylint-0.18.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) diff --git a/dev-python/ropemode/metadata.xml b/dev-python/ropemode/metadata.xml index a3cd2f94a690..48ad2f901bf5 100644 --- a/dev-python/ropemode/metadata.xml +++ b/dev-python/ropemode/metadata.xml @@ -9,4 +9,5 @@ <remote-id type="pypi">ropemode</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ropemode/ropemode-0.5.ebuild b/dev-python/ropemode/ropemode-0.5.ebuild index 16609d573f8d..f0cb980cf59b 100644 --- a/dev-python/ropemode/ropemode-0.5.ebuild +++ b/dev-python/ropemode/ropemode-0.5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index 8db098b7654f..39dbceebd319 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1 +1,2 @@ +DIST rq-1.10.tar.gz 598643 BLAKE2B 503c2e45d134434373eb89ce205dc1a82f16e0281c1f872046d51538b3352b0ffeeef72f64991d093f271c276c1a8a3be92fdda4d7db3e083549f69ea7a04560 SHA512 7e2de3e36309eb3c095d34c28d9cba340d0699b8b4b457491d12420bfc1370e0336dc10f4f1115e83ac0ea8884500750895417f8b5c2090105d3c9e32d1b5bec DIST rq-1.9.0.tar.gz 592217 BLAKE2B 831fbc7a3fe23ead59041e2556d37e4aa885a21bffa9aeeb0765382e84b56a2ee6d34a864cb03a9a12274c8ac80b714f10a7752d0bae7a79b8e2e7149be4aea7 SHA512 a2ec7b05fe1dda983cfb30182401c6e5367c54b7649ddcb1d3c6d0f0a5f6583665b39ed7c1cb6bc37d067926f089e3fd80ea7558856233edc1bca8234aa728aa diff --git a/dev-python/rq/rq-1.10.ebuild b/dev-python/rq/rq-1.10.ebuild new file mode 100644 index 000000000000..1c62576fd51f --- /dev/null +++ b/dev-python/rq/rq-1.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +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 ~sparc ~x86" + +RDEPEND=" + >=dev-python/click-5.0[${PYTHON_USEDEP}] + >=dev-python/redis-py-3.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/mock[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/sentry-sdk[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install 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 +} diff --git a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild index e1a2192992db..dc566aedbc35 100644 --- a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild +++ b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild @@ -12,11 +12,11 @@ SRC_URI="https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 arm ~arm64 ~ppc64 ~riscv x86" IUSE="" RDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] + <dev-python/setuptools_scm-6.1.0[${PYTHON_USEDEP}] " BDEPEND="${RDEPEND}" diff --git a/dev-python/sphinx-notfound-page/sphinx-notfound-page-0.7.1.ebuild b/dev-python/sphinx-notfound-page/sphinx-notfound-page-0.7.1.ebuild index 62824f9affea..67d865498590 100644 --- a/dev-python/sphinx-notfound-page/sphinx-notfound-page-0.7.1.ebuild +++ b/dev-python/sphinx-notfound-page/sphinx-notfound-page-0.7.1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos" RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" diff --git a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.8.0.ebuild b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.8.0.ebuild index 3ce1a7276bcd..023711ad877a 100644 --- a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.8.0.ebuild +++ b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.8.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] |
