Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 0/3] distutils-r1, python-utils-r1: bump setuptools dep & fix creating python3-embed.pc
Date: Sat, 14 Mar 2020 19:53:14

Here are a few small patches to the Python eclasses.  Two notable
changes are bumping setuptools version for DISTUTILS_USE_SETUPTOOLS
to avoid problems on systems with ancient setuptools installed,
and adding python3-embed.pc wrapper for py3.8+ as needed by meson.

While at it, I'm also removing python.pc which was unnecessarily
created as neither upstream nor Arch/Debian/Fedora are installing it
(just python2.pc and python3.pc).

Michał Górny (3):
  distutils-r1.eclass: Align min. setuptools version to current stable
  python-utils-r1.eclass: Do not create 'python.pc' wrapper
  python-utils-r1.eclass: Create python3-embed.pc wrapper

 eclass/distutils-r1.eclass    |  4 ++--
 eclass/python-utils-r1.eclass | 11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)