dev-python/autopage: New dep of dev-python/cliff

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-08-26 09:22:18 +02:00
parent ac1f12f0ac
commit 899e47d75f
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST autopage-0.4.0.gh.tar.gz 14809 BLAKE2B 8b91d76c04f3b6519fe2660cbebb50c9b767346b6313303b757b04bea8e7eb8a48aaeaabe364b1b18cadbd5125c95f77b187f779ef83c913e8db13ca88284311 SHA512 a7573dc5d62559f06b54b4b40ffa916209ab7c3348ac7b0cb20ae840fe841e8f8efab1c1853196b4cad0ce5fbc52b679e651f76f7023af960dd8cc876a6d1f14

View File

@@ -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
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">zaneb/autopage</remote-id>
<remote-id type="pypi">autopage</remote-id>
</upstream>
</pkgmetadata>