Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:49:59 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: d3db929f861b - main - =?utf-8?Q?devel/vitables:=20Update=203.0.2=20=E2=86=92=203.0.3?=
Message-ID:  <202308051849.375InxmG059737@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=d3db929f861b7c9fabfcf887b289cf8a8fe650da

commit d3db929f861b7c9fabfcf887b289cf8a8fe650da
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-05 18:49:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-05 18:49:53 +0000

    devel/vitables: Update 3.0.2 → 3.0.3
    
    Reported by:    portscout
---
 devel/vitables/Makefile             | 14 +++++---------
 devel/vitables/distinfo             |  6 +++---
 devel/vitables/files/patch-setup.py | 13 -------------
 3 files changed, 8 insertions(+), 25 deletions(-)

diff --git a/devel/vitables/Makefile b/devel/vitables/Makefile
index 3f0c9dd73352..bb3494f57a41 100644
--- a/devel/vitables/Makefile
+++ b/devel/vitables/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	vitables
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.0.2
-PORTREVISION=	10
+DISTVERSION=	3.0.3
 CATEGORIES=	devel science python
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,24 +10,21 @@ WWW=		https://github.com/uvemas/ViTables
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}QtPy>=1.2.1:devel/py-QtPy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}QtPy>=2.2:devel/py-QtPy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numexpr>=2.0:math/py-numexpr@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tables>=3.0:devel/py-tables@${PY_FLAVOR}
 
 USES=		dos2unix python pyqt:5
-USE_PYTHON=	distutils cython noflavors autoplist
+USE_PYTHON=	pep517 cython noflavors autoplist pytest # 3 tests fail, see https://github.com/uvemas/ViTables/issues/124
 USE_PYQT=	pyqt5:run sip:run
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	uvemas
 GH_PROJECT=	ViTables
 
-DOS2UNIX_FILES=	setup.py
-
 NO_ARCH=	yes
 
-post-patch:
-	@${REINPLACE_CMD} "s|version=read('VERSION')|version='${DISTVERSION}'|" ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>
diff --git a/devel/vitables/distinfo b/devel/vitables/distinfo
index ef342c9d648a..7f4fa88d62d3 100644
--- a/devel/vitables/distinfo
+++ b/devel/vitables/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1577421471
-SHA256 (uvemas-ViTables-v3.0.2_GH0.tar.gz) = 43a965a08124fe0e1974aed27a7149cdeaf75e8ae833e95a18a94d7d5bd506c8
-SIZE (uvemas-ViTables-v3.0.2_GH0.tar.gz) = 2094762
+TIMESTAMP = 1691219039
+SHA256 (uvemas-ViTables-v3.0.3_GH0.tar.gz) = 9f1747ff3ccc2963ece3252519bbc88216c85b66c12c819e96b8d71d92aab31e
+SIZE (uvemas-ViTables-v3.0.3_GH0.tar.gz) = 2105578
diff --git a/devel/vitables/files/patch-setup.py b/devel/vitables/files/patch-setup.py
deleted file mode 100644
index 7aa2ab16527e..000000000000
--- a/devel/vitables/files/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
---- setup.py.orig	2019-12-27 04:39:05 UTC
-+++ setup.py
-@@ -31,8 +31,8 @@ def read(fname):
- 
- install_requires = ['qtpy (>=1.2.1)', 'numpy (>=1.4.1)', 'numexpr (>=2.0)',
-                     'tables (>=3.0)']
--if 'CONDA_PREFIX' not in os.environ:
--    install_requires.append('PyQt5 (>=5.5.1)')
-+#if 'CONDA_PREFIX' not in os.environ:
-+#    install_requires.append('PyQt5 (>=5.5.1)')
- 
- setup(name='ViTables',
-       version=read('VERSION'),



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