Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940253 - dev-python/rpyc: reinvents every Python eclass variable/function possible
Summary: dev-python/rpyc: reinvents every Python eclass variable/function possible
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 04:44 UTC by Michał Górny
Modified: 2024-09-26 04:44 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-09-26 04:44:58 UTC
The ebuild suffers from serious NIH:

> do PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages ${EPYTHON} ${x} || die "${x} failed"

This is reinventing ${BUILD_DIR}, $(python_get_sitedir) (and both of them poorly), and on top of that, setting PYTHONPATH here should be completely unnecessary here since the eclass does that.