mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 00:28:09 -07:00
Merge updates from master
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 multiprocessing pypi
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC"
|
||||
HOMEPAGE="
|
||||
@@ -29,11 +29,12 @@ RDEPEND="
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( AUTHORS.rst README.rst )
|
||||
@@ -43,8 +44,3 @@ src_prepare() {
|
||||
sed -i -e '/wheel/d' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -29,6 +29,7 @@ BDEPEND="
|
||||
test? ( dev-python/h5py[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -30,11 +30,11 @@ BDEPEND="
|
||||
test? (
|
||||
dev-python/jupyter-kernel-test[${PYTHON_USEDEP}]
|
||||
dev-python/pydot[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-timeout )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST mkdocs-htmlproofer-plugin-1.3.0.gh.tar.gz 16017 BLAKE2B 603f8c80ff5539c9495876e5eaa1701a3f2a2f8ef098be3bc1f85c522103cf5d578cfc4b89748f0da2242d4d0953e8dc5a223c211a691f2ac7ddbb300fad04c5 SHA512 ab8f34bea6c76879cf9a55780425cef24ad45d7c9a606999066003d9e4ad3446f5c9bcfcc96cce6946da1368dfb2788a08bbea228c8485611750dc2f67dd0c5e
|
||||
DIST mkdocs-htmlproofer-plugin-1.4.0.gh.tar.gz 16335 BLAKE2B d34181c6c408b02250a544b9c86497466483006711b8c76af42402781b1159007761d16b6d86a8d18a650acc0878ff07f94a76ac0ddc2b05d439fe01606c21fd SHA512 ed1f57be886d15907746f4bb6c40144c4c30b7179346bbd0197845a3f5038f26e7dba0d907fee7d561dd7c9012408386666d179b9ee9c36945c6660859578d77
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A MkDocs plugin that validates URLs in rendered HTML files"
|
||||
HOMEPAGE="
|
||||
https://github.com/manuzhang/mkdocs-htmlproofer-plugin/
|
||||
https://pypi.org/project/mkdocs-htmlproofer-plugin/
|
||||
"
|
||||
# No tests in PyPI tarballs
|
||||
SRC_URI="
|
||||
https://github.com/manuzhang/mkdocs-htmlproofer-plugin/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocs-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
@@ -1 +1,2 @@
|
||||
DIST pysnmp-7.1.21.gh.tar.gz 471713 BLAKE2B 11223cc35043aee87b527438152f17af7920c8ac8364bcaa4bb97ae2f53f6e0f93861ce2f5fa0cbe84eb4661b63871304e22320d4327aed89869a25a3c4b1458 SHA512 65e609690d08b2db8ab497fa4a974e4bc90630891ff80b28351e74d17f1da654a0aa309226658731ad315cce192c6e9e36d9bcbbf87270c9c48dc187df36b03a
|
||||
DIST pysnmp-7.1.22.gh.tar.gz 463898 BLAKE2B 3e43fe160757b251fc01a2d1f71435d9e32037611361f06fa66ca3e968079ed68c646210c41593543c28a28f312c19ad7905447dc91e37c515aa9d0ba1d7b05d SHA512 f77690c2f269e76c8a2f556e86207af9ccb1ecf608f1748e2fad1e01b0795b133019957e6956027a394cd7c36f45e105eb89ef3a71750266f6839bcdfc49cb95
|
||||
|
||||
49
dev-python/pysnmp/pysnmp-7.1.22.ebuild
Normal file
49
dev-python/pysnmp/pysnmp-7.1.22.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python SNMP library"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pysnmp/
|
||||
https://github.com/lextudio/pysnmp/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-asyncio )
|
||||
distutils_enable_tests pytest
|
||||
# TODO
|
||||
# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2
|
||||
)
|
||||
|
||||
mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die
|
||||
mibdump LEXTUDIO-TEST-MIB || die
|
||||
mibdump NET-SNMP-EXAMPLES-MIB || die
|
||||
mibdump IF-MIB || die
|
||||
epytest
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST serpent-1.41.tar.gz 88927 BLAKE2B 738c0e3ff3ff908514a54523aa41bcda3aa4426d0426037a0223ddb744995bf9175de96df2372506aaf45de664897e35cd7292b9aa58beab146f225ce02864f1 SHA512 cab6f9e36d2f777e58cd5f3d1dd6e11626e0f222ecb2adb8e5997338c76ed357c461dadd00010cfd43ffc6a0b1addd7de06d86b7a82ca796719e4bde2d9f4813
|
||||
DIST serpent-1.42.tar.gz 90352 BLAKE2B 1b1f8eb284c395134f48ebf5d5db3816f91e06bc8b2333971d71b4ec9ba0d883e6ecd999afa8a857f91a9559bd828378fe24cfc8c217f38f6274583d66c5f7af SHA512 a01b68ccb59d8f4b2b6d2dad031429ce7ffc81c6f64bc7fcc464e38205f2caba3be879facefe0f6e33d1c66e515c7dc19b7cb5d68d829d01dd488b3bccdb2596
|
||||
|
||||
34
dev-python/serpent/serpent-1.42.ebuild
Normal file
34
dev-python/serpent/serpent-1.42.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A simple serialization library based on ast.literal_eval"
|
||||
HOMEPAGE="
|
||||
https://github.com/irmen/Serpent/
|
||||
https://pypi.org/project/serpent/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
eunittest tests
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
DIST spyder-kernels-3.0.5.gh.tar.gz 240411 BLAKE2B 28600b359fc12f8b3ffe01545a98b2fd3ec7f832e7ca5aa58f809825d7f1060ecc5929a72d615c2543b6b34685ee03b521cd087dd58725315a68e1188b72cd3c SHA512 4aaf57e7e4dc7c985f2c0e64aad6080370f1cf012ef72f49dcaaa5daed4b6b5e0c5cbcde88e127b136c87e3ae17314212dd56f89801edd87382da8d06caa9662
|
||||
DIST spyder-kernels-3.1.0.gh.tar.gz 245742 BLAKE2B e1a8af48aa7436957cb81a785b0a8f6a67c7edd623a4070371cfbe7a57790e9cebd62fc3cd9d4a0ddb60dcbe3c5fef01df0bad19f48cba9dd2299ef09f46871b SHA512 26b95548c4f6b27e22d9624ea2a9af9a1c3685fea6ca2ee2e88a6f9e0e2c983f3abf1ae649c991d72ad898f87c20ae1b75c5876f2297df41b9c28cfd3f3a03f0
|
||||
DIST spyder-kernels-3.1.1.gh.tar.gz 246032 BLAKE2B d48e6eb5ca9268f2a66204c5c50359cea155b3ca3431bb8cecedd2cbffeff33eddc7e1d02be1963986efa2f0944407f8b0246fce953e85bab58bb91a493bc286 SHA512 69cdeb12f1352f782220ebad3f3f9db2386235149c56f646d5668822ee7a3074a9cfe1e27ea7dd1fc18a6ae2f4cf8e648dd3f65006af89ef43f40848bc21199c
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/_beta/b}
|
||||
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/${PN}/archive/refs/tags/v${PV/_beta/b}.tar.gz -> ${MY_P}.gh.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||
<dev-python/ipykernel-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}]
|
||||
<dev-python/ipython-10[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-9.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jupyter-client-9[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.14.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/xarray[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( anyio pytest-rerunfailures )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# pydicom only packaged in ::sci at the moment
|
||||
spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files
|
||||
|
||||
# require polars
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_get_value_with_polars
|
||||
spyder_kernels/utils/tests/test_nsview.py::test_polars_dataframe
|
||||
)
|
||||
local EPYTEST_IGNORE=()
|
||||
|
||||
if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=(
|
||||
# require pandas
|
||||
spyder_kernels/utils/tests/test_nsview.py
|
||||
)
|
||||
fi
|
||||
|
||||
if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# require hdf5
|
||||
spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files
|
||||
spyder_kernels/utils/tests/test_dochelpers.py
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST zope_schema-7.1.tar.gz 109864 BLAKE2B 26dccb457128df88700354f0b10895fb898e082010730c714ae8d116d5f85d66cefb5274a6202357a3316b8ae40ecf930fde1a2cd5a01d158926cef6732de822 SHA512 4a462e3e5897377a07f75f2f07a8fc116e7ccf94c4660207d2d0be0c5883f1eb339ec93489958da3019fe150459762a4d62062ac876b1dadbf7449e7899a18ca
|
||||
DIST zope_schema-8.0.tar.gz 109823 BLAKE2B d3f4b73037c8667ac494f1baa777797ad0f39e6c58367f3b222eaced9acc9156305503e2362df1ebca3dda5777d5bc6d05203da868482cb40cc3bafcc7ad4c81 SHA512 bc1dc2cfbbb5cf91627003d1cfd67c355d7a501935ab87cb73a745c3743be55a67369090d4286018a5e027774dd893532fd57636b62b331069bbee5d6ae7ec23
|
||||
DIST zope_schema-8.1.tar.gz 109902 BLAKE2B 1b55ec0e761b6a07668112c98297400b3fd0fcf73d4c8184adf88f8220e898d2f3fc147414b9b6b357fcb3c52a53f9016fef6442f614f7b56a0385b75c4995b5 SHA512 832541957c2c4222f044ba3bdd062b5a9cd6413b132df8066507299f0674fba919469acbab6d266ae4e0cde7f6ca676553c7083ee4b1413aa4c656379af639cb
|
||||
|
||||
37
dev-python/zope-schema/zope-schema-8.1.ebuild
Normal file
37
dev-python/zope-schema/zope-schema-8.1.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_PN=${PN/-/.}
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Zope schema Architecture"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/zope.schema/
|
||||
https://github.com/zopefoundation/zope.schema/
|
||||
"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
>=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/zope-i18nmessageid[${PYTHON_USEDEP}]
|
||||
dev-python/zope-testing[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope"
|
||||
}
|
||||
Reference in New Issue
Block a user