commit: ba543e752c925b40ac331562fcfd6c2398fa6d14 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Apr 29 17:03:56 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Apr 29 18:57:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba543e75
sci-mathematics/alectryon: enable py3.12 compat Closes: https://bugs.gentoo.org/929789 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> ...ectryon-1.4.0-r1.ebuild => alectryon-1.4.0-r2.ebuild} | 16 ++++++++++------ 1 file 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 similarity index 87% rename from sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild rename to 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 }
