From owner-svn-ports-all@freebsd.org Tue Apr 30 15:45:35 2019 Return-Path: Delivered-To: svn-ports-all@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 CA67D1595CAD; Tue, 30 Apr 2019 15:45:35 +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 6B222801F6; Tue, 30 Apr 2019 15:45:35 +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 4501CBD64; Tue, 30 Apr 2019 15:45:35 +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 x3UFjZS5020221; Tue, 30 Apr 2019 15:45:35 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3UFjY5l020213; Tue, 30 Apr 2019 15:45:34 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201904301545.x3UFjY5l020213@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 30 Apr 2019 15:45:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500500 - in head/devel: . py-fs2 X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . py-fs2 X-SVN-Commit-Revision: 500500 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6B222801F6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 15:45:36 -0000 Author: swills Date: Tue Apr 30 15:45:34 2019 New Revision: 500500 URL: https://svnweb.freebsd.org/changeset/ports/500500 Log: devel/py-fs2: create port Filesystem Abstraction for Python. Work with files and directories in archives, memory, the cloud etc. as easily as your local drive. Write code now, decide later where the data will be stored; unit test without writing real files; upload files to the cloud without learning a new API; sandbox your file writing code; etc. WWW: https://www.pyfilesystem.org/ This port is for the 2.x version which is not API compatible with previous versions. PR: 234491 Submitted by: Ting-Wei Lan (inspired by) Added: head/devel/py-fs2/ head/devel/py-fs2/Makefile (contents, props changed) head/devel/py-fs2/distinfo (contents, props changed) head/devel/py-fs2/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Apr 30 14:55:16 2019 (r500499) +++ head/devel/Makefile Tue Apr 30 15:45:34 2019 (r500500) @@ -4611,6 +4611,7 @@ SUBDIR += py-freezegun SUBDIR += py-frozendict SUBDIR += py-fs + SUBDIR += py-fs2 SUBDIR += py-fsm SUBDIR += py-fudge SUBDIR += py-funcparserlib Added: head/devel/py-fs2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-fs2/Makefile Tue Apr 30 15:45:34 2019 (r500500) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= fs +PORTVERSION= 2.4.4 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 2 + +MAINTAINER= swills@FreeBSD.org +COMMENT= Python Filesystem abstraction layer, version 2.x + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.3:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \ + ${PY_ENUM34} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes +PORTSCOUT= limit:^2\. + +.include + +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.os>=0.1:devel/py-backports.os@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 3500 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}scandir>=1.5:sysutils/py-scandir@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=3.6:devel/py-typing@${PY_FLAVOR} +.endif + +.include Added: head/devel/py-fs2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-fs2/distinfo Tue Apr 30 15:45:34 2019 (r500500) @@ -0,0 +1,3 @@ +TIMESTAMP = 1556631119 +SHA256 (fs-2.4.4.tar.gz) = 932b2bf9f76bcc50ebe9711378f7503f71410ddeb1a77754139b886fc5302e4f +SIZE (fs-2.4.4.tar.gz) = 124012 Added: head/devel/py-fs2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-fs2/pkg-descr Tue Apr 30 15:45:34 2019 (r500500) @@ -0,0 +1,7 @@ +Filesystem Abstraction for Python. Work with files and directories in archives, +memory, the cloud etc. as easily as your local drive. Write code now, decide +later where the data will be stored; unit test without writing real files; +upload files to the cloud without learning a new API; sandbox your file writing +code; etc. + +WWW: https://www.pyfilesystem.org/