Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2020 12:14:35 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558223 - head/textproc/py-fingerprints
Message-ID:  <202012161214.0BGCEZut091380@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Wed Dec 16 12:14:35 2020
New Revision: 558223
URL: https://svnweb.freebsd.org/changeset/ports/558223

Log:
  textproc/py-fingerprints: Update to 1.0.1
  
  * Switch to GitHub for a while to make use of the test suite.
  
  * Add a workaround to avoid configure/build errors with Python < 3.7.
  
  Changelog since 0.6.6:
  
  https://github.com/alephdata/fingerprints/compare/0.6.6...1.0.1

Modified:
  head/textproc/py-fingerprints/Makefile
  head/textproc/py-fingerprints/distinfo

Modified: head/textproc/py-fingerprints/Makefile
==============================================================================
--- head/textproc/py-fingerprints/Makefile	Wed Dec 16 12:12:55 2020	(r558222)
+++ head/textproc/py-fingerprints/Makefile	Wed Dec 16 12:14:35 2020	(r558223)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	fingerprints
-DISTVERSION=	0.6.6
+DISTVERSION=	1.0.1
 CATEGORIES=	textproc python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	kai@FreeBSD.org
@@ -12,21 +11,24 @@ COMMENT=	Easy comparing and cross-referencing of compa
 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}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}normality>=2.0.0:textproc/py-normality@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.5+
+USE_GITHUB=	yes
+GH_ACCOUNT=	alephdata
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=	yes
 
-post-extract:
-	# Prevents that the tests directory will be installed into site-packages
-	@(cd ${WRKSRC} && ${MV} tests test)
+.include <bsd.port.pre.mk>
+# Set a locale to avoid build/configure errors.  The UTF-8 mode is enabled by
+# default when the locale is C since Python 3.7.
+.if ${PYTHON_REL} < 3700
+USE_LOCALE=	en_US.UTF-8
+.endif
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/textproc/py-fingerprints/distinfo
==============================================================================
--- head/textproc/py-fingerprints/distinfo	Wed Dec 16 12:12:55 2020	(r558222)
+++ head/textproc/py-fingerprints/distinfo	Wed Dec 16 12:14:35 2020	(r558223)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594282987
-SHA256 (fingerprints-0.6.6.tar.gz) = a470b1a34e15f57eae9552fa3b17c27192967f8a8a472107516bbb46d93ce733
-SIZE (fingerprints-0.6.6.tar.gz) = 11311
+TIMESTAMP = 1607595648
+SHA256 (alephdata-fingerprints-1.0.1_GH0.tar.gz) = ad024a9424da05eb2bd5c8848268a4377b77a29eb623dea1aaae28af73c155ad
+SIZE (alephdata-fingerprints-1.0.1_GH0.tar.gz) = 75911



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012161214.0BGCEZut091380>