svn commit: r510949 - head/converters/py-text-unidecode

Kai Knoblich kai at FreeBSD.org
Tue Sep 3 14:35:14 UTC 2019


Author: kai
Date: Tue Sep  3 14:35:13 2019
New Revision: 510949
URL: https://svnweb.freebsd.org/changeset/ports/510949

Log:
  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

Modified:
  head/converters/py-text-unidecode/Makefile
  head/converters/py-text-unidecode/distinfo

Modified: head/converters/py-text-unidecode/Makefile
==============================================================================
--- head/converters/py-text-unidecode/Makefile	Tue Sep  3 14:35:10 2019	(r510948)
+++ head/converters/py-text-unidecode/Makefile	Tue Sep  3 14:35:13 2019	(r510949)
@@ -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 at 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>

Modified: head/converters/py-text-unidecode/distinfo
==============================================================================
--- head/converters/py-text-unidecode/distinfo	Tue Sep  3 14:35:10 2019	(r510948)
+++ head/converters/py-text-unidecode/distinfo	Tue Sep  3 14:35:13 2019	(r510949)
@@ -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


More information about the svn-ports-head mailing list