diff options
author | rillig <rillig@pkgsrc.org> | 2022-08-25 19:51:59 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2022-08-25 19:51:59 +0000 |
commit | cbb8e7ca98aea1b22c90e3d61619b421004e2a4f (patch) | |
tree | 0b0827622ee251544213f42af638f39768f48588 /pkgtools | |
parent | 91fa8889e1a56d4abed5b6ea574f3708503d0f7e (diff) | |
download | pkgsrc-cbb8e7ca98aea1b22c90e3d61619b421004e2a4f.tar.gz |
pkgtools/url2pkg: support Python with setuptools.command.test
Needed for www/py-pook 1.0.2.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/url2pkg/PLIST | 3 | ||||
-rw-r--r-- | pkgtools/url2pkg/files/python/setuptools/__init__.py | 6 | ||||
-rw-r--r-- | pkgtools/url2pkg/files/python/setuptools/command/test.py | 13 |
4 files changed, 22 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index a051264095e..9c2fac730b4 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.128 2022/07/26 21:50:10 rillig Exp $ +# $NetBSD: Makefile,v 1.129 2022/08/25 19:51:59 rillig Exp $ -PKGNAME= url2pkg-22.2.0 +PKGNAME= url2pkg-22.2.1 CATEGORIES= pkgtools MAINTAINER= rillig@NetBSD.org diff --git a/pkgtools/url2pkg/PLIST b/pkgtools/url2pkg/PLIST index 56752139cdf..0855f4cd843 100644 --- a/pkgtools/url2pkg/PLIST +++ b/pkgtools/url2pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2022/07/16 08:59:38 rillig Exp $ +@comment $NetBSD: PLIST,v 1.11 2022/08/25 19:51:59 rillig Exp $ bin/url2pkg lib/url2pkg/ExtUtils/MakeMaker.pm lib/url2pkg/Module/Build.pm @@ -11,6 +11,7 @@ lib/url2pkg/python/setuptools/command/__init__.py lib/url2pkg/python/setuptools/command/build_ext.py lib/url2pkg/python/setuptools/command/install.py lib/url2pkg/python/setuptools/command/sdist.py +lib/url2pkg/python/setuptools/command/test.py lib/url2pkg/python/setuptools/dist.py lib/url2pkg/python/url2pkg.py man/man8/url2pkg.8 diff --git a/pkgtools/url2pkg/files/python/setuptools/__init__.py b/pkgtools/url2pkg/files/python/setuptools/__init__.py index f4b713bffc8..ef7132cbad8 100644 --- a/pkgtools/url2pkg/files/python/setuptools/__init__.py +++ b/pkgtools/url2pkg/files/python/setuptools/__init__.py @@ -1,4 +1,4 @@ -# $NetBSD: __init__.py,v 1.1 2022/07/16 08:59:39 rillig Exp $ +# $NetBSD: __init__.py,v 1.2 2022/08/25 19:51:59 rillig Exp $ # # This is a drop-in replacement for the setuptools Python module. Instead # of actually searching for the dependencies, it extracts the dependency @@ -26,6 +26,10 @@ def find_packages(where='.', exclude=(), include=('*',)): return [] +# used by pkgsrc package www/py-pook 1.0.2 +class Command: + pass + # used by pkgsrc package devel/py-pysha3 1.0.2 # used by pkgsrc package wip/py-torch 1.12.0 class Extension: diff --git a/pkgtools/url2pkg/files/python/setuptools/command/test.py b/pkgtools/url2pkg/files/python/setuptools/command/test.py new file mode 100644 index 00000000000..1060209686a --- /dev/null +++ b/pkgtools/url2pkg/files/python/setuptools/command/test.py @@ -0,0 +1,13 @@ +# $NetBSD: test.py,v 1.1 2022/08/25 19:51:59 rillig Exp $ +# +# Fake implementation of setuptools.command.test. +# +# https://github.com/pypa/setuptools/blob/main/setuptools/command/test.py + +# used by pkgsrc package www/py-pook 1.0.2 + +from setuptools import Command + + +class test(Command): + pass |