The below updates patsy from a 2015 release to the latest version released in 2024. Besides catching up on close to a decade of changes, the main benefit is dropping the TDEP on nose.
Note that the patsy project recommends migrating away from patsy to formulaic. ok on the update below? Index: Makefile =================================================================== RCS file: /cvs/ports/math/py-patsy/Makefile,v diff -u -p -u -r1.12 Makefile --- Makefile 25 Nov 2022 19:30:35 -0000 1.12 +++ Makefile 12 Feb 2024 03:44:16 -0000 @@ -1,16 +1,13 @@ COMMENT = Python package for describing statistical models -MODPY_EGG_VERSION = 0.4.1 +MODPY_EGG_VERSION = 0.5.6 DISTNAME = patsy-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = math -REVISION = 6 # BSD PERMIT_PACKAGE = Yes -EXTRACT_SUFX = .zip - MODULES = lang/python MODPY_PI = Yes @@ -19,7 +16,8 @@ MODPY_PYTEST_ARGS = patsy RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \ math/py-numpy${MODPY_FLAVOR} -TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \ + +TEST_DEPENDS = devel/py-test-cov${MODPY_FLAVOR} \ math/py-scipy${MODPY_FLAVOR} FLAVORS = python3 Index: distinfo =================================================================== RCS file: /cvs/ports/math/py-patsy/distinfo,v diff -u -p -u -r1.1.1.1 distinfo --- distinfo 24 Feb 2017 21:51:36 -0000 1.1.1.1 +++ distinfo 12 Feb 2024 03:44:16 -0000 @@ -1,2 +1,2 @@ -SHA256 (patsy-0.4.1.zip) = 3BzCgARbDm5QwEcG/R4m0qAOpACqES+I6BQviLC309Q= -SIZE (patsy-0.4.1.zip) = 425390 +SHA256 (patsy-0.5.6.tar.gz) = lcbUenIiU1+Ev/f2PXMD8uKXdHpZjbic9cZ/DAx9LNs= +SIZE (patsy-0.5.6.tar.gz) = 398011