1 |
commit: 60404288705b3df37bc04b1bbfe69a7704a3a4f2 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 4 13:53:22 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 4 14:15:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60404288 |
7 |
|
8 |
sci-mathematics/alectryon: fix setup.cfg; add DISTUTILS_USE_PEP517 |
9 |
|
10 |
Bug: https://github.com/cpitclaudel/alectryon/pull/80 |
11 |
Closes: https://bugs.gentoo.org/836748 |
12 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
13 |
|
14 |
.../{alectryon-1.4.0.ebuild => alectryon-1.4.0-r1.ebuild} | 2 ++ |
15 |
.../alectryon/files/alectryon-1.4.0-setup.cfg-version.patch | 11 +++++++++++ |
16 |
2 files changed, 13 insertions(+) |
17 |
|
18 |
diff --git a/sci-mathematics/alectryon/alectryon-1.4.0.ebuild b/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild |
19 |
similarity index 95% |
20 |
rename from sci-mathematics/alectryon/alectryon-1.4.0.ebuild |
21 |
rename to sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild |
22 |
index bdbf53a0c35b..a15045952615 100644 |
23 |
--- a/sci-mathematics/alectryon/alectryon-1.4.0.ebuild |
24 |
+++ b/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild |
25 |
@@ -3,6 +3,7 @@ |
26 |
|
27 |
EAPI=8 |
28 |
|
29 |
+DISTUTILS_USE_PEP517=setuptools |
30 |
PYTHON_COMPAT=( python3_{8..10} ) |
31 |
|
32 |
inherit elisp-common distutils-r1 |
33 |
@@ -42,6 +43,7 @@ BDEPEND=" |
34 |
" |
35 |
|
36 |
DOCS=( CHANGES.rst CITATION.bib README.rst ) |
37 |
+PATCHES=( "${FILESDIR}"/${P}-setup.cfg-version.patch ) |
38 |
SITEFILE="50${PN}-gentoo.el" |
39 |
|
40 |
src_compile() { |
41 |
|
42 |
diff --git a/sci-mathematics/alectryon/files/alectryon-1.4.0-setup.cfg-version.patch b/sci-mathematics/alectryon/files/alectryon-1.4.0-setup.cfg-version.patch |
43 |
new file mode 100644 |
44 |
index 000000000000..9445c0857f0d |
45 |
--- /dev/null |
46 |
+++ b/sci-mathematics/alectryon/files/alectryon-1.4.0-setup.cfg-version.patch |
47 |
@@ -0,0 +1,11 @@ |
48 |
+index 1a25a92..066089b 100644 |
49 |
+--- a/setup.cfg |
50 |
++++ b/setup.cfg |
51 |
+@@ -1,6 +1,6 @@ |
52 |
+ [metadata] |
53 |
+ name = alectryon |
54 |
+-version = attr: alectryon.__version__ |
55 |
++version = attr: alectryon.__init__.__version__ |
56 |
+ description = A library to process Coq snippets embedded in documents, showing goals and messages for each Coq sentence. |
57 |
+ long_description = file: README.rst |
58 |
+ url = https://github.com/cpitclaudel/alectryon |