Bug 72436 - dev-python/pykde-3.11.3 tries to downgrade kdelibs
Bug#: 72436 Product:  Gentoo Linux Version: 2004.2 Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: carlo@gentoo.org Reported By: gentoo-bugger@msquadrat.de
Component: Ebuilds
URL: 
Summary: dev-python/pykde-3.11.3 tries to downgrade kdelibs
Keywords:  
Status Whiteboard: 
Opened: 2004-11-25 02:39 0000
Description:   Opened: 2004-11-25 02:39 0000
Since pykde-3.11.3 was marked stable, portage tries to downgrade my kdelibs to
3.3.0 :-/

It took me some time to find out what is happening, unfortunately does neither
the ebuild nor the ChangeLog of pykde tell *why* this dependency was
introduced.  A link would be great here.

I guess it was done because PyKDE is now included in kdebindings (see
http://mats.imk.fraunhofer.de/pipermail/pykde/2004-October/008879.html) -- but
that doesn't mean it should downgrade kdelibs but block against it (or even
better kdebindings).  Patch follows.

Reproducible: Always
Steps to Reproduce:
Withe kdelibs-3.3.1 and some old version of pykde installed do an:
emerge -upvt pykde

Actual Results:  
otherland /usr/portage/dev-python/pykde # emerge -upvt pykde 

These are the packages that I would merge, in reverse order: 

Calculating dependencies                                         ...done! 
[ebuild     U ] dev-python/pykde-3.11.3 [3.7.4-r2] -debug -doc -kjs 1,225 kB 
[ebuild     UD]  kde-base/kdelibs-3.3.0 [3.3.33] +alsa +arts +cups -debug* 
-doc +ipv6 -kerberos +ldap +ssl +tiff +xinerama 15,335 kB 
[ebuild     UD]   kde-base/arts-1.3.0 [1.3.1] +alsa +arts +artswrappersuid 
-debug* -esd -jack +mad +oggvorbis +xinerama 944 kB 
[ebuild  NS   ]   sys-kernel/gentoo-dev-sources-2.6.9-r6  -build -doc 
(-ultra1) 35,610 kB 
[ebuild     U ]    sys-devel/binutils-2.15.90.0.1.1-r3 [2.14.90.0.8-r1] 
-bootstrap -build -debug -multitarget -nls* 10,874 kB 
[ebuild     U ]  dev-python/PyQt-3.13 [3.12] -doc 745 kB 
[ebuild     U ]   sys-devel/libtool-1.5.2-r7 [1.5.2-r5] (-uclibc) 3,117 kB 
[ebuild     U ]   dev-python/qscintilla-1.61 [1.60] -doc 684 kB 
[ebuild     U ]  dev-python/sip-4.1.1 [4.0.1] -doc 289 kB 

Total size of downloads: 68,826 kB 

Expected Results:  
otherland /usr/portage/dev-python/pykde # emerge -upvt pykde 

These are the packages that I would merge, in reverse order: 

Calculating dependencies                ...done! 
[blocks B     ] >=kde-base/kdelibs-3.3.1 (from pkg dev-python/pykde-3.11.3-r1) 
[ebuild     U ] dev-python/pykde-3.11.3-r1 [3.7.4-r2] -debug -doc -kjs 0 kB 
[ebuild     U ]  dev-python/PyQt-3.13 [3.12] -doc 745 kB 
[ebuild     U ]   sys-devel/libtool-1.5.2-r7 [1.5.2-r5] (-uclibc) 3,117 kB 
[ebuild     U ]   dev-python/qscintilla-1.61 [1.60] -doc 684 kB 
[ebuild     U ]  dev-python/sip-4.1.1 [4.0.1] -doc 289 kB 

Total size of downloads: 4,835 kB 

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.16 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.14.90.0.8-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-pipe -march=athlon-tbird -O2 -fstack-protector" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-pipe -march=athlon-tbird -O2 -fstack-protector" 
DISTDIR="/var/cache/portage/sources" 
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/var/cache/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage-overlay/mortage
/usr/local/portage-overlay/misc /usr/local/portage-overlay/kde-b33" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow X aalib aavm acl acpi acpi4linux alsa apache2 apm arts 
artswrappersuid avi berkdb cdr crypt cups curl dga directfb dvd dvdr encode 
ethereal expat f77 faad fam fbcon flac foomaticdb fortran gcj gd gdbm geoip 
gif gphoto2 gpm gstreamer gtk gtk2 hbci imagemagick imap imlib ipv6 irda 
jabber java javascript jpeg junit kde ldap libg++ libwww mad maildir mikmod 
mmx mozilla moznoirc mpeg ncurses odbc oggvorbis opengloperanom2 oss pam pda 
pdflib perl pic png python qt quicktime readline samba scanner sdl slang slp 
spell sse ssl svga tcltk tcpd tetex theora tiff truetype usagi usb wmf x86 
xine xinerama xml xml2 xmms xv xvid zlib video_cards_radeon"

------- Comment #1 From Malte S. Stretz 2004-11-25 02:40:57 0000 -------
Created an attachment (id=44702) [details]
Sample patch against pykde-3.11.3.ebuild

I guess something like this is a cleaner solution.

------- Comment #2 From Carsten Lohrke 2004-11-25 04:52:14 0000 -------
It's because there is no "official" pykde version, which is compatible with kde
3.3.1. The one in kdebindings is a patched one, maintained in kde cvs and based
on pykde 3.11.1 iirc.

------- Comment #3 From Carsten Lohrke 2004-11-25 04:56:03 0000 -------
Thank you for the suggestion.