1 |
commit: ee6b47705d28f3abda0483fe9d943eac4aa953ee |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 18:13:07 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 18:13:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6b4770 |
7 |
|
8 |
dev-python/argparse-manpage: add 3, remove old |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
dev-python/argparse-manpage/Manifest | 4 +--- |
13 |
.../argparse-manpage-1.5-r1.ebuild | 21 ----------------- |
14 |
.../argparse-manpage/argparse-manpage-2.ebuild | 27 ---------------------- |
15 |
...anpage-2.1.ebuild => argparse-manpage-3.ebuild} | 5 ++-- |
16 |
.../argparse-manpage-1.5-remove-six-dep.patch | 19 --------------- |
17 |
5 files changed, 4 insertions(+), 72 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/argparse-manpage/Manifest b/dev-python/argparse-manpage/Manifest |
20 |
index 6a7cf556053e..97807aa8377b 100644 |
21 |
--- a/dev-python/argparse-manpage/Manifest |
22 |
+++ b/dev-python/argparse-manpage/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
-DIST argparse-manpage-1.5.tar.gz 34290 BLAKE2B 598a0eb0d4816a764c1ba4093b18e28d7865c9a113db1910793748eb24394636a9e1caad86fef5416933ae5341026048d1e39ce928131a8796a5d66a40e36853 SHA512 bfdea19fa62ac029754d6df26c4fb51c18f7fee4fae681c1117253627e724cf1ff1db5196ad0690fd436cebbe403536905f157cb7eae7be50d321c663b491fd0 |
25 |
-DIST argparse-manpage-2.1.tar.gz 39889 BLAKE2B 9c534b775e59064062d91587e275acf0af343cef864009e290c9a5224e481cd2f7cde87e85b2b0135483d6119e711cd6668d8455315eeb2a28d335c8ef37e3ae SHA512 aed2908bec8f6bee0f8619c6d5cff742fdac0f44ab7f65b8d0c1aa3409ec0335ce763cd2177b2606111b9ba5fe43698b04ace43f9017034cf99a7142eccd9ea0 |
26 |
DIST argparse-manpage-2.2.tar.gz 39963 BLAKE2B 3ba427653c51265be944309dbd94368b9e62f46ec9fa3315a9b7da2de1fc6ae3399408488b74fb1c62ed39f70034d6429f3825c0857b07b71c277922870fbc13 SHA512 1708d33633405f1c4b9c96acd78cdbc5e3465089c7de0c5d0654f9f70ac1b7176f3798fd8bd8e7c0f2163b28dcc6d41ea2b68f2e2b03652677af3ba945d14588 |
27 |
-DIST argparse-manpage-2.tar.gz 38279 BLAKE2B 24edcb71aed7731178d24e99a36baf8be2270f6d4da0d884610da294d44313d913f8aa2db381eae77409ec504b18346688d5f7f27257285b7aa92d453b1a58f1 SHA512 24854cd5209635e8938716f97cb4eb283152a2a109c554385a78a5145c6e0f38c76a9172d607fb3ffdf610e8d3f7270ed94f6b4612ce731ea9dafe0a1bebebe6 |
28 |
+DIST argparse-manpage-3.tar.gz 45091 BLAKE2B b2ab9d4863227eacaf566865cd47763b9a52f4fd445ae78cf8212b3762a14c1ceb7f9008d25b8828f5e5da23e120a7be6d48239bb300670e559000de1e75fd68 SHA512 96225cf71dc60c638bd312331622e5b60589d7e6baf59fdfca0d90d24cff2bb232696c754c440c4e239949ea1a6280699c4f0f7816c50ec62bf77474d0c48cf4 |
29 |
|
30 |
diff --git a/dev-python/argparse-manpage/argparse-manpage-1.5-r1.ebuild b/dev-python/argparse-manpage/argparse-manpage-1.5-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index d081471fcbc5..000000000000 |
33 |
--- a/dev-python/argparse-manpage/argparse-manpage-1.5-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,21 +0,0 @@ |
36 |
-# Copyright 2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-PYTHON_COMPAT=( python3_{8..10} ) |
42 |
-inherit distutils-r1 |
43 |
- |
44 |
-DESCRIPTION="Automatically build man-pages for your Python project" |
45 |
-HOMEPAGE="https://github.com/praiskup/argparse-manpage https://pypi.org/project/argparse-manpage/" |
46 |
-SRC_URI="https://github.com/praiskup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="Apache-2.0" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
51 |
- |
52 |
-PATCHES=( |
53 |
- "${FILESDIR}/${P}-remove-six-dep.patch" |
54 |
-) |
55 |
- |
56 |
-distutils_enable_tests pytest |
57 |
|
58 |
diff --git a/dev-python/argparse-manpage/argparse-manpage-2.ebuild b/dev-python/argparse-manpage/argparse-manpage-2.ebuild |
59 |
deleted file mode 100644 |
60 |
index 5199ae12a243..000000000000 |
61 |
--- a/dev-python/argparse-manpage/argparse-manpage-2.ebuild |
62 |
+++ /dev/null |
63 |
@@ -1,27 +0,0 @@ |
64 |
-# Copyright 2021 Gentoo Authors |
65 |
-# Distributed under the terms of the GNU General Public License v2 |
66 |
- |
67 |
-EAPI=8 |
68 |
- |
69 |
-PYTHON_COMPAT=( python3_{8..10} ) |
70 |
-inherit distutils-r1 |
71 |
- |
72 |
-DESCRIPTION="Automatically build man-pages for your Python project" |
73 |
-HOMEPAGE="https://github.com/praiskup/argparse-manpage https://pypi.org/project/argparse-manpage/" |
74 |
-SRC_URI="https://github.com/praiskup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
75 |
- |
76 |
-LICENSE="Apache-2.0" |
77 |
-SLOT="0" |
78 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
79 |
- |
80 |
-BDEPEND=" |
81 |
- test? ( |
82 |
- dev-python/pip[${PYTHON_USEDEP}] |
83 |
- )" |
84 |
- |
85 |
-distutils_enable_tests pytest |
86 |
- |
87 |
-python_test() { |
88 |
- local -x COLUMNS=80 |
89 |
- epytest |
90 |
-} |
91 |
|
92 |
diff --git a/dev-python/argparse-manpage/argparse-manpage-2.1.ebuild b/dev-python/argparse-manpage/argparse-manpage-3.ebuild |
93 |
similarity index 82% |
94 |
rename from dev-python/argparse-manpage/argparse-manpage-2.1.ebuild |
95 |
rename to dev-python/argparse-manpage/argparse-manpage-3.ebuild |
96 |
index 5e779edcda9c..6a4098d8b5b0 100644 |
97 |
--- a/dev-python/argparse-manpage/argparse-manpage-2.1.ebuild |
98 |
+++ b/dev-python/argparse-manpage/argparse-manpage-3.ebuild |
99 |
@@ -3,7 +3,8 @@ |
100 |
|
101 |
EAPI=8 |
102 |
|
103 |
-PYTHON_COMPAT=( python3_{8..10} ) |
104 |
+DISTUTILS_USE_PEP517=setuptools |
105 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
106 |
inherit distutils-r1 |
107 |
|
108 |
DESCRIPTION="Automatically build man-pages for your Python project" |
109 |
@@ -12,7 +13,7 @@ SRC_URI="https://github.com/praiskup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
110 |
|
111 |
LICENSE="Apache-2.0" |
112 |
SLOT="0" |
113 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
114 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~sparc ~x86" |
115 |
|
116 |
BDEPEND=" |
117 |
test? ( |
118 |
|
119 |
diff --git a/dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch b/dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch |
120 |
deleted file mode 100644 |
121 |
index 7a5aa777739a..000000000000 |
122 |
--- a/dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch |
123 |
+++ /dev/null |
124 |
@@ -1,19 +0,0 @@ |
125 |
---- a/examples/copr/copr_cli/main.py |
126 |
-+++ b/examples/copr/copr_cli/main.py |
127 |
-@@ -8,15 +8,11 @@ import argparse |
128 |
- import sys |
129 |
- import datetime |
130 |
- import time |
131 |
--import six |
132 |
- import simplejson |
133 |
- from collections import defaultdict |
134 |
- |
135 |
- import logging |
136 |
--if six.PY2: |
137 |
-- from urlparse import urlparse |
138 |
--else: |
139 |
-- from urllib.parse import urlparse |
140 |
-+from urllib.parse import urlparse |
141 |
- |
142 |
- if sys.version_info < (2, 7): |
143 |
- class NullHandler(logging.Handler): |