1 |
commit: 899e47d75f4ef38c7a59f60f474ee8fd576545d6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 26 07:22:18 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 26 07:58:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899e47d7 |
7 |
|
8 |
dev-python/autopage: New dep of dev-python/cliff |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/autopage/Manifest | 1 + |
13 |
dev-python/autopage/autopage-0.4.0.ebuild | 32 +++++++++++++++++++++++++++++++ |
14 |
dev-python/autopage/metadata.xml | 13 +++++++++++++ |
15 |
3 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/autopage/Manifest b/dev-python/autopage/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..8163c311fb1 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/autopage/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST autopage-0.4.0.gh.tar.gz 14809 BLAKE2B 8b91d76c04f3b6519fe2660cbebb50c9b767346b6313303b757b04bea8e7eb8a48aaeaabe364b1b18cadbd5125c95f77b187f779ef83c913e8db13ca88284311 SHA512 a7573dc5d62559f06b54b4b40ffa916209ab7c3348ac7b0cb20ae840fe841e8f8efab1c1853196b4cad0ce5fbc52b679e651f76f7023af960dd8cc876a6d1f14 |
24 |
|
25 |
diff --git a/dev-python/autopage/autopage-0.4.0.ebuild b/dev-python/autopage/autopage-0.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..9dbdbd627e4 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/autopage/autopage-0.4.0.ebuild |
30 |
@@ -0,0 +1,32 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+# TODO: teach the eclass that we don't need pp2sp for simple setuptools? |
37 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A library to provide automatic paging for console output" |
43 |
+HOMEPAGE=" |
44 |
+ https://pypi.org/project/autopage/ |
45 |
+ https://github.com/zaneb/autopage/" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/zaneb/autopage/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ test? ( dev-python/fixtures[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+distutils_enable_tests unittest |
58 |
+ |
59 |
+python_test() { |
60 |
+ unset LESS PAGER |
61 |
+ eunittest |
62 |
+} |
63 |
|
64 |
diff --git a/dev-python/autopage/metadata.xml b/dev-python/autopage/metadata.xml |
65 |
new file mode 100644 |
66 |
index 00000000000..c168437bcf8 |
67 |
--- /dev/null |
68 |
+++ b/dev-python/autopage/metadata.xml |
69 |
@@ -0,0 +1,13 @@ |
70 |
+<?xml version="1.0" encoding="UTF-8"?> |
71 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
72 |
+<pkgmetadata> |
73 |
+ <maintainer type="project"> |
74 |
+ <email>python@g.o</email> |
75 |
+ <name>Python</name> |
76 |
+ </maintainer> |
77 |
+ <stabilize-allarches/> |
78 |
+ <upstream> |
79 |
+ <remote-id type="github">zaneb/autopage</remote-id> |
80 |
+ <remote-id type="pypi">autopage</remote-id> |
81 |
+ </upstream> |
82 |
+</pkgmetadata> |