diff options
| author | Michał Górny <mgorny@gentoo.org> | 2026-01-30 07:31:09 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2026-01-30 07:31:09 +0100 |
| commit | a74c39f58ffe13de992070829c5a4bb299df7235 (patch) | |
| tree | df038ee2183a0cc3874c223db084c62151532f0a /dev-python | |
| parent | abceb0cef479dd5343a9bff6a3a0aabc65f181a8 (diff) | |
| download | gentoo-a74c39f58ffe13de992070829c5a4bb299df7235.tar.gz gentoo-a74c39f58ffe13de992070829c5a4bb299df7235.tar.bz2 gentoo-a74c39f58ffe13de992070829c5a4bb299df7235.zip | |
dev-python/autopage: Bump to 0.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/autopage/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/autopage/autopage-0.6.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/autopage/Manifest b/dev-python/autopage/Manifest index 1149a2b74668..76225b5b699f 100644 --- a/dev-python/autopage/Manifest +++ b/dev-python/autopage/Manifest @@ -1 +1,2 @@ DIST autopage-0.5.2.gh.tar.gz 21904 BLAKE2B 73597326f6d22d4cac9c9969edc0e6fc23f555d149947aa3aa81529347928a3f9112e9fb15a3ad65e17274ed308fb6fe20810d8364415fe7e59ab1bd47411361 SHA512 68e76dd4c4f049785e226eae499be85139bf57c59fd2161f5bb9df66878541e39a3edc1806f42382bd2d9a922cbdace0d05b60366f72d9a39c31fc39eae05883 +DIST autopage-0.6.0.gh.tar.gz 22454 BLAKE2B a0317740726e873121e5b91502c6b3b8fdf9a671a277b51c1bef92641476dda3abda717df92c87fbf29812e5ab1d54d133c294d7bbc06e9e6769de432ac9f6b1 SHA512 ba9a6776f8acd78e8a9cb02e4562a148b045c5e8c32dbadd9034664a9b9624d31f29a8deff143f21a3968ebd3ae4df6327fa4a1c3fe85f384e1632797665abdd diff --git a/dev-python/autopage/autopage-0.6.0.ebuild b/dev-python/autopage/autopage-0.6.0.ebuild new file mode 100644 index 000000000000..47261185deac --- /dev/null +++ b/dev-python/autopage/autopage-0.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="A library to provide automatic paging for console output" +HOMEPAGE=" + https://github.com/zaneb/autopage/ + https://pypi.org/project/autopage/ +" +SRC_URI=" + https://github.com/zaneb/autopage/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + sed -e 's/test_short_streaming_output/_&/' \ + -e 's/test_interrupt_early/_&/' \ + -i autopage/tests/test_end_to_end.py || die + + distutils-r1_src_prepare +} + +python_test() { + unset LESS PAGER + eunittest +} |
