aboutsummaryrefslogtreecommitdiff
path: root/converters/py-text-unidecode
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-09-03 14:35:13 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-09-03 14:35:13 +0000
commitb425021f226d8509a5261cfa28460626d6c17399 (patch)
treedb87c0be0ab3c6f1e4a29c8ee41c9037c5974e63 /converters/py-text-unidecode
parent521fef82f791d5fa21fcb6d39538df361b9abb66 (diff)
downloadports-b425021f226d8509a5261cfa28460626d6c17399.tar.gz
ports-b425021f226d8509a5261cfa28460626d6c17399.zip
converters/py-text-unidecode: Update to 1.3
* Upstream has dual-licensed the package, thus update the port's license info accordingly. * Also add a "do-test" target to make future QA easier. Changelog: https://github.com/kmike/text-unidecode/releases/tag/1.3
Notes
Notes: svn path=/head/; revision=510949
Diffstat (limited to 'converters/py-text-unidecode')
-rw-r--r--converters/py-text-unidecode/Makefile13
-rw-r--r--converters/py-text-unidecode/distinfo6
2 files changed, 13 insertions, 6 deletions
diff --git a/converters/py-text-unidecode/Makefile b/converters/py-text-unidecode/Makefile
index 81eaa96ce500..55fd1c198ee2 100644
--- a/converters/py-text-unidecode/Makefile
+++ b/converters/py-text-unidecode/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= text-unidecode
-DISTVERSION= 1.2
+DISTVERSION= 1.3
CATEGORIES= converters python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,12 +9,19 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
COMMENT= Most basic port of Perl's Text::Unidecode module
-LICENSE= ART10
-LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE_ART10= ${WRKSRC}/LICENSE
+LICENSE_FILE_GPLv1= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
.include <bsd.port.mk>
diff --git a/converters/py-text-unidecode/distinfo b/converters/py-text-unidecode/distinfo
index 2c5c97436bb8..fdd604894c46 100644
--- a/converters/py-text-unidecode/distinfo
+++ b/converters/py-text-unidecode/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530183792
-SHA256 (text-unidecode-1.2.tar.gz) = 5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d
-SIZE (text-unidecode-1.2.tar.gz) = 76872
+TIMESTAMP = 1567451164
+SHA256 (text-unidecode-1.3.tar.gz) = bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93
+SIZE (text-unidecode-1.3.tar.gz) = 76885