deu / palemoon-overlay

Unofficial Gentoo overlay for the Pale Moon (http://www.palemoon.org/) web browser.
34 stars 12 forks source link

www-client/palemoon-bin still uses EAPI 6 #143

Open KDBal opened 3 months ago

KDBal commented 3 months ago

Please, could you update EAPI version in www-client/palemoon-bin? It can no longer be installed as gnome2-utils removed support for EAPI versions 5 and 6.

tsjk commented 2 months ago

In the meanwhile you can do something like

#!/bin/bash
while read -r; do
  ! grep -q -E '^EAPI=6' "${REPLY}" || \
    { sed -i 's/^EAPI=6/EAPI=7/' "${REPLY}" && \
      sed -i -E 's/(\$\{ED\})([^\/"])/\1\/\2/g; s/(\$\{ED\}")([^\/])/\1\/\2/g;' "${REPLY}" && \
      ebuild "${REPLY}" digest &> /dev/null; }
done < <(find "/var/db/repos/palemoon" -name '*.ebuild' | sort)

in a /etc/portage/postsync.d/palemoon.sh, for instance.