From owner-svn-ports-head@freebsd.org Wed May 22 04:42:32 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B594159F30C; Wed, 22 May 2019 04:42:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 263616AE84; Wed, 22 May 2019 04:42:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 01D87186AE; Wed, 22 May 2019 04:42:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4M4gVh8073795; Wed, 22 May 2019 04:42:31 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4M4gVY2073788; Wed, 22 May 2019 04:42:31 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905220442.x4M4gVY2073788@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 22 May 2019 04:42:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502252 - in head/devel: . py-pyupgrade X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . py-pyupgrade X-SVN-Commit-Revision: 502252 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 263616AE84 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.94)[-0.945,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 04:42:32 -0000 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 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