diff --git a/dev-python/autopage/Manifest b/dev-python/autopage/Manifest new file mode 100644 index 0000000000000..8163c311fb1eb --- /dev/null +++ b/dev-python/autopage/Manifest @@ -0,0 +1 @@ +DIST autopage-0.4.0.gh.tar.gz 14809 BLAKE2B 8b91d76c04f3b6519fe2660cbebb50c9b767346b6313303b757b04bea8e7eb8a48aaeaabe364b1b18cadbd5125c95f77b187f779ef83c913e8db13ca88284311 SHA512 a7573dc5d62559f06b54b4b40ffa916209ab7c3348ac7b0cb20ae840fe841e8f8efab1c1853196b4cad0ce5fbc52b679e651f76f7023af960dd8cc876a6d1f14 diff --git a/dev-python/autopage/autopage-0.4.0.ebuild b/dev-python/autopage/autopage-0.4.0.ebuild new file mode 100644 index 0000000000000..9dbdbd627e42a --- /dev/null +++ b/dev-python/autopage/autopage-0.4.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: teach the eclass that we don't need pp2sp for simple setuptools? +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A library to provide automatic paging for console output" +HOMEPAGE=" + https://pypi.org/project/autopage/ + https://github.com/zaneb/autopage/" +SRC_URI=" + https://github.com/zaneb/autopage/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( dev-python/fixtures[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +python_test() { + unset LESS PAGER + eunittest +} diff --git a/dev-python/autopage/metadata.xml b/dev-python/autopage/metadata.xml new file mode 100644 index 0000000000000..c168437bcf851 --- /dev/null +++ b/dev-python/autopage/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + zaneb/autopage + autopage + +