dev-db/postgresql-11.3 does not have 3_7 in PYTHON_COMPAT. If added, the package builds successfully with Python-3.7 installed.
Created attachment 575664 [details, diff] dev-db/postgresql-11.3 add PYTHON_COMPAT 3_7
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edcac752028d3a882dbc2f64e37e1e95dff21276 commit edcac752028d3a882dbc2f64e37e1e95dff21276 Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2019-06-03 10:23:37 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2019-06-03 10:25:01 +0000 dev-db/postgresql: Multiple Fixes/Improvements Bump to EAPI 7. Use ver-cut instead of versionator. Preserve libpg{port,common}.a as they're needed by some PGXS builds. Add Python 3.7 support. Thanks to Jeff Kowalczyk for verifying. Allow ICU collations via icu USE flag. Add debug use flag to allow debugging of extensions. Bug: https://bugs.gentoo.org/671114 Bug: https://bugs.gentoo.org/571046 Bug: https://bugs.gentoo.org/685536 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org> dev-db/postgresql/postgresql-10.8-r1.ebuild | 466 ++++++++++++++++++++++ dev-db/postgresql/postgresql-11.3-r1.ebuild | 468 ++++++++++++++++++++++ dev-db/postgresql/postgresql-12_beta1-r1.ebuild | 468 ++++++++++++++++++++++ dev-db/postgresql/postgresql-9.4.22-r1.ebuild | 480 +++++++++++++++++++++++ dev-db/postgresql/postgresql-9.5.17-r1.ebuild | 486 +++++++++++++++++++++++ dev-db/postgresql/postgresql-9.6.13-r1.ebuild | 491 ++++++++++++++++++++++++ dev-db/postgresql/postgresql-9999.ebuild | 20 +- 7 files changed, 2873 insertions(+), 6 deletions(-)
Per comment 2, this issue has been resolved.