pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-vega_datasets: pkglint warnings, hook up test.



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Sun Feb 5 12:58:07 2023 -0800
Changeset:	ed6185ca311ff5bf822d4790e29eaa2589a81bf1

Modified Files:
	py-vega_datasets/Makefile
	py-vega_datasets/distinfo

Log Message:
py-vega_datasets: pkglint warnings, hook up test.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ed6185ca311ff5bf822d4790e29eaa2589a81bf1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-vega_datasets/Makefile | 11 +++++++----
 py-vega_datasets/distinfo |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs:
diff --git a/py-vega_datasets/Makefile b/py-vega_datasets/Makefile
index da7bcda113..d00cadf46b 100644
--- a/py-vega_datasets/Makefile
+++ b/py-vega_datasets/Makefile
@@ -2,16 +2,19 @@
 
 DISTNAME=	vega_datasets-0.9.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	category python
+CATEGORIES=	graphics python
 MASTER_SITES=	${MASTER_SITE_PYPI:=v/vega_datasets/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
-HOMEPAGE=	http://github.com/altair-viz/vega_datasets
+HOMEPAGE=	https://github.com/altair-viz/vega_datasets
 COMMENT=	Python package for offline access to Vega datasets
 LICENSE=	mit
 
-#DEPENDS+=	${PYPKGPREFIX}-pandas>=0.23.0:../../math/py-pandas
-#TEST_DEPENDS+=	${PYPKGPREFIX}-test>=6.2.1:../../devel/py-test
+DEPENDS+=	${PYPKGPREFIX}-pandas>=1.5.0:../../math/py-pandas
+TEST_DEPENDS+=	${PYPKGPREFIX}-test>=6.2.1:../../devel/py-test
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s --doctest-modules vega_datasets
 
 USE_LANGUAGES=	# none
 
diff --git a/py-vega_datasets/distinfo b/py-vega_datasets/distinfo
index 87b88bfb37..f11b0ab614 100644
--- a/py-vega_datasets/distinfo
+++ b/py-vega_datasets/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (vega_datasets-0.9.0.tar.gz) = 04625dd6f1ce95ff46fe5276b7644e9ef4f1a1c2
+BLAKE2s (vega_datasets-0.9.0.tar.gz) = e81f87fba76684902667d694388064d09c5a61e915d9ead95b871b2745aebb1b
 SHA512 (vega_datasets-0.9.0.tar.gz) = 44dd4b777d7481f5cc39ea8920492f9e41ba5270439a45eca5380b33d77d8af0846e777ee56fc412a330e16c4a2ccbabd975d5fb49c35f18004666edaf0bfdfd
 Size (vega_datasets-0.9.0.tar.gz) = 215013 bytes


Home | Main Index | Thread Index | Old Index