pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg pkgtools/url2pkg: support Python with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1880c089284
branches:  trunk
changeset: 384007:f1880c089284
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 25 19:51:59 2022 +0000

description:
pkgtools/url2pkg: support Python with setuptools.command.test

Needed for www/py-pook 1.0.2.

diffstat:

 pkgtools/url2pkg/Makefile                                |   4 ++--
 pkgtools/url2pkg/PLIST                                   |   3 ++-
 pkgtools/url2pkg/files/python/setuptools/__init__.py     |   6 +++++-
 pkgtools/url2pkg/files/python/setuptools/command/test.py |  13 +++++++++++++
 4 files changed, 22 insertions(+), 4 deletions(-)

diffs (66 lines):

diff -r 61234b4b75bb -r f1880c089284 pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Thu Aug 25 18:12:41 2022 +0000
+++ b/pkgtools/url2pkg/Makefile Thu Aug 25 19:51:59 2022 +0000
@@ -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@localhost
diff -r 61234b4b75bb -r f1880c089284 pkgtools/url2pkg/PLIST
--- a/pkgtools/url2pkg/PLIST    Thu Aug 25 18:12:41 2022 +0000
+++ b/pkgtools/url2pkg/PLIST    Thu Aug 25 19:51:59 2022 +0000
@@ -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/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 -r 61234b4b75bb -r f1880c089284 pkgtools/url2pkg/files/python/setuptools/__init__.py
--- a/pkgtools/url2pkg/files/python/setuptools/__init__.py      Thu Aug 25 18:12:41 2022 +0000
+++ b/pkgtools/url2pkg/files/python/setuptools/__init__.py      Thu Aug 25 19:51:59 2022 +0000
@@ -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 @@
     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 -r 61234b4b75bb -r f1880c089284 pkgtools/url2pkg/files/python/setuptools/command/test.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/url2pkg/files/python/setuptools/command/test.py  Thu Aug 25 19:51:59 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index