1 |
commit: 0ba9609557e4b6ae0165558360918faf77155d9f |
2 |
Author: Theo Anderson <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Apr 17 08:15:52 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Apr 17 08:18:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ba96095 |
7 |
|
8 |
dev-python/doxypypy: add 0.8.8.6_p20210405 |
9 |
|
10 |
added for python38+ compatability before python37 target removal |
11 |
changes since last release break compatability with python37 |
12 |
|
13 |
Signed-off-by: Theo Anderson <telans <AT> posteo.de> |
14 |
|
15 |
dev-python/doxypypy/Manifest | 1 + |
16 |
.../doxypypy/doxypypy-0.8.8.6_p20210405.ebuild | 36 ++++++++++++++++++++++ |
17 |
2 files changed, 37 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/doxypypy/Manifest b/dev-python/doxypypy/Manifest |
20 |
index 837fb07c3..ff1049ce5 100644 |
21 |
--- a/dev-python/doxypypy/Manifest |
22 |
+++ b/dev-python/doxypypy/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST doxypypy-0.8.8.6.tar.gz 39019 BLAKE2B 6f1860ec3f9a33762297cb9b0ccdb3523dfb0855f7eb56ef4d5fe0346e25a0980dd3d007af9d4bc6d3a8502589d8a9701c4d428aa342f6156a6c7aa47a5f1ca1 SHA512 17b69d625187983dcd48ec00c317916493228d999f254dd00d85f826ab45e0a5b73557ab5975d7d64a312161c821c78ef1cbca117e2455d3440b247d45ef8399 |
25 |
+DIST doxypypy-0.8.8.6_p20210405.tar.gz 62179 BLAKE2B ee36a130f2c4af9264f04cf00ad311dccda8beeca505d7eb84169b05cf1e0ed6242770ede96b3df9b77385ea238cae84e9cd4e9f8761d23530e2f8e5fbcad797 SHA512 d3fa6bec9381d5531f82837e51988ccea4882fc77109924dd7a7f3ecd99e5afbec09d203629ac3853eeb38cf4592d97a1ec8c18fbe9fb48885794f887aba4336 |
26 |
|
27 |
diff --git a/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405.ebuild b/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..655fee23f |
30 |
--- /dev/null |
31 |
+++ b/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405.ebuild |
32 |
@@ -0,0 +1,36 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+PYTHON_COMPAT=( python3_{8..9} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_REV=39115c3d061d2f83e4a030bcb8642ec6f3203e61 |
44 |
+ |
45 |
+DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python" |
46 |
+HOMEPAGE="https://github.com/Feneric/doxypypy" |
47 |
+SRC_URI="https://github.com/Feneric/doxypypy/archive/${MY_REV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+RESTRICT="!test? ( test )" |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64" |
53 |
+ |
54 |
+RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]" |
55 |
+DEPEND="test? ( dev-python/zope-interface[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+S="${WORKDIR}/${PN}-${MY_REV}" |
58 |
+ |
59 |
+distutils_enable_tests unittest |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ distutils-r1_src_prepare |
63 |
+ # These files fail to byte-compille (UTF-LE?) |
64 |
+ # ValueError: source code string cannot contain null bytes |
65 |
+ # Matches pypy tarball |
66 |
+ rm doxypypy/test/sample_utf* || die |
67 |
+ sed -i '/test_utf/,+5d' doxypypy/test/test_doxypypy.py || die |
68 |
+} |