net-libs/libpsl: Add build-time dependency on Python.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Thu, 28 Mar 2019 01:59:17 +0000 (02:59 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 28 Mar 2019 06:40:55 +0000 (07:40 +0100)
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Closes: https://bugs.gentoo.org/681902
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-libs/libpsl/libpsl-0.20.2.ebuild

index f6ca2dc10d036feaf1b0502fc2233123f43e7a82..80c11e68aac9f18196495691093273b8858f0734 100644 (file)
@@ -2,8 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+PYTHON_COMPAT=(python{2_7,3_{5,6,7}})
 
-inherit multilib-minimal
+inherit multilib-minimal python-any-r1
 
 DESCRIPTION="C library for the Public Suffix List"
 HOMEPAGE="https://github.com/rockdaboot/libpsl"
@@ -26,6 +27,7 @@ DEPEND="
        ${RDEPEND}
 "
 BDEPEND="
+       ${PYTHON_DEPS}
        dev-util/gtk-doc-am
        sys-devel/gettext
        virtual/pkgconfig