commit:     90880d9298363ce274729c68c80024793abc2b40
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Feb  1 23:00:20 2023 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Wed Feb  1 23:00:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=90880d92

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

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 .../ford-6.1.17_fix_setuptools_QA_warnings.patch   | 31 ++++++++++++++++++++++
 app-doc/ford/ford-6.1.17-r1.ebuild                 |  5 +++-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/app-doc/ford/files/ford-6.1.17_fix_setuptools_QA_warnings.patch 
b/app-doc/ford/files/ford-6.1.17_fix_setuptools_QA_warnings.patch
new file mode 100644
index 000000000..41cd42a24
--- /dev/null
+++ b/app-doc/ford/files/ford-6.1.17_fix_setuptools_QA_warnings.patch
@@ -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 = cmacmac...@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 = 

diff --git a/app-doc/ford/ford-6.1.17-r1.ebuild 
b/app-doc/ford/ford-6.1.17-r1.ebuild
index 004286456..5637d7215 100644
--- a/app-doc/ford/ford-6.1.17-r1.ebuild
+++ b/app-doc/ford/ford-6.1.17-r1.ebuild
@@ -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 )
 

Reply via email to