Received: by mail.netbsd.org (Postfix, from userid 605) id 57D83855FE; Tue, 29 Aug 2017 06:56:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DE8FB855F2 for ; Tue, 29 Aug 2017 06:56:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 68gon_cNQaUZ for ; Tue, 29 Aug 2017 06:56:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5F34184CDD for ; Tue, 29 Aug 2017 06:56:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1698FFA96; Tue, 29 Aug 2017 06:55:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_150398975688450" MIME-Version: 1.0 Date: Tue, 29 Aug 2017 06:55:56 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-pathlib To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170829065556.1698FFA96@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_150398975688450 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Tue Aug 29 06:55:56 UTC 2017 Added Files: pkgsrc/devel/py-pathlib: DESCR Makefile PLIST distinfo Log Message: Import py-pathlib-1.0.1 as devel/py-pathlib. Packaged for wip by Kamel Ibn Aziz Derouiche and myself. pathlib offers a set of classes to handle filesystem paths. It offers the following advantages over using string objects: - No more cumbersome use of os and os.path functions. Everything can be done easily through operators, attribute accesses, and method calls - Embodies the semantics of different path types. For example, comparing Windows paths ignores casing - Well-defined semantics, eliminating any warts or ambiguities (forward vs backward slashes, etc.) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pathlib/DESCR \ pkgsrc/devel/py-pathlib/Makefile pkgsrc/devel/py-pathlib/PLIST \ pkgsrc/devel/py-pathlib/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_150398975688450 Content-Disposition: inline Content-Length: 2301 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-pathlib/DESCR diff -u /dev/null pkgsrc/devel/py-pathlib/DESCR:1.1 --- /dev/null Tue Aug 29 06:55:56 2017 +++ pkgsrc/devel/py-pathlib/DESCR Tue Aug 29 06:55:55 2017 @@ -0,0 +1,8 @@ +pathlib offers a set of classes to handle filesystem paths. It offers the +following advantages over using string objects: + - No more cumbersome use of os and os.path functions. Everything can be done + easily through operators, attribute accesses, and method calls + - Embodies the semantics of different path types. For example, comparing + Windows paths ignores casing + - Well-defined semantics, eliminating any warts or ambiguities (forward vs + backward slashes, etc.) Index: pkgsrc/devel/py-pathlib/Makefile diff -u /dev/null pkgsrc/devel/py-pathlib/Makefile:1.1 --- /dev/null Tue Aug 29 06:55:56 2017 +++ pkgsrc/devel/py-pathlib/Makefile Tue Aug 29 06:55:55 2017 @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2017/08/29 06:55:55 wiz Exp $ + +DISTNAME= pathlib-1.0.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pathlib/} + +MAINTAINER= kamelderouiche@yahoo.com +HOMEPAGE= https://pathlib.readthedocs.org/ +COMMENT= Object-oriented filesystem paths +LICENSE= mit + +USE_LANGUAGES= # none + +PYTHON_VERSIONS_ACCEPTED= 27 # included in 3.4+ + +do-test: + ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_pathlib.py + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-pathlib/PLIST diff -u /dev/null pkgsrc/devel/py-pathlib/PLIST:1.1 --- /dev/null Tue Aug 29 06:55:56 2017 +++ pkgsrc/devel/py-pathlib/PLIST Tue Aug 29 06:55:55 2017 @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2017/08/29 06:55:55 wiz Exp $ +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/pathlib.py +${PYSITELIB}/pathlib.pyc +${PYSITELIB}/pathlib.pyo Index: pkgsrc/devel/py-pathlib/distinfo diff -u /dev/null pkgsrc/devel/py-pathlib/distinfo:1.1 --- /dev/null Tue Aug 29 06:55:56 2017 +++ pkgsrc/devel/py-pathlib/distinfo Tue Aug 29 06:55:55 2017 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2017/08/29 06:55:55 wiz Exp $ + +SHA1 (pathlib-1.0.1.tar.gz) = e90b903d11929b1bf6130b02362bf60550424108 +RMD160 (pathlib-1.0.1.tar.gz) = 045915062c64c603ae4d6ac61d98c96e14bc4220 +Size (pathlib-1.0.1.tar.gz) = 49298 bytes --_----------=_150398975688450--