Subject: CVS commit: pkgsrc/pkgtools/url2pkg
From: Roland Illig
Date: 2022-07-16 10:59:39
Message id: 20220716085939.92476FB1A@cvs.NetBSD.org

Log Message:
url2pkg: split support files for Python distutils and setuptools

When url2pkg determines the metadata of a Python module, it had merged
the two implementations for Python's distutils and setuptools, which
made the code hard to understand.  Split them again.

Extend the support for setuptools, so that url2pkg correctly handles
wip/pytorch; it still fails because pytorch does some Git stuff from
inside setup.py, but that may be fixed later.

Bump version to 22.2.0.

Files:
RevisionActionfile
1.127modifypkgsrc/pkgtools/url2pkg/Makefile
1.10modifypkgsrc/pkgtools/url2pkg/PLIST
1.43modifypkgsrc/pkgtools/url2pkg/files/url2pkg.py
1.41modifypkgsrc/pkgtools/url2pkg/files/url2pkg_test.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/url2pkg.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/distutils/__init__.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/distutils/core.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/distutils/extension.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/distutils/version.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/setuptools/dist.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/setuptools/command/__init__.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/setuptools/command/build_ext.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/setuptools/command/install.py
1.1addpkgsrc/pkgtools/url2pkg/files/python/setuptools/command/sdist.py
1.7removepkgsrc/pkgtools/url2pkg/files/setuptools.py