Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 04:42:31 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502252 - in head/devel: . py-pyupgrade
Message-ID:  <201905220442.x4M4gVY2073788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed May 22 04:42:30 2019
New Revision: 502252
URL: https://svnweb.freebsd.org/changeset/ports/502252

Log:
  devel/py-pyupgrade: create port
  
  A tool (and pre-commit hook) to automatically upgrade syntax for newer versions
  of the language.
  
  WWW: https://github.com/asottile/pyupgrade

Added:
  head/devel/py-pyupgrade/
  head/devel/py-pyupgrade/Makefile   (contents, props changed)
  head/devel/py-pyupgrade/distinfo   (contents, props changed)
  head/devel/py-pyupgrade/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed May 22 04:41:22 2019	(r502251)
+++ head/devel/Makefile	Wed May 22 04:42:30 2019	(r502252)
@@ -4824,6 +4824,7 @@
     SUBDIR += py-pytvmaze
     SUBDIR += py-pytz
     SUBDIR += py-pyudev
+    SUBDIR += py-pyupgrade
     SUBDIR += py-pyutil
     SUBDIR += py-pyvalid
     SUBDIR += py-pyvisa

Added: head/devel/py-pyupgrade/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyupgrade/Makefile	Wed May 22 04:42:30 2019	(r502252)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	pyupgrade
+PORTVERSION=	1.17.1
+CATEGORIES=	devel
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Tool to automatically upgrade Python syntax for newer versions
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tokenize-rt>=2.1:devel/py-tokenize-rt@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/devel/py-pyupgrade/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyupgrade/distinfo	Wed May 22 04:42:30 2019	(r502252)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558497549
+SHA256 (pyupgrade-1.17.1.tar.gz) = 10066d1ab87776f50f5735525561fdd7bd5c95e06f5fee53a8b2b202e9284328
+SIZE (pyupgrade-1.17.1.tar.gz) = 18109

Added: head/devel/py-pyupgrade/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyupgrade/pkg-descr	Wed May 22 04:42:30 2019	(r502252)
@@ -0,0 +1,4 @@
+A tool (and pre-commit hook) to automatically upgrade syntax for newer versions
+of the language.
+
+WWW: https://github.com/asottile/pyupgrade



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