aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-fingerprints
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-07-10 06:34:51 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-07-10 06:34:51 +0000
commitea20520f689e7e437a05ea55c2631e387bba48c9 (patch)
treeda07765e29225b3872188912cf6ea5c32a630789 /textproc/py-fingerprints
parent7141b7311b95e968167bb91a93dfeb3c4367c730 (diff)
downloadports-ea20520f689e7e437a05ea55c2631e387bba48c9.tar.gz
ports-ea20520f689e7e437a05ea55c2631e387bba48c9.zip
textproc/py-fingerprints: Update to 0.6.6
* Add a "do-test" target to make future QA easier. Changelog since 0.5.4: https://github.com/alephdata/fingerprints/compare/c76ff3b...0.6.6 MFH: No (contains only trivial/internal changes)
Notes
Notes: svn path=/head/; revision=541846
Diffstat (limited to 'textproc/py-fingerprints')
-rw-r--r--textproc/py-fingerprints/Makefile7
-rw-r--r--textproc/py-fingerprints/distinfo6
2 files changed, 9 insertions, 4 deletions
diff --git a/textproc/py-fingerprints/Makefile b/textproc/py-fingerprints/Makefile
index f054cdd8c354..d913148e5b29 100644
--- a/textproc/py-fingerprints/Makefile
+++ b/textproc/py-fingerprints/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= fingerprints
-DISTVERSION= 0.5.4
+DISTVERSION= 0.6.6
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,12 @@ MAINTAINER= kai@FreeBSD.org
COMMENT= Easy comparing and cross-referencing of companies and people
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}normality>=0.4.0:textproc/py-normality@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
@@ -24,4 +26,7 @@ post-extract:
# Prevents that the tests directory will be installed into site-packages
@(cd ${WRKSRC} && ${MV} tests test)
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+
.include <bsd.port.mk>
diff --git a/textproc/py-fingerprints/distinfo b/textproc/py-fingerprints/distinfo
index a331499be712..5da652e74d20 100644
--- a/textproc/py-fingerprints/distinfo
+++ b/textproc/py-fingerprints/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530199613
-SHA256 (fingerprints-0.5.4.tar.gz) = e720fa97356c6b8e227474aa8dbeb3c10e93452820a447e632d547bdb1981c5a
-SIZE (fingerprints-0.5.4.tar.gz) = 10454
+TIMESTAMP = 1594282987
+SHA256 (fingerprints-0.6.6.tar.gz) = a470b1a34e15f57eae9552fa3b17c27192967f8a8a472107516bbb46d93ce733
+SIZE (fingerprints-0.6.6.tar.gz) = 11311