summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-04-29 19:03:56 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-04-29 20:57:28 +0200
commitba543e752c925b40ac331562fcfd6c2398fa6d14 (patch)
tree3adaae4a8450dfe86a1e57da743c9680d3c5a541 /sci-mathematics
parentdev-util/bpftool: Add missing die (diff)
downloadgentoo-ba543e752c925b40ac331562fcfd6c2398fa6d14.tar.gz
gentoo-ba543e752c925b40ac331562fcfd6c2398fa6d14.tar.bz2
gentoo-ba543e752c925b40ac331562fcfd6c2398fa6d14.zip
sci-mathematics/alectryon: enable py3.12 compat
Closes: https://bugs.gentoo.org/929789 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild (renamed from sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild)16
1 files changed, 10 insertions, 6 deletions
diff --git a/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild b/sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild
index bf77f3595ce5..b8969f14aa7c 100644
--- a/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild
+++ b/sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit elisp-common distutils-r1
@@ -13,10 +13,12 @@ HOMEPAGE="https://github.com/cpitclaudel/alectryon/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
+
EGIT_REPO_URI="https://github.com/cpitclaudel/${PN}.git"
else
SRC_URI="https://github.com/cpitclaudel/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
+ -> ${P}.tar.gz"
+
KEYWORDS="~amd64"
fi
@@ -33,7 +35,9 @@ RDEPEND="
dev-python/sphinx[${PYTHON_USEDEP}]
sci-mathematics/coq-serapi
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+"
BDEPEND="
emacs? (
>=app-editors/emacs-23.1:*
@@ -43,7 +47,7 @@ BDEPEND="
"
DOCS=( CHANGES.rst CITATION.bib README.rst )
-PATCHES=( "${FILESDIR}"/${P}-setup.cfg-version.patch )
+PATCHES=( "${FILESDIR}/${P}-setup.cfg-version.patch" )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
@@ -66,7 +70,7 @@ src_install() {
dodoc ./recipes/sphinx/_build/latex/alectryon-demo.tex
fi
if use emacs ; then
- elisp-install ${PN} ./etc/elisp/${PN}.el{,c}
+ elisp-install "${PN}" ./etc/elisp/${PN}.el{,c}
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
}