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/url2pkg/files/python | |
| 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/url2pkg/files/python')
| -rw-r--r-- | pkgtools/url2pkg/files/python/setuptools/__init__.py | 6 | ||||
| -rw-r--r-- | pkgtools/url2pkg/files/python/setuptools/command/test.py | 13 |
2 files changed, 18 insertions, 1 deletions
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 |
