pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/py-trading-calendars
Module Name: pkgsrc
Committed By: wiz
Date: Sun Nov 5 20:31:17 UTC 2023
Modified Files:
pkgsrc/time/py-trading-calendars: Makefile PLIST distinfo
Added Files:
pkgsrc/time/py-trading-calendars/patches: patch-versioneer.py
Log Message:
py-trading-calendars: update to 2.1.1.
Two years of development.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/time/py-trading-calendars/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/py-trading-calendars/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/time/py-trading-calendars/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/time/py-trading-calendars/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/time/py-trading-calendars/Makefile
diff -u pkgsrc/time/py-trading-calendars/Makefile:1.8 pkgsrc/time/py-trading-calendars/Makefile:1.9
--- pkgsrc/time/py-trading-calendars/Makefile:1.8 Tue Aug 1 23:20:55 2023
+++ pkgsrc/time/py-trading-calendars/Makefile Sun Nov 5 20:31:16 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2023/08/01 23:20:55 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2023/11/05 20:31:16 wiz Exp $
-DISTNAME= trading_calendars-1.11.2
+DISTNAME= trading_calendars-2.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
-PKGREVISION= 2
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trading-calendars/}
@@ -11,21 +10,21 @@ HOMEPAGE= https://github.com/quantopian/
COMMENT= Securities exchange calendars used by Zipline
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-lru-dict-[0-9]*:../../devel/py-lru-dict
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-toolz-[0-9]*:../../devel/py-toolz
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
-USE_PKG_RESOURCES= yes
-
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/tcal \
${DESTDIR}${PREFIX}/bin/tcal-${PYVERSSUFFIX}
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/py-trading-calendars/PLIST
diff -u pkgsrc/time/py-trading-calendars/PLIST:1.1 pkgsrc/time/py-trading-calendars/PLIST:1.2
--- pkgsrc/time/py-trading-calendars/PLIST:1.1 Thu Feb 6 23:33:03 2020
+++ pkgsrc/time/py-trading-calendars/PLIST Sun Nov 5 20:31:16 2023
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2020/02/06 23:33:03 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/11/05 20:31:16 wiz Exp $
bin/tcal-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/trading_calendars/__init__.py
${PYSITELIB}/trading_calendars/__init__.pyc
${PYSITELIB}/trading_calendars/__init__.pyo
@@ -72,6 +72,9 @@ ${PYSITELIB}/trading_calendars/exchange_
${PYSITELIB}/trading_calendars/exchange_calendar_xdub.py
${PYSITELIB}/trading_calendars/exchange_calendar_xdub.pyc
${PYSITELIB}/trading_calendars/exchange_calendar_xdub.pyo
+${PYSITELIB}/trading_calendars/exchange_calendar_xetr.py
+${PYSITELIB}/trading_calendars/exchange_calendar_xetr.pyc
+${PYSITELIB}/trading_calendars/exchange_calendar_xetr.pyo
${PYSITELIB}/trading_calendars/exchange_calendar_xfra.py
${PYSITELIB}/trading_calendars/exchange_calendar_xfra.pyc
${PYSITELIB}/trading_calendars/exchange_calendar_xfra.pyo
@@ -156,6 +159,9 @@ ${PYSITELIB}/trading_calendars/exchange_
${PYSITELIB}/trading_calendars/exchange_calendar_xswx.py
${PYSITELIB}/trading_calendars/exchange_calendar_xswx.pyc
${PYSITELIB}/trading_calendars/exchange_calendar_xswx.pyo
+${PYSITELIB}/trading_calendars/exchange_calendar_xtae.py
+${PYSITELIB}/trading_calendars/exchange_calendar_xtae.pyc
+${PYSITELIB}/trading_calendars/exchange_calendar_xtae.pyo
${PYSITELIB}/trading_calendars/exchange_calendar_xtai.py
${PYSITELIB}/trading_calendars/exchange_calendar_xtai.pyc
${PYSITELIB}/trading_calendars/exchange_calendar_xtai.pyo
@@ -171,6 +177,9 @@ ${PYSITELIB}/trading_calendars/exchange_
${PYSITELIB}/trading_calendars/exchange_calendar_xwbo.py
${PYSITELIB}/trading_calendars/exchange_calendar_xwbo.pyc
${PYSITELIB}/trading_calendars/exchange_calendar_xwbo.pyo
+${PYSITELIB}/trading_calendars/lunisolar_holidays.py
+${PYSITELIB}/trading_calendars/lunisolar_holidays.pyc
+${PYSITELIB}/trading_calendars/lunisolar_holidays.pyo
${PYSITELIB}/trading_calendars/precomputed_trading_calendar.py
${PYSITELIB}/trading_calendars/precomputed_trading_calendar.pyc
${PYSITELIB}/trading_calendars/precomputed_trading_calendar.pyo
@@ -189,18 +198,12 @@ ${PYSITELIB}/trading_calendars/us_holida
${PYSITELIB}/trading_calendars/utils/__init__.py
${PYSITELIB}/trading_calendars/utils/__init__.pyc
${PYSITELIB}/trading_calendars/utils/__init__.pyo
-${PYSITELIB}/trading_calendars/utils/compat.py
-${PYSITELIB}/trading_calendars/utils/compat.pyc
-${PYSITELIB}/trading_calendars/utils/compat.pyo
${PYSITELIB}/trading_calendars/utils/memoize.py
${PYSITELIB}/trading_calendars/utils/memoize.pyc
${PYSITELIB}/trading_calendars/utils/memoize.pyo
${PYSITELIB}/trading_calendars/utils/pandas_utils.py
${PYSITELIB}/trading_calendars/utils/pandas_utils.pyc
${PYSITELIB}/trading_calendars/utils/pandas_utils.pyo
-${PYSITELIB}/trading_calendars/utils/preprocess.py
-${PYSITELIB}/trading_calendars/utils/preprocess.pyc
-${PYSITELIB}/trading_calendars/utils/preprocess.pyo
${PYSITELIB}/trading_calendars/weekday_calendar.py
${PYSITELIB}/trading_calendars/weekday_calendar.pyc
${PYSITELIB}/trading_calendars/weekday_calendar.pyo
Index: pkgsrc/time/py-trading-calendars/distinfo
diff -u pkgsrc/time/py-trading-calendars/distinfo:1.3 pkgsrc/time/py-trading-calendars/distinfo:1.4
--- pkgsrc/time/py-trading-calendars/distinfo:1.3 Tue Oct 26 11:24:35 2021
+++ pkgsrc/time/py-trading-calendars/distinfo Sun Nov 5 20:31:16 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:24:35 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/11/05 20:31:16 wiz Exp $
-BLAKE2s (trading_calendars-1.11.2.tar.gz) = cb4e50e0912389da77c70b300ffbfd411ebbf81f4ddbc3241a7861a6a6028e52
-SHA512 (trading_calendars-1.11.2.tar.gz) = 56450ba29df88610085cf7c2bc6a8db8b68cd0288b17b8da3b3bcb60980391ffd58b3fe93ddf2d22a7de04e4002ab8623801765b17dd91f4d959075d725e1673
-Size (trading_calendars-1.11.2.tar.gz) = 100327 bytes
+BLAKE2s (trading_calendars-2.1.1.tar.gz) = cabfeda33c31176022729e2553ab8a50a9b9e76d338489578af411c69268a6ef
+SHA512 (trading_calendars-2.1.1.tar.gz) = 38116f0ca5920ad5f15b14f607ac8a63f12cac1c1473e8b4eb96abacf442515f66a575f4351d6a9bf6567d12f187afae61cc8921a8e1cd116cd8232b5c31c732
+Size (trading_calendars-2.1.1.tar.gz) = 108745 bytes
+SHA1 (patch-versioneer.py) = 1e109be40bb943c402d4e173131d51483fdba478
Added files:
Index: pkgsrc/time/py-trading-calendars/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/time/py-trading-calendars/patches/patch-versioneer.py:1.1
--- /dev/null Sun Nov 5 20:31:17 2023
+++ pkgsrc/time/py-trading-calendars/patches/patch-versioneer.py Sun Nov 5 20:31:17 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/11/05 20:31:17 wiz Exp $
+
+Fix build with Python 3.12.
+
+--- versioneer.py.orig 2021-01-05 01:45:29.000000000 +0000
++++ versioneer.py
+@@ -339,9 +339,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