Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-09-08 15:51:11 +00:00
3 changed files with 60 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST FORD-6.1.1.tar.gz 5832880 BLAKE2B 230aefd0f095f75fcf94c871b54bc471d348885494cbf1caad89aef85c52a76be5adaee5eb4db67c06c073a13174fec6457c00c9cf9d8d3ad404004d4730a02a SHA512 441a38440b4e405c85d5064e1e8fe62361c7c6641dfc612acfdb7b2c58625366d2ed7ecf068db7fc180fbeb1dccbef274e533856315be326a65bda0e8c203de7
DIST FORD-6.1.2.tar.gz 5834291 BLAKE2B f7bcea5d86fa1c9af073a74194c28fd8211860a36ad3e33b63d711818fe4070eb49f7c082d13e36ec6475b4830ab8360d232152ff895a790a55be208d9e25394 SHA512 ed9f457feb425faa4f17f147ea712191db2104fdb796a59163c6b2961543555d4186feab6fc8aae791f219a33c1e4a7b0a73fb147e7e08b3975bbe1ed3391f8f

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
MY_PN="FORD"
DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs"
HOMEPAGE="https://github.com/Fortran-FOSS-Programmers/ford"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_PN}-${PV}"
RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/graphviz[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/markdown-include[${PYTHON_USEDEP}]
dev-python/md-environ[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/toposort[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
DOCS=( CHANGELOG.md README.md README.rst )
distutils_enable_tests pytest
python_test(){
# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed.
distutils_install_for_testing
distutils-r1_python_test
}

View File

@@ -28,10 +28,25 @@ QA_PREBUILT="
## RDEPEND is still required to be filled with actual runtime-deps:
## python is just assumed runtime-dependency.
RDEPEND="${PYTHON_DEPS}"
RDEPEND="
${PYTHON_DEPS}
dev-libs/nss
x11-libs/gtk+:3[X,cups,introspection]
"
S="${WORKDIR}/${MY_PN}-${PV}-linux-x64"
QA_FLAGS_IGNORED="
/opt/${P}/chrome-sandbox
/opt/${P}/libvulkan.so*
"
## It seems media-libs/alsa-lib is required by chrome-sandbox.
## Actually this library isn't required to work.
QA_SONAME="
/usr/lib*/libasound.so.2
"
src_install() {
insinto "/opt/${P}"
doins -r "${S}/."