sci-mathematics/alectryon: fix setup.cfg; add DISTUTILS_USE_PEP517

Bug: https://github.com/cpitclaudel/alectryon/pull/80
Closes: https://bugs.gentoo.org/836748
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-04-04 15:53:22 +02:00
parent bba6377efc
commit 6040428870
2 changed files with 13 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit elisp-common distutils-r1
@@ -42,6 +43,7 @@ BDEPEND="
"
DOCS=( CHANGES.rst CITATION.bib README.rst )
PATCHES=( "${FILESDIR}"/${P}-setup.cfg-version.patch )
SITEFILE="50${PN}-gentoo.el"
src_compile() {

View File

@@ -0,0 +1,11 @@
index 1a25a92..066089b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = alectryon
-version = attr: alectryon.__version__
+version = attr: alectryon.__init__.__version__
description = A library to process Coq snippets embedded in documents, showing goals and messages for each Coq sentence.
long_description = file: README.rst
url = https://github.com/cpitclaudel/alectryon