On Sun, Jan 05, 2020 at 10:17:58PM +0100, Martin Reindl wrote:
> Hi,
> Update py-snuggs to 1.4.7:
> - take MAINTAINER
> - fix tests
> - tested the only consumer, geo/py-rasterio, too
> OK?
I'd rather fix tests a more standard way, using MODPY_PYTEST.
This way there is no need for a custom do-test target.
With this change to the testing, ok kmos
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/py-snuggs/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile 12 Jul 2019 20:47:46 -0000 1.4
+++ Makefile 5 Jan 2020 23:33:16 -0000
@@ -2,11 +2,12 @@
COMMENT = snuggs are s-expressions for numpy
-MODPY_EGG_VERSION = 1.4.2
+MODPY_EGG_VERSION = 1.4.7
DISTNAME = snuggs-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
-REVISION = 0
+
+MAINTAINER = Martin Reindl <[email protected]>
# MIT
PERMIT_PACKAGE = Yes
@@ -15,12 +16,13 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
+MODPY_PYTEST = Yes
RUN_DEPENDS = devel/py-parsing${MODPY_FLAVOR} \
devel/py-click${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
-TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}
+TEST_DEPENDS = devel/py-hypothesis${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/py-snuggs/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 22 Feb 2019 11:11:19 -0000 1.1.1.1
+++ distinfo 5 Jan 2020 23:33:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (snuggs-1.4.2.tar.gz) = jVYYL8g+GhiTKE9pq9NXUc4w6PCjN5TCgC5+XWVH4fE=
-SIZE (snuggs-1.4.2.tar.gz) = 4468
+SHA256 (snuggs-1.4.7.tar.gz) = UBzxE/44kuFOL+522lzQYGt+FJxBHCcYmOYlnr3iYXs=
+SIZE (snuggs-1.4.7.tar.gz) = 8196