app-admin/system-config-printer: python3_8 support, drop USE doc
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 17 Apr 2020 18:50:15 +0000 (20:50 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 17 Apr 2020 18:54:58 +0000 (20:54 +0200)
doc was depending on last-rited dev-python/epydoc

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-admin/system-config-printer/system-config-printer-1.5.12-r1.ebuild

index 6f0b21fb6e2216c8c48bbe9af7027ef5481b6f4a..9a157f3b5f00699b9c610bae64dae25a66a06aa5 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE="xml"
 inherit gnome2 python-single-r1 systemd
 
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.
 LICENSE="GPL-2+"
 KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sparc x86"
 SLOT="0"
-IUSE="doc gnome-keyring policykit"
+IUSE="gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # Needs cups running, bug 284005
@@ -41,7 +41,6 @@ DEPEND="${COMMON_DEPEND}
        dev-util/intltool
        sys-devel/gettext
        virtual/pkgconfig
-       doc? ( dev-python/epydoc )
 "
 RDEPEND="${COMMON_DEPEND}
        $(python_gen_cond_dep '
@@ -75,11 +74,9 @@ src_configure() {
 
 src_compile() {
        gnome2_src_compile
-       use doc && emake html
 }
 
 src_install() {
-       use doc && local HTML_DOCS=( html/. )
        gnome2_src_install
        python_fix_shebang "${ED}"
        python_optimize