Date: Tue, 30 Apr 2019 15:45:34 +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: r500500 - in head/devel: . py-fs2 Message-ID: <201904301545.x3UFjY5l020213@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <lantw44@gmail.com> (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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904301545.x3UFjY5l020213>