commit: 899e47d75f4ef38c7a59f60f474ee8fd576545d6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 26 07:22:18 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 26 07:58:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899e47d7
dev-python/autopage: New dep of dev-python/cliff
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/autopage/Manifest | 1 +
dev-python/autopage/autopage-0.4.0.ebuild | 32 +++++++++++++++++++++++++++++++
dev-python/autopage/metadata.xml | 13 +++++++++++++
3 files changed, 46 insertions(+)
diff --git a/dev-python/autopage/Manifest b/dev-python/autopage/Manifest
new file mode 100644
index 00000000000..8163c311fb1
--- /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 00000000000..9dbdbd627e4
--- /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 00000000000..c168437bcf8
--- /dev/null
+++ b/dev-python/autopage/metadata.xml
@@ -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>[email protected]</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>