pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-jaraco.path



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 21 10:37:02 UTC 2021

Added Files:
        pkgsrc/devel/py-jaraco.path: DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-jaraco.path/patches: patch-jaraco_path.py
            patch-setup.cfg

Log Message:
devel/py-jaraco.path: import py-jaraco.path-3.3.1

Python module with miscellaneous path functions.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-jaraco.path/DESCR \
    pkgsrc/devel/py-jaraco.path/Makefile pkgsrc/devel/py-jaraco.path/PLIST \
    pkgsrc/devel/py-jaraco.path/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-jaraco.path/patches/patch-jaraco_path.py \
    pkgsrc/devel/py-jaraco.path/patches/patch-setup.cfg

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

Added files:

Index: pkgsrc/devel/py-jaraco.path/DESCR
diff -u /dev/null pkgsrc/devel/py-jaraco.path/DESCR:1.1
--- /dev/null   Sun Nov 21 10:37:02 2021
+++ pkgsrc/devel/py-jaraco.path/DESCR   Sun Nov 21 10:37:02 2021
@@ -0,0 +1 @@
+Python module with miscellaneous path functions.
Index: pkgsrc/devel/py-jaraco.path/Makefile
diff -u /dev/null pkgsrc/devel/py-jaraco.path/Makefile:1.1
--- /dev/null   Sun Nov 21 10:37:02 2021
+++ pkgsrc/devel/py-jaraco.path/Makefile        Sun Nov 21 10:37:02 2021
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2021/11/21 10:37:02 wiz Exp $
+
+DISTNAME=      jaraco.path-3.3.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jaraco.path/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jaraco/jaraco.path
+COMMENT=       Miscellaneous path functions
+LICENSE=       mit
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-jaraco.path/PLIST
diff -u /dev/null pkgsrc/devel/py-jaraco.path/PLIST:1.1
--- /dev/null   Sun Nov 21 10:37:02 2021
+++ pkgsrc/devel/py-jaraco.path/PLIST   Sun Nov 21 10:37:02 2021
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/21 10:37:02 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/jaraco/path.py
+${PYSITELIB}/jaraco/path.pyc
+${PYSITELIB}/jaraco/path.pyo
Index: pkgsrc/devel/py-jaraco.path/distinfo
diff -u /dev/null pkgsrc/devel/py-jaraco.path/distinfo:1.1
--- /dev/null   Sun Nov 21 10:37:02 2021
+++ pkgsrc/devel/py-jaraco.path/distinfo        Sun Nov 21 10:37:02 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/11/21 10:37:02 wiz Exp $
+
+BLAKE2s (jaraco.path-3.3.1.tar.gz) = 168b646de8069942f2b9bd5ba2968a6b8b7240f4d23de326b47e319def213228
+SHA512 (jaraco.path-3.3.1.tar.gz) = 00dac02fdc6df469f8661d552b16a8ee6150d86a7df9459264377a03e96fd94608f9782ad4cc2b2df67c64a10f8af26ed650b0bac0b1e59607d429abdbe64309
+Size (jaraco.path-3.3.1.tar.gz) = 13287 bytes
+SHA1 (patch-jaraco_path.py) = 66902a42b2055d628f9a02ba2154abf12db1a28d
+SHA1 (patch-setup.cfg) = 5313ea9fa85ce2f046e537fbe18ca82a29a30b8d

Index: pkgsrc/devel/py-jaraco.path/patches/patch-jaraco_path.py
diff -u /dev/null pkgsrc/devel/py-jaraco.path/patches/patch-jaraco_path.py:1.1
--- /dev/null   Sun Nov 21 10:37:02 2021
+++ pkgsrc/devel/py-jaraco.path/patches/patch-jaraco_path.py    Sun Nov 21 10:37:02 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-jaraco_path.py,v 1.1 2021/11/21 10:37:02 wiz Exp $
+
+On python>=3.4, this is in functools.
+
+--- jaraco/path.py.orig        2021-02-25 22:38:22.000000000 +0000
++++ jaraco/path.py
+@@ -18,7 +18,7 @@ import importlib
+ import pathlib
+ from typing import Dict, Union
+ 
+-from singledispatch import singledispatch
++from functools import singledispatch
+ 
+ 
+ log = logging.getLogger(__name__)
Index: pkgsrc/devel/py-jaraco.path/patches/patch-setup.cfg
diff -u /dev/null pkgsrc/devel/py-jaraco.path/patches/patch-setup.cfg:1.1
--- /dev/null   Sun Nov 21 10:37:02 2021
+++ pkgsrc/devel/py-jaraco.path/patches/patch-setup.cfg Sun Nov 21 10:37:02 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.cfg,v 1.1 2021/11/21 10:37:02 wiz Exp $
+
+singledispatch is part of python>=3.4
+
+--- setup.cfg.orig     2021-02-25 22:38:43.851145000 +0000
++++ setup.cfg
+@@ -20,7 +20,6 @@ include_package_data = true
+ python_requires = >=3.6
+ install_requires = 
+       pyobjc; platform_system == "Darwin" and platform_python_implementation != "PyPy"
+-      singledispatch >= 3.6
+ setup_requires = setuptools_scm[toml] >= 3.4.1
+ 
+ [options.packages.find]



Home | Main Index | Thread Index | Old Index