diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-22 05:42:30 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-22 05:42:30 +0000 |
| commit | e89f32fc0fc7e694f9be8067434f252dadde5c94 (patch) | |
| tree | 09ec6a1746de47d11b9b87b71e2c84ffd79e3472 /dev-python | |
| parent | 26b1c7e47419868c8803ab712c2d4a04fea76e89 (diff) | |
| download | baldeagleos-repo-e89f32fc0fc7e694f9be8067434f252dadde5c94.tar.gz baldeagleos-repo-e89f32fc0fc7e694f9be8067434f252dadde5c94.tar.xz baldeagleos-repo-e89f32fc0fc7e694f9be8067434f252dadde5c94.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/beartype/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/beartype/beartype-0.18.2.ebuild | 40 | ||||
| -rw-r--r-- | dev-python/beartype/beartype-0.18.3.ebuild | 40 | ||||
| -rw-r--r-- | dev-python/beartype/beartype-0.18.5.ebuild (renamed from dev-python/beartype/beartype-0.18.0.ebuild) | 0 | ||||
| -rw-r--r-- | dev-python/emoji/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/emoji/emoji-2.11.1.ebuild (renamed from dev-python/emoji/emoji-2.10.1.ebuild) | 0 | ||||
| -rw-r--r-- | dev-python/h5py/h5py-3.11.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/hatchling/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hatchling/hatchling-1.24.2.ebuild | 92 | ||||
| -rw-r--r-- | dev-python/libtmux/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/libtmux/libtmux-0.37.0.ebuild | 62 | ||||
| -rw-r--r-- | dev-python/pyqtgraph/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild | 74 | ||||
| -rw-r--r-- | dev-python/scikit-build-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/scikit-build-core/scikit-build-core-0.9.2.ebuild | 61 |
15 files changed, 296 insertions, 85 deletions
diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index acc9ae7bbcd9..f8fedf0df14a 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,5 +1,3 @@ DIST beartype-0.17.2.tar.gz 1133779 BLAKE2B 61cb21511cbf9274e6e3eb1441bd32eb068b722c4fec1accadeed7aeaf8d26748a4b0adc79e8b9c45bfa8048ccffeef8e2e3506a2b651612b8fcdc6bb6c2953a SHA512 90953abeb80b512a0e127e24f7896b350a243d8593a3d9f0b8508f0e5e8595a8b85a8b28326c2c15dd12779adeb74d1b8637cb646b1e27fea8c95b8d4811d804 -DIST beartype-0.18.0.tar.gz 1173664 BLAKE2B 8c5a1131ccc06ef43e354ef9300ed4f170a8d7b9df4b435345c7e5ec4b7637c0b605c525f3c00033d32425dc9b1e2ae853f5662418053f77939671d113c25f0e SHA512 304dda79941bb458445c63e05d447896c2f8b49db95787fe059b6b25f4aa863fc1cbee1e1b13af22dfe22c2359c83da61632ced03ee4391832ffbf88b5f541a1 -DIST beartype-0.18.2.tar.gz 1174624 BLAKE2B c3099c5569bf6090b33e637c1cacb829900705ad838ad24413cedce96cfb6c7e3ad8cf3d92741ef83f7b88eb3c056c0efff3ebf1f77c9c970193f3873629e398 SHA512 ff26366d210b365fab10af77018ab64ec77d7beed14eb8de5da5711f170b95f862ed5070f7b3aa7a1e66355745309829305cd9db2020b39eae806e0e2af85014 -DIST beartype-0.18.3.tar.gz 1187710 BLAKE2B 01ccf33585b8b8ff457ff5c039aac5128ac237ff866a63593fc22bb4eef22291a3b7829cbb46a9350e88755e81c5e5d3bbabebb4c590e10c5818f6ab2dd15402 SHA512 05ae3e528f415a78e0ffc64be34835f3dd432ec387fccbbe18dadd73b4d2684b749c782e70c291830021c4ab10e6716fe25079e489929e54eef32fb4866a45dc DIST beartype-0.18.4.tar.gz 1188521 BLAKE2B 1756d6ad8a4e8b8b67c92b336c520fdc0caef4f43653f5605e4974741ffab050de94bc8740b2311887b9f177e428d86ef757b7cf8cd09c9ce309da1a617eab14 SHA512 4555df977433067dbaaecd77b8edcc721695dbeb8f2005e708659efe62cc936abcf62020874db7583d8e3b1fa8720472945252e099bdf4f04a057bd95ac31fa9 +DIST beartype-0.18.5.tar.gz 1193506 BLAKE2B 497de6f326a3b600992748db8b74ba80d4a14003a0cc484b3eeaf48f0f808864fe64462ef3315d421dc4b5fe5d7060b48585ee00eb822c9f124612f394ab93bb SHA512 114b256619c6c7fc48fbe28db00ae5a8ddea4ce11c5394a06fa026f0317a34907ff12ef0c0009cff7a7b83742e6b66bc8b503b4c0e382c0b6cf79d43780bda5b diff --git a/dev-python/beartype/beartype-0.18.2.ebuild b/dev-python/beartype/beartype-0.18.2.ebuild deleted file mode 100644 index eb0e0c33e568..000000000000 --- a/dev-python/beartype/beartype-0.18.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/beartype/beartype-0.18.3.ebuild b/dev-python/beartype/beartype-0.18.3.ebuild deleted file mode 100644 index eb0e0c33e568..000000000000 --- a/dev-python/beartype/beartype-0.18.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/beartype/beartype-0.18.0.ebuild b/dev-python/beartype/beartype-0.18.5.ebuild index eb0e0c33e568..eb0e0c33e568 100644 --- a/dev-python/beartype/beartype-0.18.0.ebuild +++ b/dev-python/beartype/beartype-0.18.5.ebuild diff --git a/dev-python/emoji/Manifest b/dev-python/emoji/Manifest index dc0d107ae04e..d59c4643cf95 100644 --- a/dev-python/emoji/Manifest +++ b/dev-python/emoji/Manifest @@ -1,2 +1,2 @@ -DIST emoji-2.10.1.gh.tar.gz 489388 BLAKE2B 50cf422b77e92ac7f4f395775d78428c24d061bedb8fe80291b7147eb21bc6423d9d9f3733b651b5632fd2e93516930f5be1413dfb3de81354fd077565332592 SHA512 d4e5a2f434a916e47c78ffffda277d239da57aa028e53b2d92507d1f0274540fc613b9fc6ce6b5d60b48813eda1e6d9b6b3e102aea4fca8df722a5d2e5827c25 DIST emoji-2.11.0.gh.tar.gz 502049 BLAKE2B fe5ecfd85cbdf4812818538c601ae42e7fe50ab01da95af6f1a1f68cf11b9e4dfe8e66a191990f28bb92f5f21807c4fab80035488debe7cf90dedc6e132be189 SHA512 2b8263dcb84a73a54c17b63a878d2f6446b41742fd3148d0be6124acc176c97a6b5cdae72bd9bb22b7a384896a8f875f7dd6962cc5bd72700f9b7e5d568c7fd4 +DIST emoji-2.11.1.gh.tar.gz 502076 BLAKE2B 96ceee9822670ffafcd283535c1af89c7fa71f386ff62ed3417f9794298f5310aeebe75a71c5b11f00b0159cc1c4e111bd9b7701d704ce0b02ee98739c0eb3d4 SHA512 c200e3b143569ba6890b5c83721d9c8fbd76288e05e8d8dad02b853adc79fab5886a6a9606fd361430c9cd42689c24f05583bbe1c4aeff520fff4591aa443af5 diff --git a/dev-python/emoji/emoji-2.10.1.ebuild b/dev-python/emoji/emoji-2.11.1.ebuild index 8703352a4b2a..8703352a4b2a 100644 --- a/dev-python/emoji/emoji-2.10.1.ebuild +++ b/dev-python/emoji/emoji-2.11.1.ebuild diff --git a/dev-python/h5py/h5py-3.11.0.ebuild b/dev-python/h5py/h5py-3.11.0.ebuild index 0b068514bc9d..4384c2247435 100644 --- a/dev-python/h5py/h5py-3.11.0.ebuild +++ b/dev-python/h5py/h5py-3.11.0.ebuild @@ -23,11 +23,11 @@ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x IUSE="examples" DEPEND=" + >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}] >=sci-libs/hdf5-1.10.4:=[hl(+)] " RDEPEND=" ${DEPEND} - >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index 43b1b48cc526..240c220ac376 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1,3 +1,4 @@ DIST hatch-hatchling-v1.22.5.gh.tar.gz 782757 BLAKE2B 3431ef7c4e5f0754e51507e29d88ed0277b530d220eb75bdeab459d88172ba51de3cf2456074fa88483cc89e72726f3e147b97e995f9ccaf699b6c2699776a8c SHA512 d4e77872e34e3aba3fce286f911861b795005c37550a2ca72a83216cea67d53be891afc8861b11582c66d38748f9c8d4980548d216c0fb21b2b4e1cadc314e58 DIST hatch-hatchling-v1.23.0.gh.tar.gz 802345 BLAKE2B 571ae18bda737acf05bd830c4d835b2c785a595844cefbed030383e9ede166b0cd8bba2d7a6e0a4c7b504be825fbca4fa89861e9ae265e9a24bc756025da8d07 SHA512 ed504577d856e42b46ab861972cfb1c47589ae85887c2fc0aa78ded7a2f1cc8eaef796b9331d4ff853a86b6d808080b15d11943775c600c5d10b191ae65cb400 DIST hatch-hatchling-v1.24.1.gh.tar.gz 803276 BLAKE2B 61966dbc170ef2b130ae49f78e9c99f81eedc69f6d7f30b28c48be8a2d6aa17f128ca08adc3740c3dead0da30581208b967a3b8e02fd5d3f3f46ab9be1813460 SHA512 47c6f93072f82b15c56eb61b342cde44bb34cc23b89ac426120215ae71ea956380a1a66d12a70a11088df921c0df31a448bb40953e2e3bb32c74ed34a94b9640 +DIST hatch-hatchling-v1.24.2.gh.tar.gz 1054297 BLAKE2B b2da7dc3f3d58998b57d6ee625a2b7e890afc078c0d8f6cb9c332480df561090bb8bc255e3e60d5d25fa55001869429f822014891fe1cec0098b61fbe02efe52 SHA512 e83f57089707a267685c9cac7f29cd5862adec62f6346097aa62bd5b3b9f7222621b2ea71004dd52f62798dab71bcf05c33a2c43dbe39d1bbc5f4a4f99f28c40 diff --git a/dev-python/hatchling/hatchling-1.24.2.ebuild b/dev-python/hatchling/hatchling-1.24.2.ebuild new file mode 100644 index 000000000000..bcffd69fd58f --- /dev/null +++ b/dev-python/hatchling/hatchling-1.24.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/pypa/hatch/ +" +SRC_URI=" + https://github.com/pypa/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# deps are listed in backend/src/hatchling/ouroboros.py +# editables are optional but required for editable installs +RDEPEND=" + >=dev-python/editables-0.3[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +# always depend on the newest version available, at least until upstream +# stops treating unknown classifiers as a fatal error +# https://github.com/pypa/hatch/issues/1368 +RDEPEND+=" + >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x EPYTEST_DESELECT=( + # these run pip to install stuff + tests/backend/dep/test_core.py::test_dependency_found + tests/backend/dep/test_core.py::test_extra_met + tests/backend/dep/test_core.py::test_extra_no_dependencies + tests/backend/dep/test_core.py::test_extra_unmet + tests/backend/dep/test_core.py::test_unknown_extra + tests/backend/dep/test_core.py::test_version_unmet + # broken if CARGO is set + tests/backend/builders/test_binary.py::TestBuildBootstrap::test_no_cargo + ) + + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + local -x PYTHONPATH="src:${PYTHONPATH}" + # sigh; standalone test suites are overrated, right? + echo "__version__ = '${PV}'" > src/hatch/_version.py || die + # tests mock cargo subprocess call but the backend raises if CARGO + # is not set and shutil.which() can't find it + local -x CARGO=cargo + epytest tests/backend +} diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 58dd02031fb4..5ae36e7af8b9 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -8,3 +8,4 @@ DIST libtmux-0.33.0.gh.tar.gz 282114 BLAKE2B d1b9b1e0789c81dab17a1d0be3708f34388 DIST libtmux-0.35.0.gh.tar.gz 282514 BLAKE2B b940e3833a54f949a73e19e1c8cdb97f91300425b4eff9f5b4ed0b60bfb117d0c670f3e450937bb453e0a7c2b7c623691d1ad8c42611bc486d65992680cbed9a SHA512 a847a5cd14f0daefaa7582610bcc5ab707aed16b73e4ff53f630bd27794dbdabf1c1d42635d30a3e3823413be79e9c2fcf3710096080b0eac3c49adecb816d59 DIST libtmux-0.35.1.gh.tar.gz 282665 BLAKE2B 7b28e4a4dbbea86102aa37bc1bca6d7de7d184b999dd4cbbe739770a32e0bcc5069f5822a79af426f41dc9ad25fda0cb3e23cba7a5b340b88259d552cb380356 SHA512 400eb10594032e9387a7408626d3be3281fdcb66ed06cc839732ccb39278c20f3f8d8f07e88ea03876a5afe38cb567e585c45716b1edb12cc8f6a89f20873a34 DIST libtmux-0.36.0.gh.tar.gz 282828 BLAKE2B 247f98ae47093090187f2d52792f850f7476427b368f46970ef3fe9bd6449c03ac23101c8c7af711167bbd92e9e2cff3754474375dabd48157154ed89975a71a SHA512 2fa16a55d4b46461d1266179cfa6cf8d710fdbe435369ff195a683a96243b2b7cd2fbeb47b88e3a660c23d3ca57e1c2722bc12492c52ee0961a1c5cc99ceb093 +DIST libtmux-0.37.0.gh.tar.gz 283496 BLAKE2B ef8c9c05cc20f549fc13ffb05276e1ba5b24c366c9cf44eb5ffe609cfe0e603ab7a90747b5df03afa62a6a9d8c81904e7fa7e4598092d3b11c0e9295e413d88d SHA512 8876ad13613d367d6a6ea5945b5a0a495460b5ad68a14d89d20a41f0e5b421e0007041e4e8356e88a8eefb2b2422be306aebd2452e3be556f1cc4fd232327499 diff --git a/dev-python/libtmux/libtmux-0.37.0.ebuild b/dev-python/libtmux/libtmux-0.37.0.ebuild new file mode 100644 index 000000000000..4d09659b6750 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.37.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" +SRC_URI=" + https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + + # increase timeouts for tests + sed -e 's/0.01/0.1/' -i tests/test_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=libtmux.pytest_plugin + + local EPYTEST_DESELECT=( + # flaky tests + tests/legacy_api/test_test.py::test_function_times_out + tests/legacy_api/test_test.py::test_function_times_out_no_raise + tests/legacy_api/test_test.py::test_function_times_out_no_raise_assert + ) + epytest -o addopts= -p pytest_mock -p rerunfailures tests +} diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 3ef345640dae..409be271eee6 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1,3 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 +DIST pyqtgraph-0.13.6.gh.tar.gz 2388348 BLAKE2B e0050e240b80be2448ebb998f3ea9bd51489c906512c2cb4c3e0684d6b57d093362c60eafff4aaea9262c9fa7464ffde32e8159e2694671ffe70109b5e412eef SHA512 e77a054494a01ce848685547811ad398e0c77f747c26f9f4be798465f874bfeb23f6c2e507ad1175bb747e3c9c2f0d22747eefda476c4e8c72fa892fa0bb4730 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild new file mode 100644 index 000000000000..99f2c1148dd3 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE=" + https://www.pyqtgraph.org/ + https://github.com/pyqtgraph/pyqtgraph/ + https://pypi.org/project/pyqtgraph/ +" +SRC_URI=" + https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/exporters/test_svg.py::test_plotscene + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xvfb +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 7147971275a3..3ab5faa12cf4 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,3 +1,4 @@ DIST scikit_build_core-0.8.2.tar.gz 203630 BLAKE2B 7093fd02891fe225ffee1b6da7800e49eb71c6468947fff1a80015eda8c9940f117196dfd067d0ea274d9958f8f13681ccd859f95ce9bf6a7d72eedc367489f3 SHA512 4b33936912806b5f607492d253d5cc6b2523d4892043caad82fed76140e53a0e9dec8178811a618cdc9b64f247e37145d474eb1979d181dd595b4905def1da8f DIST scikit_build_core-0.9.0.tar.gz 224820 BLAKE2B 1221745656016ac90f1ac8bf9fb0d43c9f6f2dbd366b70522e2c8bcc15da87d64fc0ae84a583b811faa4cae638b9ab9d3987b21bccb29698fffb3d83cb26d881 SHA512 6d8dbb902a37c7d75f4e0c6d237f0aff6e6bcf08d0757bcef5d854b62b1ba3c562065aff7e87f0860803d4e768d0f6b2c4e866ae992b4fa510f0bee8d516431e DIST scikit_build_core-0.9.1.tar.gz 224992 BLAKE2B aaa02572c278138ba2463e42e4514647f9617cb257cdcb6f86a9a97e332967a867a2da97c2407388eae566a998496f6e712781d6e8af960a9fde4e8771baf41f SHA512 8e4632694f862db1fcc05d3c5844fee601ea975f2f3fd548d214d12bfb19e8f200aed199ed04142c37b3454e0ba077e658d85d976ceba875f2642f2d13a3f8c2 +DIST scikit_build_core-0.9.2.tar.gz 225078 BLAKE2B 8d50e82754013f23a2216d269757fce5b56c5fa99e2f3b93e3bb65e50730799f2874d0eaa71681e248eeb30c443cde03a5bd447732b764852f2069ed18ea98d3 SHA512 c94cb9b109c994bedaba0e82de15caaf4fc4ae5c08375324aeb60f8d05911cc958a70c0430d35b23ad9792d39ab0312ff607b0587cd55eb4fe68ae4f28eed1d9 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.2.ebuild new file mode 100644 index 000000000000..d28037667b7b --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Build backend for CMake based projects" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build-core/ + https://pypi.org/project/scikit-build-core/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/fastjsonschema[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local _EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + # setuptools now respects PEP 625 + tests/test_setuptools_pep517.py::test_pep517_sdist + ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p subprocess -m "not isolated and not network" +} |
