x11-wm/xpra: Add py3.7
authorAlexey Shvetsov <alexxy@gentoo.org>
Fri, 29 Nov 2019 19:50:49 +0000 (22:50 +0300)
committerAlexey Shvetsov <alexxy@gentoo.org>
Fri, 29 Nov 2019 19:52:50 +0000 (22:52 +0300)
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
x11-wm/xpra/xpra-3.0.2.ebuild

index 26a8b868a47467a522995105787ddaaca5a30fe9..066355135f2007499defe69ae6c78c4270d0aac8 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 
 # PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit xdg distutils-r1 eutils flag-o-matic user tmpfiles prefix
 
 DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
@@ -83,6 +83,8 @@ DEPEND="${COMMON_DEPEND}
        virtual/pkgconfig
        >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
 
+RESTRICT="!test? ( test )"
+
 PATCHES=( "${FILESDIR}"/${PN}-3.0.2_ignore-gentoo-no-compile.patch
        "${FILESDIR}"/${PN}-2.0-suid-warning.patch )