Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-python/pyxdg-0.23 now requires python3? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 4002
Location: USA

PostPosted: Sun Feb 10, 2013 7:26 am    Post subject: dev-python/pyxdg-0.23 now requires python3? [SOLVED] Reply with quote

I'm trying to block installs of python-3 to save disk space so I have a mask in /etc/portage/package.mask. However I get this mask/keyword change needed:

Code:
The following keyword changes are necessary to proceed:
#required by dev-python/pyxdg-0.23, required by media-video/totem-2.32.0-r2[-python,youtube], required by gnome-base/gnome-2.32.1-r2, required by @selected, required by @world (argument)
=dev-lang/python-3.2.3-r2 ~x86

The following mask changes are necessary to proceed:
#required by dev-python/pyxdg-0.23, required by media-video/totem-2.32.0-r2[-python,youtube], required by gnome-base/gnome-2.32.1-r2, required by @selected, required by @world (argument)
# /etc/portage/package.mask:
=dev-lang/python-3.2.3-r2


This package is already installed on my no-python3 system...and the ebuild looks fairly similar minus the keyword changes (version 1.4 vs 1.8). Anyone know why this suddenly requires python-3? I can't seem to find in any ebuild that requires python3...

The other alternative I hope to someday implement is deleting python2... I'm not sure if that's feasible either yet...

-----------------------------------------------------------

SOLVED - It looks like I should have set PYTHON_TARGETS in make.conf sort of as described in this:

http://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml

Setting this variable in make.conf seems to make it work better - it wasn't clear before I finally found this webpage... Now my small installations won't have to worry about doubling its python disk space. My 2GB HDD on my Geode and my 32G netbook SSD need all the space they can save (though it's just around 30MB or so).
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?


Last edited by eccerr0r on Sun Mar 03, 2013 9:02 pm; edited 2 times in total
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2131
Location: Finland

PostPosted: Sun Feb 10, 2013 7:42 am    Post subject: Reply with quote

Code:

# emerge -pv pyxdg


Should say something like:

Quote:

[ebuild N ] dev-python/pyxdg-0.25 USE="{-test}" PYTHON_TARGETS="python2_7 python3_2 -pypy1_9 -python2_6 -python3_1"


Disable "python3_2" from PYTHON_TARGETS and if that doesn't help, then disable also FEATURES="test" as in USE="test" since I'm not entirely sure if the "nose tests" pull in Pythoin 3.x or not.
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 4002
Location: USA

PostPosted: Mon Feb 11, 2013 1:05 am    Post subject: Reply with quote

Since I'm using ARCH=x86 on this machine, 0.25 is keyworded ~x86, will I have to use this version?

Also it looks like 0.23 is EAPI=4, perhaps that's what's going on here...

Update: I think that's what's going on here, the old EAPI ebuilds are for some reason want to pull in python3.

Starting to get a list of the stable ebuilds that want python3 due to something or another:

dev-python/pyxdg-0.23 (EAPI4) -> unmask pyxdg-0.25
dev-python/dbus-python-1.1.1 (EAPI4) -> unmask dbus-python-1.1.1-r1
dev-python/pycairo-1.10.0-r2 (EAPI3) -> unmask pycairo-1.10.0-r4
dev-python/numpy-1.6.2 (EAPI4) -> unmask numpy-1.6.2-r2 (? doesn't work?)
dev-python/pygtk-2.24.0-r2 (EAPI4) -> mask pygtk-2.24-r3 (?)

[WIP?]
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum