summaryrefslogtreecommitdiff
path: root/app-doc/cppman
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-28 14:12:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-28 14:12:52 +0000
commitebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d (patch)
tree261a9ff495381f4023c98dfb4ecd5cb195b5f346 /app-doc/cppman
parent2666e9c75caf914c25a25329523c982df8512930 (diff)
gentoo auto-resync : 28:12:2022 - 14:12:52
Diffstat (limited to 'app-doc/cppman')
-rw-r--r--app-doc/cppman/Manifest6
-rw-r--r--app-doc/cppman/cppman-0.5.3.ebuild33
-rw-r--r--app-doc/cppman/cppman-0.5.4-r1.ebuild (renamed from app-doc/cppman/cppman-0.5.4.ebuild)25
-rw-r--r--app-doc/cppman/metadata.xml9
4 files changed, 29 insertions, 44 deletions
diff --git a/app-doc/cppman/Manifest b/app-doc/cppman/Manifest
index 236902ff3785..81749421e62b 100644
--- a/app-doc/cppman/Manifest
+++ b/app-doc/cppman/Manifest
@@ -1,5 +1,3 @@
-DIST cppman-0.5.3.tar.gz 3614734 BLAKE2B 3b764be07c19ad026e20f6b0f1ac6709ef0fba6042225ce53d6aeb627bc80fba4c4775f9c4d9fa7e75f5d5fbc847dffab1eecbca9f55eab0c447b9d6b9f0f401 SHA512 4e89c8e4ec4b8fb7f577ae83ac77198fb2a56f85550b9efa2b534c1e3d25f45be7932e0cfe663d51b5ff2846668022386af0b018056bcc25c5a1b2e5d32eb111
DIST cppman-0.5.4.tar.gz 3560915 BLAKE2B 37dae8d4f4884582fd4556bfb8778b62e332286b9438a4507dd1a401f40014964a2409a57f1b8d234bb6143555719a6b81ccdf939fcf95a46ddb0fdfd475ac32 SHA512 e401813772c393aaf0e403ee253510ad4aac9cd9733c015e195bb66dad70cb2db0ea3e3c9749d87aed04b49aee04639fa3f822dc8e69a5a8812c3992b3e5c86d
-EBUILD cppman-0.5.3.ebuild 841 BLAKE2B 5075025680ec7362e43aa43ce1e4670ae324e78507a0717cd90d5d6dd6f385609f2ba941787f5dd04287578f9a5486552e64a56d342bc02dbfc4e74d50121c4e SHA512 a463e2a2755d321db61f89c279b21d4eead1318e53f971814d6a763cd922dccf3380bd5471fcb865db4756043007e7ca40e566d162261d297bb1b6b1183a91d6
-EBUILD cppman-0.5.4.ebuild 840 BLAKE2B 9f26d309cb31f51b9c2b32f4a3e53aa4638f653916f36d5016d68147a931d59966f136b9ede02d7f07a5c4f8e965531a519cfd033b6e282cd57177e5e9584a3f SHA512 7752591c36f43a47f4a8ba2cb5e91d7623d756f4c94f59ad0d331617b31e27051bbfc65a8193809c5da604bd4280283463cdf38a39601c5bf72621a23961db8a
-MISC metadata.xml 248 BLAKE2B a87b1be47eefb8ebe51c333f62a16d35f6eb4612f6b4d20e4e35acf58205053662132eddf5d4bb14407a6291ab1aeb0cc4ab36e0006d49949ece6e55d3e4f55a SHA512 895858a7a7c2ca44e867b32936853822c39cb84185e3eea417b9c7452be1d13495f7635e5289d5b499a12c1cf76c9c3c49cfb5e57635820f94ee84b34f262320
+EBUILD cppman-0.5.4-r1.ebuild 1152 BLAKE2B 350c4a6a094ca09ee7c4ba5524fd475a22b2c74f604b11a7f7452509d309079ad4c1aaf3a8bbabbb56976ecf0c2b93b7a43cfbefd5e242757d93b6c36bd1c071 SHA512 52617ca5d0cf610c0132956c1e44cc9d1ebc493cc90a54f80e2015c0bab949c5a6367e751a49decdd48d08d557b2664eaeba897e535c19bf1a68a72acc969214
+MISC metadata.xml 490 BLAKE2B 4cc099727e7e108bc92709683a020e98e88e7f095018755fbed4214f4d3fa12e695268e23678b1be35864b42aeba8cfa75eadae44f7b424baa059ecd441f7010 SHA512 241fb920bd14116440a6b5358ed21ae8de5009cc56f3fdca72afe9f44d1a94f294326303317f8ab1c08949b44b8d24171888d95bccc72325193d4c4425bb64e2
diff --git a/app-doc/cppman/cppman-0.5.3.ebuild b/app-doc/cppman/cppman-0.5.3.ebuild
deleted file mode 100644
index 562b9b8e609c..000000000000
--- a/app-doc/cppman/cppman-0.5.3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8,9,10} )
-PYTHON_REQ_USE="sqlite,threads(+)"
-DISTUTILS_SINGLE_IMPL=true
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1
-
-DESCRIPTION="C++ man pages for Linux, with source from cplusplus.com and cppreference.com"
-HOMEPAGE="https://github.com/aitjcize/cppman"
-SRC_URI="https://github.com/aitjcize/cppman/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~x86 ~x64-macos"
-
-RDEPEND="
- sys-apps/groff
- $(python_gen_cond_dep '
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/html5lib[${PYTHON_USEDEP}]
- ')
-"
-
-src_prepare() {
- default
-
- # Don't allow setup.py to install documentation directly
- sed -i '\:share/doc/cppman:d' setup.py || die "sed failed"
-}
diff --git a/app-doc/cppman/cppman-0.5.4.ebuild b/app-doc/cppman/cppman-0.5.4-r1.ebuild
index 715dd3be3185..5bb20190b399 100644
--- a/app-doc/cppman/cppman-0.5.4.ebuild
+++ b/app-doc/cppman/cppman-0.5.4-r1.ebuild
@@ -5,9 +5,9 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="sqlite,threads(+)"
-DISTUTILS_SINGLE_IMPL=true
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1
+DISTUTILS_SINGLE_IMPL=yes
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 bash-completion-r1
DESCRIPTION="C++ man pages for Linux, with source from cplusplus.com and cppreference.com"
HOMEPAGE="https://github.com/aitjcize/cppman"
@@ -26,8 +26,21 @@ RDEPEND="
"
src_prepare() {
- default
+ # Install data manually, nearly all of it is misplaced
+ sed -i '/data_files = _data_files,/d' setup.py || die
- # Don't allow setup.py to install documentation directly
- sed -i '\:share/doc/cppman:d' setup.py || die "sed failed"
+ distutils-r1_src_prepare
+}
+
+src_install() {
+ distutils-r1_src_install
+ doman misc/cppman.1
+
+ newbashcomp misc/completions/cppman.bash cppman
+
+ insinto /usr/share/zsh/site-functions
+ doins misc/completions/zsh/_cppman
+
+ insinto /usr/share/fish/vendor_completions.d
+ doins misc/completions/fish/cppman.fish
}
diff --git a/app-doc/cppman/metadata.xml b/app-doc/cppman/metadata.xml
index fdf84de8835f..a2eb1022cb35 100644
--- a/app-doc/cppman/metadata.xml
+++ b/app-doc/cppman/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>esteve.varela@gmail.com</email>
+ <name>Esteve Varela Colominas</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">aitjcize/cppman</remote-id>
</upstream>