mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 16:11:56 +02:00
dev-python/docutils: Sync with Gentoo
It's from Gentoo commit 2ece8d0a250f374f58c679b194c599e2f558b4b4.
This commit is contained in:
parent
f495bb8e27
commit
cf810370aa
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -6,7 +6,7 @@ EAPI=8
|
|||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
inherit distutils-r1 optfeature pypi
|
||||||
|
|
||||||
DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)"
|
DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@ -71,3 +71,9 @@ python_install_all() {
|
|||||||
install_txt_doc "${doc}"
|
install_txt_doc "${doc}"
|
||||||
done < <(find docs tools -name '*.txt' -print0)
|
done < <(find docs tools -name '*.txt' -print0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature \
|
||||||
|
"auto-detecting the image dimensions when using the 'scale' option" \
|
||||||
|
dev-python/pillow
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user