Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic changes and tests to keep things working #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kentfredric
Copy link
Member

This is more a code review request for sanity because I don't know what I'm doing here, I'm just poking the bits till I get a useful output.

  1. eclass.sh was grossly outdated.
  2. modern ones have this silly PORTAGE_BIN_PATH="${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}" shit, which is useless, because ...
/usr/lib/portage/python2.7/ebuild.sh
/usr/lib/portage/python3.4/ebuild.sh

So there's no way to know where that is from perl land. So I just stuffed them in the sharedir and forced the bin path to the share dir and crossed my fingers.

  1. There's a lot of garbage variables that have to be turned on to make the magic smoke come out. I probably did something wrong, but tests demonstrate I can do very rudimentary shit with it now.

I would love to avoid Shell::EnvImporter as it is grossly unmaintained. But ETOOHARD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant