On 1/27/26 12:43 AM, Ulrich Müller wrote:
>>>>>> On Tue, 27 Jan 2026, Eli Schwartz wrote:
> 
>> @@ -15,10 +15,8 @@
>>  # Note that this eclass *must* not assume the presence of any standard tex 
>> too
>  
>>  case ${EAPI} in
>> -    7)
>> -            inherit eapi8-dosym
>> -            ;;
>> -    8) ;;
>> +    7) inherit eapi8-dosym ;;
>> +    8) inherit eapi9-pipestatus ;;
>>      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
>>  esac
>>
>> @@ -293,7 +291,7 @@ texlive-common_update_tlpdb() {
>>              find "${tlpobj}" -maxdepth 1 -type f -name "*.tlpobj" -print0 |
>>                      sort -z |
>>                      xargs -0 --no-run-if-empty sed -s '$G' >> "${new_tlpdb}"
>> -            assert "generating tlpdb failed"
>> +            pipestatus || die "generating tlpdb failed"
> 
> Is this codepath not taken in EAPI 7?


Just a mistake. ;) Applied locally:

24:  a528e9a9fb55 ! 24:  8a401961a94c texlive-common.eclass: use
eapi9-pipestatus rather than assert
    @@ eclass/texlive-common.eclass
     -          inherit eapi8-dosym
     -          ;;
     -  8) ;;
    -+  7) inherit eapi8-dosym ;;
    ++  7) inherit eapi8-dosym eapi9-pipestatus ;;
     +  8) inherit eapi9-pipestatus ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
      esac


No remaining ebuilds in gentoo use it via EAPI 7 though.


-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to