app-misc/mat2: fix manpage path

Closes: https://bugs.gentoo.org/921156
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2024-09-07 21:54:55 +09:00
parent f08db00518
commit cfb61d94d6
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61
2 changed files with 14 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Copyright 2020-2023 Gentoo Authors
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="xml(+)"
DISTUTILS_USE_PEP517=setuptools
@ -47,6 +47,11 @@ DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
distutils_enable_tests unittest
python_prepare_all() {
sed -i '/data_files/d' setup.py || die
distutils-r1_python_prepare_all
}
src_test() {
# Double sandboxing is not possible
if ! has usersandbox ${FEATURES}; then
@ -55,6 +60,11 @@ src_test() {
return 0
}
python_install_all() {
distutils-r1_python_install_all
doman doc/mat2.1
}
pkg_postinst() {
optfeature "misc file format support" media-libs/exiftool
optfeature "sandboxing" sys-apps/bubblewrap

View File

@ -6,7 +6,7 @@
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<upstream>
<bugs-to>https://0xacab.org/jvoisin/mat2/issues</bugs-to>
<changelog>https://0xacab.org/jvoisin/mat2/tags?format=atom</changelog>
<bugs-to>https://0xacab.org/jvoisin/mat2/-/issues</bugs-to>
<changelog>https://0xacab.org/jvoisin/mat2/-/tags?format=atom</changelog>
</upstream>
</pkgmetadata>