From owner-svn-ports-head@freebsd.org Mon Mar 13 17:48:57 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D66F1D0A337; Mon, 13 Mar 2017 17:48:57 +0000 (UTC) (envelope-from sunpoet@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 mx1.freebsd.org (Postfix) with ESMTPS id AEB0A1027; Mon, 13 Mar 2017 17:48:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2DHmuDn067689; Mon, 13 Mar 2017 17:48:56 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2DHmu6J067685; Mon, 13 Mar 2017 17:48:56 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201703131748.v2DHmu6J067685@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 13 Mar 2017 17:48:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436099 - in head/ftp/py-tftpy: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 13 Mar 2017 17:48:57 -0000 Author: sunpoet Date: Mon Mar 13 17:48:56 2017 New Revision: 436099 URL: https://svnweb.freebsd.org/changeset/ports/436099 Log: Update to latest snapshot which supports Python 3 - Change MASTER_SITES to GitHub - Add LICENSE_FILE - Add NO_ARCH - Allow concurrent installation (USE_PYTHON=concurrent) - Bump PORTREVISION for package change Changes: https://github.com/msoulier/tftpy/commits/master Added: head/ftp/py-tftpy/files/ head/ftp/py-tftpy/files/patch-tftpy-TftpServer.py (contents, props changed) head/ftp/py-tftpy/files/patch-tftpy-TftpStates.py (contents, props changed) Modified: head/ftp/py-tftpy/Makefile head/ftp/py-tftpy/distinfo Modified: head/ftp/py-tftpy/Makefile ============================================================================== --- head/ftp/py-tftpy/Makefile Mon Mar 13 17:48:51 2017 (r436098) +++ head/ftp/py-tftpy/Makefile Mon Mar 13 17:48:56 2017 (r436099) @@ -3,17 +3,22 @@ PORTNAME= tftpy PORTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= ftp python -MASTER_SITES= CHEESESHOP \ - SF/${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure Python TFTP Implementation LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING +NO_ARCH= yes USE_PYTHON= autoplist distutils -USES= python:2 +USES= python + +GH_ACCOUNT= msoulier +GH_TAGNAME= c5a7b52 +USE_GITHUB= yes .include Modified: head/ftp/py-tftpy/distinfo ============================================================================== --- head/ftp/py-tftpy/distinfo Mon Mar 13 17:48:51 2017 (r436098) +++ head/ftp/py-tftpy/distinfo Mon Mar 13 17:48:56 2017 (r436099) @@ -1,2 +1,3 @@ -SHA256 (tftpy-0.6.2.tar.gz) = 9bc2bd77113b31b55c12b7298cc2b1cc3c55a8cef9f5f76518ed17e575591b43 -SIZE (tftpy-0.6.2.tar.gz) = 26107 +TIMESTAMP = 1489402358 +SHA256 (msoulier-tftpy-0.6.2-c5a7b52_GH0.tar.gz) = d294e263b181e35327d4f316d7fd13295056a0ea03b1187836d54496a0a9863c +SIZE (msoulier-tftpy-0.6.2-c5a7b52_GH0.tar.gz) = 820065 Added: head/ftp/py-tftpy/files/patch-tftpy-TftpServer.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/py-tftpy/files/patch-tftpy-TftpServer.py Mon Mar 13 17:48:56 2017 (r436099) @@ -0,0 +1,13 @@ +--- tftpy/TftpServer.py.orig 2016-07-07 08:32:15 UTC ++++ tftpy/TftpServer.py +@@ -53,8 +53,8 @@ class TftpServer(TftpSession): + for name in 'dyn_file_func', 'upload_open': + attr = getattr(self, name) + if attr and not callable(attr): +- raise TftpException, "%s supplied, but it is not callable." % ( +- name,) ++ raise TftpException("%s supplied, but it is not callable." % ( ++ name)) + if os.path.exists(self.root): + log.debug("tftproot %s does exist", self.root) + if not os.path.isdir(self.root): Added: head/ftp/py-tftpy/files/patch-tftpy-TftpStates.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/py-tftpy/files/patch-tftpy-TftpStates.py Mon Mar 13 17:48:56 2017 (r436099) @@ -0,0 +1,11 @@ +--- tftpy/TftpStates.py.orig 2016-07-07 08:32:15 UTC ++++ tftpy/TftpStates.py +@@ -368,7 +368,7 @@ class TftpStateServerRecvWRQ(TftpServerS + f = self.context.upload_open(path, self.context) + if f is None: + self.sendError(TftpErrors.AccessViolation) +- raise TftpException, "Dynamic path %s not permitted" % path ++ raise TftpException("Dynamic path %s not permitted" % path) + else: + self.context.fileobj = f + else: