app-doc/ford: 6.1.17-r1 fix setuptools QA warnings

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2023-02-02 02:00:20 +03:00
parent ced4afc210
commit 90880d9298
2 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
diff -Naur a/ford/setup.cfg b/ford/setup.cfg
--- a/setup.cfg
+++ b/setup.cfg
@@ -7,7 +7,7 @@
author = Chris MacMackin
author_email = cmacmackin@gmail.com
license = GPLv3
-license_file = LICENSE
+license_files = LICENSE
keywords = Markdown, Fortran, documentation, comments
classifiers =
Development Status :: 5 - Production/Stable
@@ -27,7 +27,7 @@
Tracker = https://github.com/Fortran-FOSS-Programmers/ford/issues
[options]
-packages = ford
+packages = find_namespace:
install_requires =
markdown ~= 3.4.0
markdown-include ~= 0.7.0
@@ -41,6 +41,9 @@
importlib-metadata; python_version < "3.8"
include_package_data = True
+[options.packages.find]
+include = ford*
+
[options.extras_require]
tests = pytest >= 3.3.0
docs =

View File

@@ -33,7 +33,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}_fix_python3.11_tests.patch" )
PATCHES=(
"${FILESDIR}/${P}_fix_python3.11_tests.patch"
"${FILESDIR}/${P}_fix_setuptools_QA_warnings.patch"
)
DOCS=( CHANGELOG.md README.md )