Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713058 - gnome-extra/evolution-data-server-3.34.4 has unnecessary dependency on Python
Summary: gnome-extra/evolution-data-server-3.34.4 has unnecessary dependency on Python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-17 19:47 UTC by Chris Mayo
Modified: 2020-04-22 16:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2020-03-17 19:47:18 UTC
Evolution-Data-Server 3.29.1 2018-04-16
---------------------------------------

Bug Fixes:
...
	Bug 793488 - Drop hard build dependency on python (and partly perl) (Milan Crha)

https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/a55f5c3dbce3f24d

Change Commit:
https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/a28389bae67f09a1


I've installed 3.34.4 on a system without Python 3.6 with the below change to the ebuild.

--- a/evolution-data-server-3.34.4.ebuild
+++ b/evolution-data-server-3.34.4.ebuild
@@ -2,10 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python3_6 )
 VALA_USE_DEPEND="vapigen"
 
-inherit cmake-utils db-use flag-o-matic gnome2 python-any-r1 systemd vala virtualx
+inherit cmake-utils db-use flag-o-matic gnome2 systemd vala virtualx
 
 DESCRIPTION="Evolution groupware backend"
 HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
@@ -58,7 +57,6 @@
 	weather? ( >=dev-libs/libgweather-3.10:2= )
 "
 DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
 	dev-util/gdbus-codegen
 	dev-util/glib-utils
 	dev-util/gperf
@@ -77,10 +75,6 @@
 # Also, dbus tests are flaky, bugs #397975 #501834
 # It looks like a nightmare to disable those for now.
 RESTRICT="test !test? ( test )"
-
-pkg_setup() {
-	python-any-r1_pkg_setup
-}
 
 # global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
 src_prepare() {
Comment 1 Larry the Git Cow gentoo-dev 2020-04-22 16:17:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b343195da6f273563253a4495a7af21fb5f39d2f

commit b343195da6f273563253a4495a7af21fb5f39d2f
Author:     Jan Vesely <jano.vesely@gmail.com>
AuthorDate: 2020-04-05 16:40:23 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-04-22 16:12:49 +0000

    gnome-extra/evolution-data-server: Drop dependency on python
    
    Build system dependency on python was removed back in 3.28 [0]
    [0] https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/a28389bae67f09a12e093998aa29956c66a7b359
    
    Closes: https://bugs.gentoo.org/713058
    Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/15236
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../evolution-data-server/evolution-data-server-3.32.5.ebuild     | 8 +-------
 .../evolution-data-server/evolution-data-server-3.34.4.ebuild     | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)