Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312769 - net-p2p/deluge-1.2.2: pygame in DEPEND although not necessary
Summary: net-p2p/deluge-1.2.2: pygame in DEPEND although not necessary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 09:52 UTC by Robert
Modified: 2013-04-03 20:30 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 Robert 2010-04-02 09:52:11 UTC
pygame is pulled in by deluge when USE gtk is set. This is only necessary when deluge is supposed to play sounds. As pygame pulls in more libs this dependency should either be removed or depend on an additional USE flag.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570606 for a similar bug report in Debian.

Reproducible: Always

Steps to Reproduce:
1. Set keywords to allow updating to deluge 1.2.2
2. emerge -uav deluge


Actual Results:  
Calculating dependencies... done!
[ebuild  N    ] dev-python/pyopenssl-0.10  USE="-doc" 217 kB
[ebuild  N    ] net-libs/rb_libtorrent-0.14.9-r1  USE="python -debug -doc -examples -test" 1,944 kB
[ebuild  N    ] dev-python/chardet-2.0.1  348 kB
[ebuild  N    ] net-zope/zope-interface-3.5.2  114 kB
[ebuild  N    ] media-libs/sdl-ttf-2.0.9  USE="X" 3,071 kB
[ebuild  N    ] media-libs/sdl-image-1.2.10  USE="gif jpeg png tiff" 1,302 kB
[ebuild  N    ] media-libs/sdl-mixer-1.2.11  USE="flac mad midi mikmod mp3 timidity vorbis wav" 2,628 kB
[ebuild  N    ] dev-python/twisted-8.2.0-r2  USE="crypt gtk -serial" 1,178 kB
[ebuild  N    ] dev-python/pygame-1.9.1  USE="X -doc -examples" 2,085 kB
[ebuild  N    ] dev-python/twisted-web-8.2.0  USE="-soap" 325 kB
[ebuild     U ] net-p2p/deluge-1.2.2 [1.1.9] USE="gtk libnotify -webinterface%" 1,342 kB

Total: 11 packages (1 upgrade, 10 new), Size of downloads: 14,549 kB


Expected Results:  
No inclusion of media-libs/sdl-ttf, media-libs/sdl-image, media-libs/sdl-mixer or dev-python/pygame.

Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Thu, 01 Apr 2010 20:45:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r2, 1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-ilmenau.de/Mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/byhand"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 audiofile bash-completion berkdb bzip2 cairo cddb cdr cli cracklib crypt cups cxx dbus dga dillo dirac disk-partition dri dts dv dvd dvdr dvdread dvi encode exif fam fbcondecor ffmpeg fftw firefox flac fortran ftp gdbm ghostscript gif gimp gnuplot gnutls gpm gs gtk hal iconv icq icu id3 imap ipv6 jabber java jpeg jpeg2k kpathsea lame libcaca libnotify libsamplerate lm_sensors loop-aes lyrics lzma lzo mad matroska midi mikmod mime mmx mmxext mng modules mp2 mp3 mpeg mplayer mudflap multilib musepack ncurses nls nntp nptl nptlonly nvidia offensive ogg openal openexr opengl openmp pam pcre pdf perl plotutils png postscript pppd python qt3support quicktime rar rdesktop readline reflection rle samba scanner schroedinger sdl session shorten smime speex spell spl sqlite sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd theora thunar tiff timidity tk truetype unicode usb v4l v4l2 vcd vnc vorbis wavepack wma wmf x264 xcomposite xface xine xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga nv nvidia v4l" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Benda Xu gentoo-dev 2013-04-01 08:38:49 UTC
Commited the enhancement. Thank you very much Robert :)
Comment 2 Robert 2013-04-03 20:30:31 UTC
And it took less than 3 years. ;-)
Thanks for fixing it.