Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2019 00:52:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r515164 - in branches/2019Q4: devel/py-path.py www/py-flexget www/py-flexget/files
Message-ID:  <201910220052.x9M0qqZk014139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Oct 22 00:52:51 2019
New Revision: 515164
URL: https://svnweb.freebsd.org/changeset/ports/515164

Log:
  MFH: r513945
  
  devel/py-path.py: update to 11.5.2
  
  - Connect tests to the framework
  - Define LICENSE_FILE as MIT has many styles
  - Skip later versions due to lack of Python 2 support
  - Take maintainership
  
  Changes:	https://github.com/jaraco/path.py/compare/8.1.2...11.5.2
  PR:		241112
  Approved by:	wg (maintainer)
  Approved by:	ports-secteam (miwi)

Deleted:
  branches/2019Q4/www/py-flexget/files/patch-02-path.py-8.1
Modified:
  branches/2019Q4/devel/py-path.py/Makefile
  branches/2019Q4/devel/py-path.py/distinfo
  branches/2019Q4/www/py-flexget/Makefile
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/devel/py-path.py/Makefile
==============================================================================
--- branches/2019Q4/devel/py-path.py/Makefile	Tue Oct 22 00:51:00 2019	(r515163)
+++ branches/2019Q4/devel/py-path.py/Makefile	Tue Oct 22 00:52:51 2019	(r515164)
@@ -1,24 +1,33 @@
 # $FreeBSD$
 
 PORTNAME=	path.py
-PORTVERSION=	8.1.2
+PORTVERSION=	11.5.2
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	wg@FreeBSD.org
+MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Module wrapper for os.path
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python
-USE_PYTHON=	autoplist distutils
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.5:devel/py-importlib-metadata@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-flake8>0:devel/py-pytest-flake8@${PY_FLAVOR}
 
+NO_ARCH=	yes
+USES=		python
 USE_GITHUB=	yes
+USE_PYTHON=	autoplist distutils
 GH_ACCOUNT=	jaraco
+PORTSCOUT=	limit:^11\. # ignore py3-only for now
 
 post-patch:
 	@${REINPLACE_CMD} -e '/setuptools_scm/d' \
-		-e 's/use_scm_version=True,/version="${PORTVERSION}",/' \
-		${WRKSRC}/${PYSETUP}
+		-e 's/use_scm_version=True/version="${PORTVERSION}"/' \
+		${WRKSRC}/setup.*
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.mk>

Modified: branches/2019Q4/devel/py-path.py/distinfo
==============================================================================
--- branches/2019Q4/devel/py-path.py/distinfo	Tue Oct 22 00:51:00 2019	(r515163)
+++ branches/2019Q4/devel/py-path.py/distinfo	Tue Oct 22 00:52:51 2019	(r515164)
@@ -1,2 +1,3 @@
-SHA256 (jaraco-path.py-8.1.2_GH0.tar.gz) = 23fbc7f2a25e5696af5afccd851a931f9fca82d7dd123953cec9d369951b4c79
-SIZE (jaraco-path.py-8.1.2_GH0.tar.gz) = 32400
+TIMESTAMP = 1554787860
+SHA256 (jaraco-path.py-11.5.2_GH0.tar.gz) = 0e7af2bd797a35ca402d8652bac853576070ad542b2969fcc97fa7d3f3f7ff41
+SIZE (jaraco-path.py-11.5.2_GH0.tar.gz) = 40303

Modified: branches/2019Q4/www/py-flexget/Makefile
==============================================================================
--- branches/2019Q4/www/py-flexget/Makefile	Tue Oct 22 00:51:00 2019	(r515163)
+++ branches/2019Q4/www/py-flexget/Makefile	Tue Oct 22 00:52:51 2019	(r515164)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flexget
 PORTVERSION=	2.21.22
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,7 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:dat
 		${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=2.0:devel/py-jsonschema@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}path.py<10.6:devel/py-path.py@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}path.py>=10.6:devel/py-path.py@${PY_FLAVOR} \
 		${PY_PATHLIB} \
 		${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=4.2:devel/py-yaml@${PY_FLAVOR} \



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