Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2023 04:41:45 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 17a04e106dbb - main - =?utf-8?Q?science/py-arch:=20Update=205.5.0=20=E2=86=92=206.1.0?=
Message-ID:  <202306270441.35R4fjpL049046@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17a04e106dbb1089e423cb75f6df7f3e44d3c9d0

commit 17a04e106dbb1089e423cb75f6df7f3e44d3c9d0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-27 04:19:44 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-27 04:41:40 +0000

    science/py-arch: Update 5.5.0 → 6.1.0
    
    Reported by:    portscout
---
 science/py-arch/Makefile                   | 20 ++++++++++++--------
 science/py-arch/distinfo                   |  6 +++---
 science/py-arch/files/patch-pyproject.toml | 20 ++++++++++++++++++++
 3 files changed, 35 insertions(+), 11 deletions(-)

diff --git a/science/py-arch/Makefile b/science/py-arch/Makefile
index 8453faaae6d6..8c7a41db15a9 100644
--- a/science/py-arch/Makefile
+++ b/science/py-arch/Makefile
@@ -1,28 +1,32 @@
 PORTNAME=	arch
-DISTVERSION=	5.5.0
-CATEGORIES=	science python # economics
+DISTVERSION=	6.1.0
+CATEGORIES=	science finance python # economics
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Autoregressive Conditional Heteroskedasticity (ARCH) models
-WWW=		https://github.com/RomelTorres/alpha_vantage
+WWW=		https://github.com/bashtage/arch
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 PY_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}pandas>=1.0:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.1:math/py-pandas@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}property-cached>=1.6.4:devel/py-property-cached@${PY_FLAVOR}  \
-		${PYTHON_PKGNAMEPREFIX}scipy>=1.3:science/py-scipy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}statsmodels>=0.11:math/py-statsmodels@${PY_FLAVOR}
-BUILD_DEPENDS=	${PY_DEPENDS}
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.5:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}statsmodels>=0.12:math/py-statsmodels@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+		${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
 
 USES=		python:3.8+
-USE_PYTHON=	distutils cython autoplist pytest
+USE_PYTHON=	pep517 cython autoplist pytest # tests fail to run, see https://github.com/bashtage/arch/issues/668
 
 TEST_WRKSRC=	${WRKSRC}/arch/tests
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	@${STRIP_CMD} \
diff --git a/science/py-arch/distinfo b/science/py-arch/distinfo
index 9dae10f45350..6da81194d402 100644
--- a/science/py-arch/distinfo
+++ b/science/py-arch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682583751
-SHA256 (arch-5.5.0.tar.gz) = 00f64304c6fae83ce9e38e54b5cad273ee1171dc8347c793a7a66212c5205848
-SIZE (arch-5.5.0.tar.gz) = 3386547
+TIMESTAMP = 1687837929
+SHA256 (arch-6.1.0.tar.gz) = c398f1fd89e23911ca65f04b17a1cc67e87df14bb1a0478b5cd05dde772eb996
+SIZE (arch-6.1.0.tar.gz) = 3368476
diff --git a/science/py-arch/files/patch-pyproject.toml b/science/py-arch/files/patch-pyproject.toml
new file mode 100644
index 000000000000..8de516330881
--- /dev/null
+++ b/science/py-arch/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig	2023-05-26 17:31:58 UTC
++++ pyproject.toml
+@@ -2,8 +2,8 @@
+ requires = [
+   "setuptools>=61",
+   "wheel",
+-  "setuptools_scm[toml]>=7,<8",
+-  "oldest-supported-numpy>=2022.11.19",
++  "setuptools_scm[toml]",
++  "numpy",
+   "numpy; python_version>='3.12'",
+   "cython>=0.29.34"  # Works with 3.0.0b2
+ ]
+@@ -29,4 +29,4 @@ exclude = '''
+ write_to = "arch/_version.py"
+ 
+ [tool.ruff]
+-typing-modules = ["arch.typing"]
+\ No newline at end of file
++typing-modules = ["arch.typing"]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306270441.35R4fjpL049046>