1 |
commit: a67300aba762d6e1d460c2c37909aa5b104f2a44 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 8 14:26:21 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 8 14:26:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67300ab |
7 |
|
8 |
dev-python/pyx: Revert "bump to 0.15, +p3_7 +p3_8" |
9 |
|
10 |
This bump lacks tests, and unnecessarily duplicates the patch. |
11 |
I'm going to bulldoze it over with my three hours of work that do this |
12 |
properly, with tests. |
13 |
|
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
dev-python/pyx/Manifest | 1 - |
17 |
dev-python/pyx/files/pyx-0.15-unicode-latex.patch | 10 ----- |
18 |
dev-python/pyx/pyx-0.15.ebuild | 50 ----------------------- |
19 |
3 files changed, 61 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/pyx/Manifest b/dev-python/pyx/Manifest |
22 |
index 575052069ea..5a102d30919 100644 |
23 |
--- a/dev-python/pyx/Manifest |
24 |
+++ b/dev-python/pyx/Manifest |
25 |
@@ -1,2 +1 @@ |
26 |
DIST PyX-0.14.1.tar.gz 2475186 BLAKE2B 5e18b2a052c586cfdcfcc46f5351683ce7c3ec41d508b6fd5e085be543ac3730ee866b636d3ab9663e782b95efafcc340260826c82a77955b586ad7a55676c5b SHA512 16265bbdcaf28ce194189a2987b32952f296c850b829454bcccce0abd23838bfca0276c3e9c8e96b8cbfaf1473bf14669f9b7f2032ee039b61ae59ea3aa45a20 |
27 |
-DIST PyX-0.15.tar.gz 2559840 BLAKE2B df9079778ff30dd2f71631abce492259dc4bad12a854972fc890f69df1bbdd2bd987f63940297d3bb32e7eb85b5902430933d9c7c04aa3a45da36e8c8cf01ffd SHA512 c312b38b9f204b8a8832ab71da5be8c9afc417a095c8ccf242b3d3ebec63338a9d55abab4e548d1718abadf12ea7652cdad51731acdc8f6acd3d8608aa919919 |
28 |
|
29 |
diff --git a/dev-python/pyx/files/pyx-0.15-unicode-latex.patch b/dev-python/pyx/files/pyx-0.15-unicode-latex.patch |
30 |
deleted file mode 100644 |
31 |
index 0e255fe8ef6..00000000000 |
32 |
--- a/dev-python/pyx/files/pyx-0.15-unicode-latex.patch |
33 |
+++ /dev/null |
34 |
@@ -1,10 +0,0 @@ |
35 |
-diff -r -U1 PyX-0.15.orig/faq/general_aspects_pyx.rst PyX-0.15/faq/general_aspects_pyx.rst |
36 |
---- PyX-0.15.orig/faq/general_aspects_pyx.rst 2018-11-16 15:17:19.000000000 +0700 |
37 |
-+++ PyX-0.15/faq/general_aspects_pyx.rst 2020-03-08 17:57:38.719772919 +0700 |
38 |
-@@ -15,4 +15,4 @@ |
39 |
- Despite the ties between TeX and PyX, their pronunciation is quite different. |
40 |
--According to the developers of PyX, it should be pronounced as [pʏks]. Please do |
41 |
--not pronounce it as [pʏx] or [pʏç]. |
42 |
-+According to the developers of PyX, it should be pronounced as [pyks]. Please do |
43 |
-+not pronounce it as [pyx] or [pyç]. |
44 |
- |
45 |
|
46 |
diff --git a/dev-python/pyx/pyx-0.15.ebuild b/dev-python/pyx/pyx-0.15.ebuild |
47 |
deleted file mode 100644 |
48 |
index dd6cd76edbc..00000000000 |
49 |
--- a/dev-python/pyx/pyx-0.15.ebuild |
50 |
+++ /dev/null |
51 |
@@ -1,50 +0,0 @@ |
52 |
-# Copyright 1999-2020 Gentoo Authors |
53 |
-# Distributed under the terms of the GNU General Public License v2 |
54 |
- |
55 |
-EAPI=7 |
56 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
57 |
- |
58 |
-inherit distutils-r1 |
59 |
-MY_PN=PyX |
60 |
-MY_P="${P/pyx/PyX}" |
61 |
-DESCRIPTION="Python package for the generation of encapsulated PostScript figures" |
62 |
-HOMEPAGE="https://pyx.sourceforge.net/ |
63 |
- https://pypi.org/project/PyX/" |
64 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
65 |
- |
66 |
-LICENSE="GPL-2" |
67 |
-SLOT="0" |
68 |
-KEYWORDS="~amd64 ~x86" |
69 |
-IUSE="doc" |
70 |
- |
71 |
-RDEPEND="virtual/tex-base |
72 |
- dev-texlive/texlive-basic" |
73 |
- |
74 |
-DEPEND="${RDEPEND} |
75 |
- doc? ( virtual/latex-base |
76 |
- dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}] |
77 |
- dev-python/sphinx[latex,${PYTHON_USEDEP}] )" |
78 |
- |
79 |
-S="${WORKDIR}/${MY_P}" |
80 |
-PATCHES=( "${FILESDIR}"/${P}-unicode-latex.patch ) |
81 |
- |
82 |
-src_prepare() { |
83 |
- distutils-r1_src_prepare |
84 |
- sed -i \ |
85 |
- -e 's/^build_t1code=.*/build_t1code=1/' \ |
86 |
- -e 's/^build_pykpathsea=.*/build_pykpathsea=1/' \ |
87 |
- setup.cfg || die "setup.cfg fix failed" |
88 |
-} |
89 |
- |
90 |
-python_compile_all() { |
91 |
- if use doc; then |
92 |
- VARTEXFONTS="${T}"/fonts |
93 |
- emake -C "${S}"/manual latexpdf |
94 |
- emake -C "${S}"/faq latexpdf |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-python_install_all() { |
99 |
- use doc && dodoc manual/_build/latex/manual.pdf faq/_build/latex/pyxfaq.pdf |
100 |
- distutils-r1_python_install_all |
101 |
-} |