From 97d464ca1fac11a186de447c6e258771063af450 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 11 Jan 2024 17:03:02 +0100 Subject: Move {app-doc → app-text}/NaturalDocs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per the category metadata, app-doc/ is reserved for documentation *files* and not software. Move it to app-text/ where it seems a better fit. Signed-off-by: Michał Górny --- app-admin/augeas/augeas-1.14.1.ebuild | 4 +- app-doc/NaturalDocs/Manifest | 1 - app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild | 51 ------------------------- app-doc/NaturalDocs/metadata.xml | 19 --------- app-text/NaturalDocs/Manifest | 1 + app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild | 51 +++++++++++++++++++++++++ app-text/NaturalDocs/metadata.xml | 19 +++++++++ profiles/updates/1Q-2024 | 1 + 8 files changed, 74 insertions(+), 73 deletions(-) delete mode 100644 app-doc/NaturalDocs/Manifest delete mode 100644 app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild delete mode 100644 app-doc/NaturalDocs/metadata.xml create mode 100644 app-text/NaturalDocs/Manifest create mode 100644 app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild create mode 100644 app-text/NaturalDocs/metadata.xml diff --git a/app-admin/augeas/augeas-1.14.1.ebuild b/app-admin/augeas/augeas-1.14.1.ebuild index ac61b8b66fd9..913b0e54711c 100644 --- a/app-admin/augeas/augeas-1.14.1.ebuild +++ b/app-admin/augeas/augeas-1.14.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ RDEPEND=" sys-libs/readline:=" DEPEND="${RDEPEND}" BDEPEND=" - >=app-doc/NaturalDocs-1.40 + >=app-text/NaturalDocs-1.40 virtual/pkgconfig test? ( dev-lang/ruby ) " diff --git a/app-doc/NaturalDocs/Manifest b/app-doc/NaturalDocs/Manifest deleted file mode 100644 index 15d3dd0bf7d3..000000000000 --- a/app-doc/NaturalDocs/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST NaturalDocs-1.52.zip 460793 BLAKE2B d4ecd8bb8dd3fa92a8d9366077c65ddd70e9c4944519cb453e0752e2df0ed22d7fe23aa1edb1e63ffea16b0d0f56794d50a6a0520b2b91f0193a83326ac34c5b SHA512 45d79dd2bf55a8cb7356eb5321a8c99cbab9d69a4d9a97033737090df2bfd86ee7a058a03016646c7fd6f20daf6523b2d77cd2248a7503a6c5c22684f08431c1 diff --git a/app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild b/app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild deleted file mode 100644 index 45d3a2f5db68..000000000000 --- a/app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit perl-module - -DESCRIPTION="Extensible, multi-language source code documentation generator" -HOMEPAGE="http://www.naturaldocs.org/" -SRC_URI="mirror://sourceforge/naturaldocs/${P}.zip" -S="${WORKDIR}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" - -BDEPEND="app-arch/unzip" - -src_install() { - insinto /usr/share/${PN} - doins -r Styles Info JavaScript - - insinto /etc/${PN} - doins -r Config/. - dosym ../../../etc/${PN} /usr/share/${PN}/Config - - perl_set_version - insinto ${VENDOR_LIB} - doins -r Modules/NaturalDocs - dodir /usr/share/${PN}/Modules - dosym ../../../..${VENDOR_LIB}/NaturalDocs /usr/share/${PN}/Modules/NaturalDocs - - exeinto /usr/share/${PN} - doexe ${PN} - - # Symlink the Perl script into /usr/bin - dodir /usr/bin - dosym ../share/${PN}/${PN} /usr/bin/${PN} - - # Documentation - dodoc -r Help/. - dosym ../doc/${PF}/html /usr/share/${PN}/Help -} - -pkg_preinst() { - if [[ -e /usr/share/${PN}/Config && ! -L /usr/share/${PN}/Config ]] ; then - mkdir -p /etc/${PN} - mv /usr/share/${PN}/Config/* /etc/${PN}/ - rm -rf /usr/share/${PN}/Config - fi -} diff --git a/app-doc/NaturalDocs/metadata.xml b/app-doc/NaturalDocs/metadata.xml deleted file mode 100644 index 54582d69c8da..000000000000 --- a/app-doc/NaturalDocs/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Natural Docs is an open-source, extensible, multi-language - documentation generator. It extracts specially formatted comments - from source code and builds HTML documentation from it. The syntax - is transparent so that the comments in the source code read just as - easily as the generated documentation. It also focuses on automation - and high-quality generated output. - - - titanofold@gentoo.org - Aaron W. Swenson - - - naturaldocs - - diff --git a/app-text/NaturalDocs/Manifest b/app-text/NaturalDocs/Manifest new file mode 100644 index 000000000000..15d3dd0bf7d3 --- /dev/null +++ b/app-text/NaturalDocs/Manifest @@ -0,0 +1 @@ +DIST NaturalDocs-1.52.zip 460793 BLAKE2B d4ecd8bb8dd3fa92a8d9366077c65ddd70e9c4944519cb453e0752e2df0ed22d7fe23aa1edb1e63ffea16b0d0f56794d50a6a0520b2b91f0193a83326ac34c5b SHA512 45d79dd2bf55a8cb7356eb5321a8c99cbab9d69a4d9a97033737090df2bfd86ee7a058a03016646c7fd6f20daf6523b2d77cd2248a7503a6c5c22684f08431c1 diff --git a/app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild b/app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild new file mode 100644 index 000000000000..3c51d42cd125 --- /dev/null +++ b/app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-module + +DESCRIPTION="Extensible, multi-language source code documentation generator" +HOMEPAGE="http://www.naturaldocs.org/" +SRC_URI="mirror://sourceforge/naturaldocs/${P}.zip" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" + +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/share/${PN} + doins -r Styles Info JavaScript + + insinto /etc/${PN} + doins -r Config/. + dosym ../../../etc/${PN} /usr/share/${PN}/Config + + perl_set_version + insinto ${VENDOR_LIB} + doins -r Modules/NaturalDocs + dodir /usr/share/${PN}/Modules + dosym ../../../..${VENDOR_LIB}/NaturalDocs /usr/share/${PN}/Modules/NaturalDocs + + exeinto /usr/share/${PN} + doexe ${PN} + + # Symlink the Perl script into /usr/bin + dodir /usr/bin + dosym ../share/${PN}/${PN} /usr/bin/${PN} + + # Documentation + dodoc -r Help/. + dosym ../doc/${PF}/html /usr/share/${PN}/Help +} + +pkg_preinst() { + if [[ -e /usr/share/${PN}/Config && ! -L /usr/share/${PN}/Config ]] ; then + mkdir -p /etc/${PN} + mv /usr/share/${PN}/Config/* /etc/${PN}/ + rm -rf /usr/share/${PN}/Config + fi +} diff --git a/app-text/NaturalDocs/metadata.xml b/app-text/NaturalDocs/metadata.xml new file mode 100644 index 000000000000..54582d69c8da --- /dev/null +++ b/app-text/NaturalDocs/metadata.xml @@ -0,0 +1,19 @@ + + + + + Natural Docs is an open-source, extensible, multi-language + documentation generator. It extracts specially formatted comments + from source code and builds HTML documentation from it. The syntax + is transparent so that the comments in the source code read just as + easily as the generated documentation. It also focuses on automation + and high-quality generated output. + + + titanofold@gentoo.org + Aaron W. Swenson + + + naturaldocs + + diff --git a/profiles/updates/1Q-2024 b/profiles/updates/1Q-2024 index 8890ca93d6a4..4afa01870300 100644 --- a/profiles/updates/1Q-2024 +++ b/profiles/updates/1Q-2024 @@ -1,2 +1,3 @@ move dev-python/pysol_cards dev-python/pysol-cards move sys-kernel/installkernel-gentoo sys-kernel/installkernel +move app-doc/NaturalDocs app-text/NaturalDocs -- cgit v1.2.3-65-gdbad