From 4c2b70adc6484c35ff05e412de08a7b7f50cfb34 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Apr 2024 00:00:01 +0100 Subject: gentoo auto-resync : 30:04:2024 - 00:00:01 --- sci-mathematics/alectryon/Manifest | 2 +- .../alectryon/alectryon-1.4.0-r1.ebuild | 80 --------------------- .../alectryon/alectryon-1.4.0-r2.ebuild | 84 ++++++++++++++++++++++ 3 files changed, 85 insertions(+), 81 deletions(-) delete mode 100644 sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild create mode 100644 sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild (limited to 'sci-mathematics/alectryon') diff --git a/sci-mathematics/alectryon/Manifest b/sci-mathematics/alectryon/Manifest index 43f5409ffab8..5e89ba7a2d51 100644 --- a/sci-mathematics/alectryon/Manifest +++ b/sci-mathematics/alectryon/Manifest @@ -1,5 +1,5 @@ AUX 50alectryon-gentoo.el 155 BLAKE2B 6a83a0b6e7116a85d00b20799004eaec08033845661a23368b3340320184f2ea65c6b23db61664dadf2f829cabeabd8933f7f9e31d0971fcf2a0181c6d8ae956 SHA512 65fb668f29ba4737fc374302536c3223a02d45816a79256e425e255f30c134b19c8e88ccd19c13954a562182ad072cd10de08cd5047ae17b1b72efcfdc78f00f AUX alectryon-1.4.0-setup.cfg-version.patch 402 BLAKE2B 3f9969714ad120457b6a0f52c0a7fd85b3b747a95648b5d2ed5ad49deec7e8277630d98ece242964135b55cc12273d1cee0b1385e690ff9bf9bdcf2339cef106 SHA512 fbda296d11fbc67457448450bf5c752eb4f835f03a4a8e97274ebeab0078fdc08240a5e91824256759b7510bb2aaa6bb9e13403163f821f629527bc068745378 DIST alectryon-1.4.0.tar.gz 312436 BLAKE2B 7f1e58670fbba0b31a4e4bc6502dffa72931ae3495c38b53987406a05aac9d3d1a34d75c89b7b85a6122ee6a7ce30970f8cf3190a5916e416e56854313077d4c SHA512 1310a04c8584147b38af8edb19cc95bd71043f5d00f55cbf4d5649dad9eede5bd01dba6fb23b85acf7cb9e9619fd01e5f83d8d37064f0b43f706589b9ec8aeef -EBUILD alectryon-1.4.0-r1.ebuild 1770 BLAKE2B f88f0234db412b0f505ae4c1e2cbe3b2ae83e7014877f877a24e0046d962350a6290169cf4d59ea7dbbb14d8ebaa926f168da17b6c3500b61ac6d99ab98deed9 SHA512 100377e4aa04b8e7168e148b967d8a611075b83541ad7082ad1baca57a1185a71b77614284dab67ba93fc9bef9891e6921d17b2b3b65f401b07012dd2dfa027b +EBUILD alectryon-1.4.0-r2.ebuild 1777 BLAKE2B 5d2afe5fcc1c1ddfe645ff4483f757bd6a9a6f4c80ef1e419481f6ba937a5debc5157bad496070129748d45391d528c4d026134fbd6f5d7ef10d65d5a6be790c SHA512 226dcfbe87e1d5d72b56b21898bc3c3114306f8d071c4078263a8f77549fcf69029be7eb3233f533f264579c7e803f1c2fa667fccf419dba15928f2db44e5285 MISC metadata.xml 977 BLAKE2B 929c655f60171ee97c50a711e5ddaa4f5b6e5c7a2ffa2a2e3ff69665fa46a894af8a353e73efa8e43ed18fa87440e77d6a0d2abe7ecf740dcffe315d9bcddffa SHA512 a88e5341ebe5a4f239e73dbe0d843c46bdcc0f24dfa99e554b57ec715455d2a0526b4a157d2a2a2854b6d7e500b921f81cc29b6ab3c54db8ed228d94807d33fd diff --git a/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild b/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild deleted file mode 100644 index bf77f3595ce5..000000000000 --- a/sci-mathematics/alectryon/alectryon-1.4.0-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit elisp-common distutils-r1 - -DESCRIPTION="Toolkit for literate programming in Coq" -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" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="doc emacs" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/dominate[${PYTHON_USEDEP}] - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - sci-mathematics/coq-serapi -" -DEPEND="${RDEPEND}" -BDEPEND=" - emacs? ( - >=app-editors/emacs-23.1:* - app-emacs/flycheck - app-emacs/proofgeneral - ) -" - -DOCS=( CHANGES.rst CITATION.bib README.rst ) -PATCHES=( "${FILESDIR}"/${P}-setup.cfg-version.patch ) -SITEFILE="50${PN}-gentoo.el" - -src_compile() { - distutils-r1_src_compile - - use doc && emake -C ./recipes/sphinx latexpdf - use emacs && elisp-compile ./etc/elisp/alectryon.el -} - -src_install() { - distutils-r1_src_install - einstalldocs - - if use doc ; then - docinto html - dodoc ./recipes/sphinx/_build/html/* - docinto pdf - dodoc ./recipes/sphinx/_build/latex/alectryon-demo.pdf - docinto latex - dodoc ./recipes/sphinx/_build/latex/alectryon-demo.tex - fi - if use emacs ; then - elisp-install ${PN} ./etc/elisp/${PN}.el{,c} - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild b/sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild new file mode 100644 index 000000000000..b8969f14aa7c --- /dev/null +++ b/sci-mathematics/alectryon/alectryon-1.4.0-r2.ebuild @@ -0,0 +1,84 @@ +# 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_{10..12} ) + +inherit elisp-common distutils-r1 + +DESCRIPTION="Toolkit for literate programming in Coq" +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" + + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="doc emacs" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/dominate[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + sci-mathematics/coq-serapi +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + emacs? ( + >=app-editors/emacs-23.1:* + app-emacs/flycheck + app-emacs/proofgeneral + ) +" + +DOCS=( CHANGES.rst CITATION.bib README.rst ) +PATCHES=( "${FILESDIR}/${P}-setup.cfg-version.patch" ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + distutils-r1_src_compile + + use doc && emake -C ./recipes/sphinx latexpdf + use emacs && elisp-compile ./etc/elisp/alectryon.el +} + +src_install() { + distutils-r1_src_install + einstalldocs + + if use doc ; then + docinto html + dodoc ./recipes/sphinx/_build/html/* + docinto pdf + dodoc ./recipes/sphinx/_build/latex/alectryon-demo.pdf + docinto latex + dodoc ./recipes/sphinx/_build/latex/alectryon-demo.tex + fi + if use emacs ; then + elisp-install "${PN}" ./etc/elisp/${PN}.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3