summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-03-28 21:22:38 -0400
committerMatt Turner <mattst88@gentoo.org>2021-03-28 21:39:10 -0400
commit1eaf4d223020104dd4461c8ae548d13276505455 (patch)
tree0fbad79824ef9dc5f1164ecb29bab5e38f0ca668 /dev-libs/libgweather
parentsys-fs/squashfs-tools-ng: Version bump to 1.1.0 (diff)
downloadgentoo-1eaf4d223020104dd4461c8ae548d13276505455.tar.gz
gentoo-1eaf4d223020104dd4461c8ae548d13276505455.tar.bz2
gentoo-1eaf4d223020104dd4461c8ae548d13276505455.zip
dev-libs/libgweather: Use python-any-r1
Closes: https://bugs.gentoo.org/770655 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libgweather')
-rw-r--r--dev-libs/libgweather/libgweather-3.36.2.ebuild8
-rw-r--r--dev-libs/libgweather/libgweather-40.0.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-libs/libgweather/libgweather-3.36.2.ebuild b/dev-libs/libgweather/libgweather-3.36.2.ebuild
index 6c35cbd8b673..8e0086d85c3e 100644
--- a/dev-libs/libgweather/libgweather-3.36.2.ebuild
+++ b/dev-libs/libgweather/libgweather-3.36.2.ebuild
@@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+PYTHON_COMPAT=( python3_{7..9} )
VALA_USE_DEPEND="vapigen"
-inherit gnome.org gnome2-utils meson vala xdg
+inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
DESCRIPTION="Location and timezone database and weather-lookup library"
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
@@ -35,6 +36,7 @@ BDEPEND="
app-text/docbook-xml-dtd:4.3 )
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
+ ${PYTHON_DEPS}
$(vala_depend)
"
@@ -44,6 +46,10 @@ PATCHES=(
"${FILESDIR}"/3.36.2-autoskip-network-test.patch
)
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
xdg_src_prepare
vala_src_prepare
diff --git a/dev-libs/libgweather/libgweather-40.0.ebuild b/dev-libs/libgweather/libgweather-40.0.ebuild
index 46454d5c78d0..a9e1c0918c24 100644
--- a/dev-libs/libgweather/libgweather-40.0.ebuild
+++ b/dev-libs/libgweather/libgweather-40.0.ebuild
@@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+PYTHON_COMPAT=( python3_{7..9} )
VALA_USE_DEPEND="vapigen"
-inherit gnome.org gnome2-utils meson vala xdg
+inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
DESCRIPTION="Location and timezone database and weather-lookup library"
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
@@ -35,6 +36,7 @@ BDEPEND="
app-text/docbook-xml-dtd:4.3 )
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
+ ${PYTHON_DEPS}
$(vala_depend)
"
@@ -44,6 +46,10 @@ PATCHES=(
"${FILESDIR}"/40.0-autoskip-network-test.patch
)
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
xdg_src_prepare
vala_src_prepare