Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2020 11:12:33 +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: r557367 - head/devel/py-inflection
Message-ID:  <202012091112.0B9BCX3N044229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Wed Dec  9 11:12:32 2020
New Revision: 557367
URL: https://svnweb.freebsd.org/changeset/ports/557367

Log:
  devel/py-inflection: Update to 0.5.1
  
  * The support for Python < 3.5 was dropped with the 0.4.0 release, adapt it
    accordingly.
  
  * Add "do-test" target to make future QA easier.
  
  Changelogs since 0.3.1:
  
  https://github.com/jpvanhal/inflection/releases/tag/0.5.1
  https://github.com/jpvanhal/inflection/releases/tag/0.5.0
  https://github.com/jpvanhal/inflection/releases/tag/0.4.0

Modified:
  head/devel/py-inflection/Makefile
  head/devel/py-inflection/distinfo

Modified: head/devel/py-inflection/Makefile
==============================================================================
--- head/devel/py-inflection/Makefile	Wed Dec  9 11:07:41 2020	(r557366)
+++ head/devel/py-inflection/Makefile	Wed Dec  9 11:12:32 2020	(r557367)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	inflection
-DISTVERSION=	0.3.1
+DISTVERSION=	0.5.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +12,16 @@ COMMENT=	Ruby on Rails' inflector ported to Python
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.5+
 USE_PYTHON=	distutils autoplist
+
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.mk>

Modified: head/devel/py-inflection/distinfo
==============================================================================
--- head/devel/py-inflection/distinfo	Wed Dec  9 11:07:41 2020	(r557366)
+++ head/devel/py-inflection/distinfo	Wed Dec  9 11:12:32 2020	(r557367)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522167352
-SHA256 (inflection-0.3.1.tar.gz) = 18ea7fb7a7d152853386523def08736aa8c32636b047ade55f7578c4edeb16ca
-SIZE (inflection-0.3.1.tar.gz) = 8715
+TIMESTAMP = 1607087399
+SHA256 (inflection-0.5.1.tar.gz) = 1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417
+SIZE (inflection-0.5.1.tar.gz) = 15091



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