summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-04 15:53:22 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-04 16:15:47 +0200
commit60404288705b3df37bc04b1bbfe69a7704a3a4f2 (patch)
tree40eb8cfa436b0561423c1ccff8c028e94cbbe7d6 /sci-mathematics/alectryon
parentnet-libs/ngtcp2: 0.3.0 version bump (diff)
downloadgentoo-60404288705b3df37bc04b1bbfe69a7704a3a4f2.tar.gz
gentoo-60404288705b3df37bc04b1bbfe69a7704a3a4f2.tar.bz2
gentoo-60404288705b3df37bc04b1bbfe69a7704a3a4f2.zip
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>
Diffstat (limited to 'sci-mathematics/alectryon')
-rw-r--r--sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild (renamed from sci-mathematics/alectryon/alectryon-1.4.0.ebuild)2
-rw-r--r--sci-mathematics/alectryon/files/alectryon-1.4.0-setup.cfg-version.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/alectryon/alectryon-1.4.0.ebuild b/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild
index bdbf53a0c35b..a15045952615 100644
--- a/sci-mathematics/alectryon/alectryon-1.4.0.ebuild
+++ b/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild
@@ -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() {
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
new file mode 100644
index 000000000000..9445c0857f0d
--- /dev/null
+++ b/sci-mathematics/alectryon/files/alectryon-1.4.0-setup.cfg-version.patch
@@ -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