diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-14 18:54:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-14 18:54:34 +0000 |
| commit | 7b48db5a2a7d60dc52fc7b161ac2f770cd31406c (patch) | |
| tree | d67cb54213ff31c938b50613d2a15a4a8e1d4ece /dev-python | |
| parent | f676f547018ac45e59fea8b12226122ce8bf41d0 (diff) | |
| download | baldeagleos-repo-7b48db5a2a7d60dc52fc7b161ac2f770cd31406c.tar.gz baldeagleos-repo-7b48db5a2a7d60dc52fc7b161ac2f770cd31406c.tar.xz baldeagleos-repo-7b48db5a2a7d60dc52fc7b161ac2f770cd31406c.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/django-crispy-forms/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/django-crispy-forms/django-crispy-forms-2.2.ebuild | 36 | ||||
| -rw-r--r-- | dev-python/django-crispy-forms/django-crispy-forms-2.3.ebuild | 36 | ||||
| -rw-r--r-- | dev-python/inline-snapshot/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/inline-snapshot/inline-snapshot-0.22.2.ebuild | 63 | ||||
| -rw-r--r-- | dev-python/nbxmpp/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/nbxmpp/nbxmpp-6.1.1.ebuild (renamed from dev-python/nbxmpp/nbxmpp-5.0.4.ebuild) | 4 | ||||
| -rw-r--r-- | dev-python/pyscard/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyscard/pyscard-2.2.2.ebuild | 41 | ||||
| -rw-r--r-- | dev-python/python-tests/python-tests-3.11.12.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/python-tests/python-tests-3.12.10.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/python-tests/python-tests-3.13.3.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/rq/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/rq/rq-2.3.2.ebuild | 76 | ||||
| -rw-r--r-- | dev-python/xmlschema/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/xmlschema/xmlschema-4.0.1.ebuild | 38 |
16 files changed, 228 insertions, 80 deletions
diff --git a/dev-python/django-crispy-forms/Manifest b/dev-python/django-crispy-forms/Manifest index a6d255e58524..6f2c05922c6f 100644 --- a/dev-python/django-crispy-forms/Manifest +++ b/dev-python/django-crispy-forms/Manifest @@ -1,3 +1 @@ -DIST django-crispy-forms-2.2.gh.tar.gz 274957 BLAKE2B bb80affa2050c1eee3bb706ab5fc48555676cf118b78ff4d28031c1df9c0e8adba9f1638cbea7f87c4edd2d655fb1a00de30b64e073b1f0f9b35a6103d9b9c08 SHA512 a379fbd1b9916aa3123a4c1af5c9da4916573c57b2e575cb189fe8cba23718490c9130ff55e7ae80dbb3d9476d449daf1f8c9f8caec80f394601af6246615f24 -DIST django-crispy-forms-2.3.gh.tar.gz 274969 BLAKE2B 0a9c24c4aec43b35fd9596c1e23bb5e3988b36398f50a7155360929c41a6e0fdb388ae3c12673fc761c91f0315195f69389d021aef94c2b14a245c706f328599 SHA512 1c5ad8a64a6f8175a6d5eb56b244d856c8aab1ebcc8c4b549aebfa4711128d1401ad0f625ca68c10fb1b0be9656c662e865e783994f323f87e5b08da4bd0585a DIST django-crispy-forms-2.4.gh.tar.gz 275076 BLAKE2B 00c1344c7b972d8332f94a338540da22668292cfb8941969d3c1fc1eb28856c245e7380449c15d969be7af04254c8ebeb26bc513a16e120965da7a8a60315562 SHA512 a87ef27b6cd2f6a3c76116a474837720249099a5674080d89c0e8a77ce2ce69d2c5ecd1b4b418b7116cdaa212c564a7bc1ca3377e0189d7620655c1e43858517 diff --git a/dev-python/django-crispy-forms/django-crispy-forms-2.2.ebuild b/dev-python/django-crispy-forms/django-crispy-forms-2.2.ebuild deleted file mode 100644 index b07f3dbb0a15..000000000000 --- a/dev-python/django-crispy-forms/django-crispy-forms-2.2.ebuild +++ /dev/null @@ -1,36 +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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="DRY Django forms" -HOMEPAGE=" - https://github.com/django-crispy-forms/django-crispy-forms/ - https://pypi.org/project/django-crispy-forms/ -" -SRC_URI=" - https://github.com/django-crispy-forms/django-crispy-forms/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/django-4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/crispy-bootstrap3[${PYTHON_USEDEP}] - dev-python/crispy-bootstrap4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/django-crispy-forms/django-crispy-forms-2.3.ebuild b/dev-python/django-crispy-forms/django-crispy-forms-2.3.ebuild deleted file mode 100644 index b07f3dbb0a15..000000000000 --- a/dev-python/django-crispy-forms/django-crispy-forms-2.3.ebuild +++ /dev/null @@ -1,36 +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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="DRY Django forms" -HOMEPAGE=" - https://github.com/django-crispy-forms/django-crispy-forms/ - https://pypi.org/project/django-crispy-forms/ -" -SRC_URI=" - https://github.com/django-crispy-forms/django-crispy-forms/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/django-4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/crispy-bootstrap3[${PYTHON_USEDEP}] - dev-python/crispy-bootstrap4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index f5641e5cc18b..4b383a6db9cd 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,3 +1,4 @@ DIST inline_snapshot-0.20.10.tar.gz 92902 BLAKE2B 74a1f89e92bbce25eb08837524e819fdeccf6ef24c19b2344a3b54a3a95b50855be15aa1f0f6188e1da34887df800829efb05daa6df68d6386f77e11f9b1a87a SHA512 ae8f5833e9334ec7cd9e76d3149a5a05212e2255b817aea1174babe47ced163da579007c2b7d0111b4de29282062b2b32a737d36602baa59c617bba244687011 DIST inline_snapshot-0.21.3.tar.gz 254753 BLAKE2B 5b9dd20fd8844c3b63de9f39fdc9e6fd4be1e208006bb4ffdb9e3a643412de5ac8314ff383836d96dfab819c660ca453a417dd85f4626f5c4450f763844c5cc0 SHA512 e77bebe7026700fad239b8d294f0cec0e37f309af6c5584eddaef23d6b54f521b3acb8e499238c9953ecf43275c32f2643a67348ee29403cd9262d054ae21dec DIST inline_snapshot-0.22.1.tar.gz 258823 BLAKE2B 9929a5f01245db35ef5671961eb0c364b4f34adad8bfc64a7bff808ba7d305133339c20ab803682a0983c652b3e3998a0779f7e083505f83cc4fa935b667c2e6 SHA512 33e0d2203705419808a7175bc48bb1d2a85b21decaab6c579e3ae99c74c33365dfb88f0ba735b54700adc6ade0389f471f890739ebfeba4e8dc4195fde17ce4b +DIST inline_snapshot-0.22.2.tar.gz 259363 BLAKE2B 6c18b28c1a52a39fd8e1e1479d001b2bcea6de720d27c72bd67d86ecaf7027af69673466193494452c09cc4b64b9fb51dc9f90b490fc61d90a7390dcd320fb83 SHA512 59e11b990b1e37c15b82e3c85035a6dc850b59c174206636a61e050e49d6c41c5e5886c3c15dd334f1cdb4baee8610db700504023ee0fa08ec7313d71341e09d diff --git a/dev-python/inline-snapshot/inline-snapshot-0.22.2.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.22.2.ebuild new file mode 100644 index 000000000000..f6e9b5488ace --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.22.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin + local -x PYTHONPATH=${S}/src + epytest -p pytest_mock +} diff --git a/dev-python/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index 57c6939ab7ed..c00ab8b8efb3 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,4 +1,4 @@ DIST python-nbxmpp-4.5.4.tar.bz2 138170 BLAKE2B 00a4919032dd29828dc735695afe9c0814a8fe2ec765a534257768896d9f27bc3a395275d546ad717bdd16c97161e8f0a8acaf43cdb7bd9404e40bc72f2c3da5 SHA512 fcaedae519d8cd2d52cc65721ab1e743569ba1cf7c29f2db41ed5671ba0f2c5b47f1f6d9521e1614e89e21512a4575c6788316cdb86936f0c4886d54c3831bb3 -DIST python-nbxmpp-5.0.4.tar.bz2 143198 BLAKE2B ac27204205ded7e0d20237ee7f70e5f84f8f4ada54951e209a30c59390fe166ef296875e45dd74216a04ba78d35968667d4f126967d97c57dd1533ce4d9edd0e SHA512 a6672b4046c2de596ca92129782574528d14ee75a7982bb32db398628e3901c8e780b8a33fac2710d13367a0990ba21ef148c255fa77dee219c6bbd0c453d935 DIST python-nbxmpp-6.0.2.tar.bz2 152154 BLAKE2B 1a6adebc1e6026fa0cd37a5ad7d430ef124b9eda5664a420ca9d6a059a1edb7154585331c91892c58f336db84bd457d937ab87a24945ab56d2ecaa17736d6030 SHA512 f91308ac627cc43bba55b7eee06978dfefe0a7d17509b3db190ea237a90df49aa9b3911f01b39061980477d4f7c09bb4356823b98595fd6e8423f232f8fb8319 DIST python-nbxmpp-6.1.0.tar.bz2 152207 BLAKE2B 4b8364c15e37a11f0dd4ffa4b1896a5dd6de130c244fbdd63944a4fa2154cacb063402a4d52f7fe798f5402e193a00dc37adab7a5f58802268ea8c9907914f60 SHA512 c27dfd3658015d54d32dfa09bb10a9bf51df5d3109910d5e02a69bbf87d329cdeb62dd8bc7a8841d5ce0ab9702b38aaa38a9a229792b10f9e1f3c236f0fa913b +DIST python-nbxmpp-6.1.1.tar.bz2 152396 BLAKE2B 5cf153fce8e4a301c866daa5858db893edd8dcf773549dc80d8f8600304a9888fe2fd9aa6f5887a8b5f13d2e13c05c6250ece03d555a8bf0a74c841f962b9dfe SHA512 8065f7d38dd87907c36d28b5d1ecad35ceed6fde45b84c5d9235754857f12b2d727751bcdda41cbb8ba772afad865f7d3de4ebd04af763305d7c8b7667008ef9 diff --git a/dev-python/nbxmpp/nbxmpp-5.0.4.ebuild b/dev-python/nbxmpp/nbxmpp-6.1.1.ebuild index 836cdb9659fe..1d77a0a33b24 100644 --- a/dev-python/nbxmpp/nbxmpp-5.0.4.ebuild +++ b/dev-python/nbxmpp/nbxmpp-6.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~riscv x86" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" RDEPEND=" dev-libs/gobject-introspection diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index 7646a9e39a7b..6da4815cbbef 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1 +1,2 @@ DIST pyscard-2.2.1.tar.gz 156518 BLAKE2B b68dace8a9b4b6cdae20b23d6e7d8838e0ad64e229d5a3a5e4a8fc5c1edeb16a6d7bd162c57cfdd7d5e5c56c0370f121a71e498e463b42b509bc97dce10ef14c SHA512 7a09211743c56473e7c1d034acf4b08402b41462da36b35fe45617511dc9bc5fa704e0d1d5102277a44c4aee216e84b019b5cff188eda255b32de0c7517c58d3 +DIST pyscard-2.2.2.tar.gz 156637 BLAKE2B 459857bd1f287c030e7e0b6e34f7ef95cfd00175f46be6062cd9c6f4a945a0e0128a6d698441724f37aa109012721ae16f673cecb1656bc78a8ccae4c12a5a05 SHA512 294908fdb8b7fae0fc6f45aed7837eba65ff6163df5df6168cc4dad9c2c33a6df89c19ec451bc6a08fb2d9d32d5ef49bb37298e8e70af9e098c0d0563e901f9b diff --git a/dev-python/pyscard/pyscard-2.2.2.ebuild b/dev-python/pyscard/pyscard-2.2.2.ebuild new file mode 100644 index 000000000000..2e2b5ba9ac3b --- /dev/null +++ b/dev-python/pyscard/pyscard-2.2.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Smart card support in python" +HOMEPAGE=" + https://pyscard.sourceforge.io/ + https://github.com/LudovicRousseau/pyscard/ + https://pypi.org/project/pyscard/ +" +SRC_URI=" + https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + sys-apps/pcsc-lite +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "Gui support" dev-python/wxpython + optfeature "Support of remote readers with Pyro" dev-python/Pyro4 +} diff --git a/dev-python/python-tests/python-tests-3.11.12.ebuild b/dev-python/python-tests/python-tests-3.11.12.ebuild index ea7cd6b572c9..48c955a342f2 100644 --- a/dev-python/python-tests/python-tests-3.11.12.ebuild +++ b/dev-python/python-tests/python-tests-3.11.12.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/dev-python/python-tests/python-tests-3.12.10.ebuild b/dev-python/python-tests/python-tests-3.12.10.ebuild index 69880b117264..e4d7a82be6de 100644 --- a/dev-python/python-tests/python-tests-3.12.10.ebuild +++ b/dev-python/python-tests/python-tests-3.12.10.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/dev-python/python-tests/python-tests-3.13.3.ebuild b/dev-python/python-tests/python-tests-3.13.3.ebuild index ca7ddf88441c..d08221594f5f 100644 --- a/dev-python/python-tests/python-tests-3.13.3.ebuild +++ b/dev-python/python-tests/python-tests-3.13.3.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index c1baeb38c671..3b45d9782cd4 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1 +1,2 @@ DIST rq-2.1.0.tar.gz 640535 BLAKE2B c269527d9863b7991be24cb6fac43cfbe8cea23fbbdbb8ff9699bce9653e014a0def7439ffbced1658bc54bb328119c2d3ddea9a83e0a3c2cbcd3d21500a1f28 SHA512 215c33e29ab18e8ebb693e4d9da2bf51750e1558ef20b13c4d301a803a5dda0e1c00edbfa019717043ea777e8c47e1772ab9334b12cc08e7fe9196121c6bd287 +DIST rq-2.3.2.tar.gz 649216 BLAKE2B 8fca0c9008717353b99d7fba502554cd85378e69bef3f5b78acfdc168ecfc95f1644e3ae30a6ace7958a9ad8cc982b155a606b1ae745fabd0caecd1ae353d374 SHA512 b218a6ed7129cab4c148712d2f7ac889ba09d635684c7176ec196338316a2d8bb675a375a93c7ddf672b6834d08ac59106bbc83222efe1d76e677075cd3bab51 diff --git a/dev-python/rq/rq-2.3.2.ebuild b/dev-python/rq/rq-2.3.2.ebuild new file mode 100644 index 000000000000..5dce66a43f90 --- /dev/null +++ b/dev-python/rq/rq-2.3.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple, lightweight library for creating and processing background jobs" +HOMEPAGE=" + https://python-rq.org/ + https://github.com/rq/rq/ + https://pypi.org/project/rq/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/click-5.0[${PYTHON_USEDEP}] + >=dev-python/redis-4.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unnecessary typechecking deps + sed -i -e '/types-/d' pyproject.toml || die +} + +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. + einfo "Spawning Redis" + einfo "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() { + local EPYTEST_DESELECT=( + # requires <sentry-sdk-2 + tests/test_sentry.py::TestSentry::test_failure_capture + # hang + tests/test_commands.py::TestCommands::test_shutdown_command + tests/test_worker_pool.py::TestWorkerPool::test_check_workers + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 6508a703f0d0..e63fe78881c2 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-3.4.5.tar.gz 592281 BLAKE2B e32e768bf91e67297453dc0fa70e37fdeaa37c8de3b2bf18857935616b70cc936de88e46844ca3139d9cdb946c53808c34219334317def8cbdcdf50cec20928e SHA512 46b5e3de506b902161fdb758ceccacbda57caa87b0f3b90d8769d96bdfca096eea348b2fe52d76930e18c164dbcf3a673286a1594feef051e0b664e559d37ed2 DIST xmlschema-4.0.0.tar.gz 624545 BLAKE2B 4d53e7581235296d08219550bf78acea4bb1f984dde1f58d86e3855a0f7647b6c69a3746a0f0dc69345214e1d110163f128967c334c57e6acfd0856dce52bd8a SHA512 7246f4449d172f9f5b0d2a70d649d0a7820fb628008884edc85e7742b26a2f1b9f08a3b176b52b639ab84189152c723bbbab317396d3bc3647a21aecd0ff92f9 +DIST xmlschema-4.0.1.tar.gz 625283 BLAKE2B 750f151a6e10a01732cd9ff4a66f5499e3f8ed0ba2c07faf98bb85fab1c7a28bd3677f4b7ab12ab31235b1b23ca9127d8fa2a67bec7d5d4386bd3be26227fb6e SHA512 b1c08b9feabc40f1f299f005f765fa9d46780e3bc2173ee305d71c40e403a6f67b3a7558214fc663e54abd9a68ae28465044c7bc0113999cf18d2f4b95bfcec8 diff --git a/dev-python/xmlschema/xmlschema-4.0.1.ebuild b/dev-python/xmlschema/xmlschema-4.0.1.ebuild new file mode 100644 index 000000000000..ca711a437aae --- /dev/null +++ b/dev-python/xmlschema/xmlschema-4.0.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/elementpath-6[${PYTHON_USEDEP}] + >=dev-python/elementpath-4.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/run_all_tests.py -v || die "Tests fail with ${EPYTHON}" +} |
