pkgcore / pkgcheck

pkgcore-based QA utility for ebuild repos
https://pkgcore.github.io/pkgcheck
BSD 3-Clause "New" or "Revised" License
35 stars 29 forks source link

Warn about non-PEP517 distutils-r1 ebuilds #467

Closed mgorny closed 2 years ago

mgorny commented 2 years ago

I'd like to prevent people from adding new non-PEP517 ebuilds unless absolutely necessary. I think a good step towards that would be having pkgcheck warn about non-PEP517 mode being deprecated.

I think the simplest way of doing that would be to check for distutils-r1 inherit with no DISTUTILS_USE_PEP517 declaration.

mgorny commented 2 years ago

Ok, I'm going to give it a shot today.