diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-21 12:26:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-21 12:26:06 +0100 |
commit | bad9bf87b08d293eb79ebe14d1882e77da2b0ced (patch) | |
tree | 2e95088a05ca299b8369979d4b47f0f846657be7 /dev-python/xdoctest | |
parent | c431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb (diff) |
gentoo auto-resync : 21:08:2024 - 12:26:06
Diffstat (limited to 'dev-python/xdoctest')
-rw-r--r-- | dev-python/xdoctest/Manifest | 2 | ||||
-rw-r--r-- | dev-python/xdoctest/xdoctest-1.2.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index dbb590cf8055..a38d8e1269f1 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1,5 +1,7 @@ DIST xdoctest-1.1.5.gh.tar.gz 230382 BLAKE2B 0bbcd09464cc48d6450c746fc341892401bfa91a18be45ab340d291a4001a71f6d5a0fca6b3a7e869c2c34ce008e992fdac62fdd898a941659017e9bf68b7ae9 SHA512 6664eef216f7e83236673542bcdd75276c14260dd94026575e4e72ff41c6b4249909659e54a46fda84c49e22954fb169d23a1baf439823d28337731232803781 DIST xdoctest-1.1.6.gh.tar.gz 230764 BLAKE2B 9a46f5339e5e7c1904f71f80eecfa385d78775aea896cf86b26288f3fdc63045e17b3d420c48a0f53c57c8992d048d2b7610f09276d772c26e147f492a71d3ad SHA512 9d33e315cde68f1731cff8b4311c941a30aba0718a94f81ca198a2efe760c829f6d4984f0d1c273c554aef938d445d2556d78d7f06fbe4160efe5d94acea9a53 +DIST xdoctest-1.2.0.gh.tar.gz 231269 BLAKE2B 5593bfa8a2d4ff6ff13db592e83325c6bd30e6614db969aec7b4072ec788a203024a0e4066b69a34782cc99252d0601a0a3db0c2b70cf5b7f58e9f6dad2de89d SHA512 a33509e494919bbcb630307b0a71f784d7e2be1d1c6422e49c2286218f21202088faa4baabc5e33a836225ca1fd0c12937de15a9a5b90ac4a80f35c8218b0071 EBUILD xdoctest-1.1.5.ebuild 1074 BLAKE2B 8fee68f7ec2c6e213242757731e216091918af6ca76c56a5db3df4f0dd3cca8cf27b0ae16efc71dbbbd3ffbab813f7e0576fc451abdf3fb08196af969a496f3f SHA512 f13e9fe55bdf585da5e09b12c39eec01d4cb88ee87e31426704f75a748b4f349169cce687c3abacea793d081bd2e8814d390c6cc32533651b284bb7f578845e2 EBUILD xdoctest-1.1.6.ebuild 1074 BLAKE2B 8fee68f7ec2c6e213242757731e216091918af6ca76c56a5db3df4f0dd3cca8cf27b0ae16efc71dbbbd3ffbab813f7e0576fc451abdf3fb08196af969a496f3f SHA512 f13e9fe55bdf585da5e09b12c39eec01d4cb88ee87e31426704f75a748b4f349169cce687c3abacea793d081bd2e8814d390c6cc32533651b284bb7f578845e2 +EBUILD xdoctest-1.2.0.ebuild 1074 BLAKE2B 8fee68f7ec2c6e213242757731e216091918af6ca76c56a5db3df4f0dd3cca8cf27b0ae16efc71dbbbd3ffbab813f7e0576fc451abdf3fb08196af969a496f3f SHA512 f13e9fe55bdf585da5e09b12c39eec01d4cb88ee87e31426704f75a748b4f349169cce687c3abacea793d081bd2e8814d390c6cc32533651b284bb7f578845e2 MISC metadata.xml 483 BLAKE2B 9939d6ceb1a1f9130a61ea445055cb9c06e99d7d53130e7ff25773fa2f18990a357dff204637f4fcfe6397d49e62f872db8cd272f5abc0111046bab76e310b4a SHA512 12c385799c61bbf92b5936989e083545b0b1f858f396f4504cd6c6e27b1a99e81bf350ac6286c21b2e900c9962a5798da3c03cff75dd3c2e751f8a25ced64ed5 diff --git a/dev-python/xdoctest/xdoctest-1.2.0.ebuild b/dev-python/xdoctest/xdoctest-1.2.0.ebuild new file mode 100644 index 000000000000..70d8909b5a6b --- /dev/null +++ b/dev-python/xdoctest/xdoctest-1.2.0.ebuild @@ -0,0 +1,49 @@ +# 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_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" +HOMEPAGE=" + https://github.com/Erotemic/xdoctest/ + https://pypi.org/project/xdoctest/ +" +SRC_URI=" + https://github.com/Erotemic/xdoctest/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +# dev-python/nbformat-5.1.{0..2} did not install package data +BDEPEND=" + test? ( + >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +#distutils_enable_sphinx docs/source \ +# dev-python/autoapi \ +# dev-python/sphinx-rtd-theme + +python_test() { + local EPYTEST_DESELECT=( + tests/test_pytest_cli.py::test_simple_pytest_import_error_cli + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdoctest.plugin + + epytest --pyargs tests xdoctest +} |