diff options
author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2024-01-21 23:04:20 +0300 |
---|---|---|
committer | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2024-01-21 23:04:20 +0300 |
commit | 3be77f91be5c98ce9f9bc4788ae28e4839f2bede (patch) | |
tree | 2ccc3a9259885a514b5408e4c7a67912e7a8adaf /app-doc | |
parent | media-video/mpc-qt: drop 23.02 (diff) | |
download | guru-3be77f91be5c98ce9f9bc4788ae28e4839f2bede.tar.gz guru-3be77f91be5c98ce9f9bc4788ae28e4839f2bede.tar.bz2 guru-3be77f91be5c98ce9f9bc4788ae28e4839f2bede.zip |
Move {app-doc → app-text}/ford
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/ford/Manifest | 1 | ||||
-rw-r--r-- | app-doc/ford/files/ford-6.1.17_fix_python3.11_tests.patch | 22 | ||||
-rw-r--r-- | app-doc/ford/files/ford-6.1.17_fix_setuptools_QA_warnings.patch | 31 | ||||
-rw-r--r-- | app-doc/ford/files/ford-6.2.5_fix_setuptools_warnings.patch | 53 | ||||
-rw-r--r-- | app-doc/ford/ford-6.2.5.ebuild | 45 | ||||
-rw-r--r-- | app-doc/ford/metadata.xml | 12 |
6 files changed, 0 insertions, 164 deletions
diff --git a/app-doc/ford/Manifest b/app-doc/ford/Manifest deleted file mode 100644 index 68e9d8823..000000000 --- a/app-doc/ford/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST FORD-6.2.5.tar.gz 6140012 BLAKE2B 261ddf8901c53732feb46e5ec9adefd689e10db0e1a674b45c9757f49658d57f1c6d3d0a5ba12bbc9d1d7d0a48031b29c772f438aea2069a5451d7e3b4aaa82b SHA512 1f47ddd45804af3c9d99576e542795f91a1833d816ceccb5e81f8f71710e0c79a4ba769b95b85771365d8c4392d1c812e247a5b82cfee6cc023f61eeedd86d75 diff --git a/app-doc/ford/files/ford-6.1.17_fix_python3.11_tests.patch b/app-doc/ford/files/ford-6.1.17_fix_python3.11_tests.patch deleted file mode 100644 index 6fb3c832c..000000000 --- a/app-doc/ford/files/ford-6.1.17_fix_python3.11_tests.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 67b1355fea6904dc8ea540a6cfaa6164dc3a1a23 Mon Sep 17 00:00:00 2001 -From: Peter Hill <peter.hill@york.ac.uk> -Date: Tue, 24 Jan 2023 10:54:10 +0000 -Subject: [PATCH] Fix test for Python 3.11 (mutable default not allowed) - ---- - test/test_sourceform.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/test_sourceform.py b/test/test_sourceform.py -index 4e6c9d3..f3a67c9 100644 ---- a/test/test_sourceform.py -+++ b/test/test_sourceform.py -@@ -790,7 +790,7 @@ class FakeParent: - class FakeVariable: - name: str - vartype: str -- parent: Optional[FakeParent] = FakeParent() -+ parent: Optional[FakeParent] = field(default_factory=FakeParent) - attribs: Optional[List[str]] = field(default_factory=list) - intent: str = "" - optional: bool = False 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 deleted file mode 100644 index 41cd42a24..000000000 --- a/app-doc/ford/files/ford-6.1.17_fix_setuptools_QA_warnings.patch +++ /dev/null @@ -1,31 +0,0 @@ -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 = diff --git a/app-doc/ford/files/ford-6.2.5_fix_setuptools_warnings.patch b/app-doc/ford/files/ford-6.2.5_fix_setuptools_warnings.patch deleted file mode 100644 index 1b8e6f91f..000000000 --- a/app-doc/ford/files/ford-6.2.5_fix_setuptools_warnings.patch +++ /dev/null @@ -1,53 +0,0 @@ -Upstream patch: https://github.com/Fortran-FOSS-Programmers/ford - -From a793ebfa36895ef79134313c2c7b7e9da8b9d992 Mon Sep 17 00:00:00 2001 -From: Sergey Torokhov <torokhov-s-a@yandex.ru> -Date: Sat, 6 May 2023 21:46:57 +0300 -Subject: [PATCH] pyproject.toml: fix setuptools warnings - -Introduced changes fix setuptools warnings: - -* Installing 'ford.css' as data is deprecated, please list it in `packages`. -* Installing 'ford.fonts' as data is deprecated, please list it in `packages`. -* Installing 'ford.js' as data is deprecated, please list it in `packages`. -* Installing 'ford.templates' as data is deprecated, please list it in `packages`. -* Installing 'ford.tipuesearch' as data is deprecated, please list it in `packages`. -* Installing 'ford.tipuesearch.img' as data is deprecated, please list it in `packages`. - -The following parts aren't used due to it are applied by default: - -[tool.setuptools] -include-package-data = true -[tool.setuptools.packages.find] -namespaces = true - -Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> ---- - pyproject.toml | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 4d90b9c..f3bcfae 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -64,10 +64,18 @@ Documentation = "https://forddocs.readthedocs.io/en/latest/" - ford = "ford:run" - - [tool.setuptools] --packages = ["ford"] -+packages = [ -+ "ford", -+ "ford.css", -+ "ford.fonts", -+ "ford.js", -+ "ford.templates", -+ "ford.tipuesearch", -+ "ford.tipuesearch.img", -+] - - [tool.setuptools.package-data] --ford = ["css/*", "fonts/*", "js/*", "templates/*", "tipuesearch/*", "config.json", "favicon.png"] -+ford = ["config.json", "favicon.png"] - - [tool.setuptools_scm] - write_to = "ford/_version.py" diff --git a/app-doc/ford/ford-6.2.5.ebuild b/app-doc/ford/ford-6.2.5.ebuild deleted file mode 100644 index fd0b34ac4..000000000 --- a/app-doc/ford/ford-6.2.5.ebuild +++ /dev/null @@ -1,45 +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_{10..11} ) - -inherit distutils-r1 pypi toolchain-funcs - -MY_PN="FORD" -DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs" -HOMEPAGE="https://github.com/Fortran-FOSS-Programmers/ford" -SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN^}" "${PV}")" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -S="${WORKDIR}/${MY_PN}-${PV}" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - >=dev-python/graphviz-0.20[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/markdown-3.4[${PYTHON_USEDEP}] - >=dev-python/markdown-include-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - dev-python/python-markdown-math[${PYTHON_USEDEP}] - >=dev-python/toposort-1.7[${PYTHON_USEDEP}] - >=dev-python/tqdm-4.64.0[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/${P}_fix_setuptools_warnings.patch" ) - -DOCS=( CHANGELOG.md README.md ) - -distutils_enable_tests pytest - -src_prepare() { - default - sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300 -} diff --git a/app-doc/ford/metadata.xml b/app-doc/ford/metadata.xml deleted file mode 100644 index 12931f70a..000000000 --- a/app-doc/ford/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>torokhov-s-a@yandex.ru</email> - <name>Sergey Torokhov</name> - </maintainer> - <upstream> - <remote-id type="pypi">FORD</remote-id> - <remote-id type="github">Fortran-FOSS-Programmers/ford</remote-id> - </upstream> -</pkgmetadata> |