pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-pandas-datareader



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  5 23:25:31 UTC 2023

Modified Files:
        pkgsrc/math/py-pandas-datareader: Makefile PLIST distinfo
Added Files:
        pkgsrc/math/py-pandas-datareader/patches: patch-versioneer.py

Log Message:
py-pandas-datareader: convert to wheel.mk

Fix build with Python 3.12.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/math/py-pandas-datareader/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/py-pandas-datareader/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/py-pandas-datareader/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/py-pandas-datareader/patches/patch-versioneer.py

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

Modified files:

Index: pkgsrc/math/py-pandas-datareader/Makefile
diff -u pkgsrc/math/py-pandas-datareader/Makefile:1.17 pkgsrc/math/py-pandas-datareader/Makefile:1.18
--- pkgsrc/math/py-pandas-datareader/Makefile:1.17      Tue Aug  1 23:20:47 2023
+++ pkgsrc/math/py-pandas-datareader/Makefile   Sun Nov  5 23:25:31 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2023/08/01 23:20:47 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2023/11/05 23:25:31 wiz Exp $
 
 DISTNAME=      pandas-datareader-0.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pandas-datareader/}
 
@@ -10,11 +11,12 @@ HOMEPAGE=   https://github.com/pydata/pand
 COMMENT=       Remote data access for pandas
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-pandas>=0.23:../../math/py-pandas
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.19.0:../../devel/py-requests
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/py-pandas-datareader/PLIST
diff -u pkgsrc/math/py-pandas-datareader/PLIST:1.6 pkgsrc/math/py-pandas-datareader/PLIST:1.7
--- pkgsrc/math/py-pandas-datareader/PLIST:1.6  Mon Nov 28 21:47:29 2022
+++ pkgsrc/math/py-pandas-datareader/PLIST      Sun Nov  5 23:25:31 2023
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2022/11/28 21:47:29 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2023/11/05 23:25:31 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pandas_datareader/__init__.py
 ${PYSITELIB}/pandas_datareader/__init__.pyc
 ${PYSITELIB}/pandas_datareader/__init__.pyo

Index: pkgsrc/math/py-pandas-datareader/distinfo
diff -u pkgsrc/math/py-pandas-datareader/distinfo:1.9 pkgsrc/math/py-pandas-datareader/distinfo:1.10
--- pkgsrc/math/py-pandas-datareader/distinfo:1.9       Mon Nov 28 21:47:29 2022
+++ pkgsrc/math/py-pandas-datareader/distinfo   Sun Nov  5 23:25:31 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2022/11/28 21:47:29 adam Exp $
+$NetBSD: distinfo,v 1.10 2023/11/05 23:25:31 wiz Exp $
 
 BLAKE2s (pandas-datareader-0.10.0.tar.gz) = 04b469568d3f278286a4b4a0441ab30bd2143d7c159fb294d7f3010e10cd9c57
 SHA512 (pandas-datareader-0.10.0.tar.gz) = 00c8e1f2d2b7de1eabf7cf06a2e6dedbc4158558a6a3276535b4f1284ea2df7dae4e6bbfb37c92328f27c2446a5d3d9d979b219bff28ac2f7e07f952ef837924
 Size (pandas-datareader-0.10.0.tar.gz) = 95477 bytes
+SHA1 (patch-versioneer.py) = 2d6a130d98e663549c8d452f5fced0b928c8930d

Added files:

Index: pkgsrc/math/py-pandas-datareader/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/math/py-pandas-datareader/patches/patch-versioneer.py:1.1
--- /dev/null   Sun Nov  5 23:25:31 2023
+++ pkgsrc/math/py-pandas-datareader/patches/patch-versioneer.py        Sun Nov  5 23:25:31 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/11/05 23:25:31 wiz Exp $
+
+Fix build with Python 3.12.
+
+--- versioneer.py.orig 2020-07-07 09:56:46.000000000 +0000
++++ versioneer.py
+@@ -344,9 +344,9 @@ def get_config_from_root(root):
+     # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
+     # the top of versioneer.py for instructions on writing your setup.cfg .
+     setup_cfg = os.path.join(root, "setup.cfg")
+-    parser = configparser.SafeConfigParser()
++    parser = configparser.ConfigParser()
+     with open(setup_cfg, "r") as f:
+-        parser.readfp(f)
++        parser.read_file(f)
+     VCS = parser.get("versioneer", "VCS")  # mandatory
+ 
+     def get(parser, name):



Home | Main Index | Thread Index | Old Index