python-utils-r1: Hook gpep517 to set SOURCE_DATE_EPOCH

Hatchling respects SOURCE_DATE_EPOCH when building wheels.  Our
default value is SOURCE_DATE_EPOCH=0, however, this doesn't work when
building wheels, as wheels are just ZIP archives, which don't support
timestamps before January 1, 1980.

To work around this, we hook gpep517 in this file (which should be
inherited by all Python package builds) to set SOURCE_DATE_EPOCH to a
value that's going to work.

BUG=b:318531403,b:318532035
TEST=dev-python/hatchling can emerge for the SDK

Change-Id: Iebfb81b7438cd5c1e70416e0e6fa441049b13355
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/5874643
Commit-Queue: ChromeOS Auto Retry <chromeos-auto-retry@chromeos-bot.iam.gserviceaccount.com>
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
1 file changed
tree: 0f43317582b12e34663f00f9e74cfe32728ab011
  1. acct-group/
  2. acct-user/
  3. eclass/
  4. metadata/
  5. profiles/
  6. OWNERS
  7. OWNERS.security
  8. PRESUBMIT.cfg
  9. README.md
README.md

CrOS eclass overlay

This eclass overlay is used for 2 purposes: