pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/url2pkg



Module Name:    pkgsrc
Committed By:   rillig
Date:           Thu Aug 25 19:51:59 UTC 2022

Modified Files:
        pkgsrc/pkgtools/url2pkg: Makefile PLIST
        pkgsrc/pkgtools/url2pkg/files/python/setuptools: __init__.py
Added Files:
        pkgsrc/pkgtools/url2pkg/files/python/setuptools/command: test.py

Log Message:
pkgtools/url2pkg: support Python with setuptools.command.test

Needed for www/py-pook 1.0.2.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 pkgsrc/pkgtools/url2pkg/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/pkgtools/url2pkg/PLIST
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/pkgtools/url2pkg/files/python/setuptools/command/test.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/url2pkg/Makefile
diff -u pkgsrc/pkgtools/url2pkg/Makefile:1.128 pkgsrc/pkgtools/url2pkg/Makefile:1.129
--- pkgsrc/pkgtools/url2pkg/Makefile:1.128      Tue Jul 26 21:50:10 2022
+++ pkgsrc/pkgtools/url2pkg/Makefile    Thu Aug 25 19:51:59 2022
@@ -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

Index: pkgsrc/pkgtools/url2pkg/PLIST
diff -u pkgsrc/pkgtools/url2pkg/PLIST:1.10 pkgsrc/pkgtools/url2pkg/PLIST:1.11
--- pkgsrc/pkgtools/url2pkg/PLIST:1.10  Sat Jul 16 08:59:38 2022
+++ pkgsrc/pkgtools/url2pkg/PLIST       Thu Aug 25 19:51:59 2022
@@ -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/__
 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

Index: pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py
diff -u pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py:1.1 pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py:1.2
--- pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py:1.1     Sat Jul 16 08:59:39 2022
+++ pkgsrc/pkgtools/url2pkg/files/python/setuptools/__init__.py Thu Aug 25 19:51:59 2022
@@ -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=(),
     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:

Added files:

Index: pkgsrc/pkgtools/url2pkg/files/python/setuptools/command/test.py
diff -u /dev/null pkgsrc/pkgtools/url2pkg/files/python/setuptools/command/test.py:1.1
--- /dev/null   Thu Aug 25 19:51:59 2022
+++ pkgsrc/pkgtools/url2pkg/files/python/setuptools/command/test.py     Thu Aug 25 19:51:59 2022
@@ -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