diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-08 09:45:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-08 09:45:00 +0100 |
commit | cfeee79886441e92c8ee094e45b9bcdc9c79137a (patch) | |
tree | ff20e0f6c0b9bd4497479556467cc3a53dd1dd4b /dev-python/pytest-console-scripts | |
parent | 0d7ae8c4b021f0ea675d5bc81389c5d159a197fa (diff) |
gentoo auto-resync : 08:06:2023 - 09:45:00
Diffstat (limited to 'dev-python/pytest-console-scripts')
-rw-r--r-- | dev-python/pytest-console-scripts/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pytest-console-scripts/Manifest b/dev-python/pytest-console-scripts/Manifest index 4bf2b096f591..3a4db60cdba7 100644 --- a/dev-python/pytest-console-scripts/Manifest +++ b/dev-python/pytest-console-scripts/Manifest @@ -1,5 +1,7 @@ DIST pytest-console-scripts-1.3.1.tar.gz 14238 BLAKE2B 2c00af468d19500078f48ca38d20430ed426e66b2277b7ad233356969d2a72d51cf60e90a46ae7808e6d33172fa053cc34d45b1f618d866dd14e917e6b225935 SHA512 344e9379976d9a7541f9683f7646b47f7fc25d2ab8d941351811ada7fddd77497cc24f4bc6a6d5ab9388dd5b289ed125bcbfad869009fb3b80aaaa1b951d656d DIST pytest-console-scripts-1.4.0.tar.gz 19718 BLAKE2B 51508bdd60c3100bd74611ab640e6346207d2310d60099af5ce5d5d056cb379e250e49e5cd78c65f276c43797405471c1478896543b89e9415577acf5c6bc6bc SHA512 ccfc9032a05934fb12b5f29052f5335fc37c90f5bbbc2a31b0bd422c3a04a1cc23fbc23fb3537415905ac1dba9d6ea916e2ae0b659330189f0184a8e70f4eff1 +DIST pytest-console-scripts-1.4.1.tar.gz 20994 BLAKE2B b29ca597735e912b63abbc0dff29333bc5ab8e2882432dcec0ff92f5637b9a93e68359de8f1ad7885e6673d44d4c5515d832cff1a80aaa7f3eaeb875394418eb SHA512 b96def518a8c2930f092f68c1ba4a0ea55757c38cfa9dd39dd0ffdc54127bca3a2333c39159d7723ad1b412047244fde08753652e1945509b80dcbfa00dacfbb EBUILD pytest-console-scripts-1.3.1.ebuild 861 BLAKE2B 93b7787389d368394bf6b46fd08a8146604673c51faba5190f6fd1e06cf8059fea058643a8b41b44262c2ca1e33c3d61d88b6911a1ba0728a93139131074755d SHA512 51c8cb25ce24f486c4f7ea9a083fe631cf32f08eef47539dd3f5b34a5a811e516c3d9e5db50745ab0d3af1bca3aa76d9179f0bd6a0a662378f77d025f95dfeb0 EBUILD pytest-console-scripts-1.4.0.ebuild 870 BLAKE2B e717eba66c51c2e8f96520e27742697dec6ac7a6d26066670c95f2112d7bc227eb4ae7fdff035978b763165bb2bcbfb8ce016bd953543d1499895d51fa5c8029 SHA512 158fdd1c764a20f784cad42e0015a13886d2fa905b2449f4ae6ca34205f5f765280c1680fe155aa0abc7494461c207af3b74d32645dadc390bc66034b33b524f +EBUILD pytest-console-scripts-1.4.1.ebuild 867 BLAKE2B aba58c24981887bb9d4f0f2e4fe4ea19b1b1b17e57943643f459654d24071a4c5b548d3a6ba7c4bd6b7c63019d0ac0ad362428a8530dea33e514908af0cc13e6 SHA512 3921cd2e52c0cf07e19beb55903bc71a3777dad7f67841a1ba7f656df3237b6841a4976ea42a763c438128dc5efac3cab96a5d3d918934dbbec15c90c7620daf MISC metadata.xml 534 BLAKE2B 9d795cc21a80ef3c90b9b9a0eda1c124b77a8e91f786edfa56ac368cb68f6a33712b5041a3ed635da970f494282fcfe939312fdb688a5cb55dd6d3489f6321e6 SHA512 f3568e76d4699d0f97a5b26b2d381d064f60f72c4ef7de42c1994be98a6cd21b4971241dbcf3c324af2fed617438a238ec5ecfa03c00b37a93dc2d91bfc82250 diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild new file mode 100644 index 000000000000..df57f909515f --- /dev/null +++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pytest plugin for testing console scripts" +HOMEPAGE="https://github.com/kvas-it/pytest-console-scripts" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local script="${BUILD_DIR}/install${EPREFIX}/usr/bin/pytest" + cat > "${script}" <<-EOF + #!/usr/bin/env python + import pytest + import sys + sys.exit(pytest.console_main()) + EOF + chmod +x "${script}" || die + epytest + rm "${script}" || die +} |