commit: 2e52da4b97eae500cd7ea3c1e6f2b72f2e76e1b9 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Wed Aug 23 18:40:06 2023 +0000 Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> CommitDate: Wed Aug 23 18:40:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e52da4b
dev-util/fypp: 3.2 version bump Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> dev-util/fypp/Manifest | 1 + dev-util/fypp/files/filevarroot.fypp | 5 +++++ dev-util/fypp/fypp-3.2.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) diff --git a/dev-util/fypp/Manifest b/dev-util/fypp/Manifest index 6d6d46fabc..f5d7f919d7 100644 --- a/dev-util/fypp/Manifest +++ b/dev-util/fypp/Manifest @@ -1 +1,2 @@ DIST fypp-3.1.tar.gz 68237 BLAKE2B 504fe6c655da647b9d30554afe1c0c036f636991562001763180425a572e03b52ceaf0287e68f82ea534914cd61d176fb4bad7fba5562bb1597500d80ae8c919 SHA512 91638d957f6a4306f23406b6a235e8ee8258cf9065e9b8dc3e137bbe651a2e1397f557292f2b4d3628a57ef6ced67df150c25c0bf304944f7c1b2b5b85087bd5 +DIST fypp-3.2.tar.gz 69307 BLAKE2B f84738dafdacc48e41fe67a10d1dafabee8b531b3171f1e0fda6e180ab579cffbd2276f3004a54a428f5adf4409347b639c2339297cfe4d1e8a468cc306b6039 SHA512 79cdaaf540447d72a665360ae8dbdea52d71b2d1a3a8733e35a258d0050d0e77729414e1c59d9905349d3ef61f1a943348efce3fffddd80affd808a0b2660ea3 diff --git a/dev-util/fypp/files/filevarroot.fypp b/dev-util/fypp/files/filevarroot.fypp new file mode 100644 index 0000000000..9eb9a2a720 --- /dev/null +++ b/dev-util/fypp/files/filevarroot.fypp @@ -0,0 +1,5 @@ +FILE: ${_FILE_}$:${_LINE_}$ +THIS_FILE: ${_THIS_FILE_}$:${_THIS_LINE_}$ +--- +#:include "filevarroot.inc" +$:macro() diff --git a/dev-util/fypp/fypp-3.2.ebuild b/dev-util/fypp/fypp-3.2.ebuild new file mode 100644 index 0000000000..5f121b3fc6 --- /dev/null +++ b/dev-util/fypp/fypp-3.2.ebuild @@ -0,0 +1,29 @@ +# 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_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fypp - Python powered Fortran preprocessor" +HOMEPAGE="https://github.com/aradi/fypp" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +src_prepare() { + default + cp "${FILESDIR}/filevarroot.fypp" "${S}/test/input/" || die +} + +python_test() { + # pass python version as arg + test/runtests.sh ${EPYTHON} || die +}