Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696148 - sys-apps/portage doesn't pull in pyblake2 for >=python_targets_python3_6
Summary: sys-apps/portage doesn't pull in pyblake2 for >=python_targets_python3_6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 20:14 UTC by tt_1
Modified: 2019-10-03 20:22 UTC (History)
0 users

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 tt_1 2019-10-03 20:14:14 UTC
output from equery: 

equery d pyblake2
 * These packages depend on pyblake2:
sys-apps/portage-2.3.76 (python_targets_pypy ? dev-python/pyblake2[python_targets_pypy(-)?,-python_single_target_pypy(-),python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)])
                        (python_targets_python2_7 ? dev-python/pyblake2[python_targets_pypy(-)?,-python_single_target_pypy(-),python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)])
                        (python_targets_python3_5 ? dev-python/pyblake2[python_targets_pypy(-)?,-python_single_target_pypy(-),python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)])

current workaround would be to add dev-python/pyblake2 to the world file, otherwise it will get cleaned up by emerge --deselect. I really wonder wether it's possible to reinstall pyblake without pyblake2 checksums working?
Comment 1 tt_1 2019-10-03 20:21:09 UTC
trivial fix, I added python 3_7 alongside 3_6 

diff --git a/usr/portage-2.3.76.ebuild b/usr/portage-2.3.76-r1.ebuild
index 9e88d67..220eb33 100644
--- a/usr/portage-2.3.76.ebuild
+++ b/usr/portage-2.3.76-r1.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
 		app-shells/bash:0[readline]
 		>=app-admin/eselect-1.2
 		$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
-			python{2_7,3_5} pypy)
+			python{2_7,3_{5,6,7}} pypy)
 		rsync-verify? (
 			>=app-portage/gemato-14[${PYTHON_USEDEP}]
 			>=app-crypt/openpgp-keys-gentoo-release-20180706
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-10-03 20:22:27 UTC
hashlib module in Python standard library in Python >=3.6 supports blake2b and blake2s, so separate dev-python/pyblake2 package is not used.
https://docs.python.org/3.6/library/hashlib.html