From owner-svn-ports-head@FreeBSD.ORG Wed Apr 29 08:45:29 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B34ED48; Wed, 29 Apr 2015 08:45:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 0CECC1F1E; Wed, 29 Apr 2015 08:45:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3T8jS3o065916; Wed, 29 Apr 2015 08:45:28 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3T8jS1A065912; Wed, 29 Apr 2015 08:45:28 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201504290845.t3T8jS1A065912@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Wed, 29 Apr 2015 08:45:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384971 - in head/devel: . py-pathlib 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.20 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, 29 Apr 2015 08:45:29 -0000 Author: wen Date: Wed Apr 29 08:45:27 2015 New Revision: 384971 URL: https://svnweb.freebsd.org/changeset/ports/384971 Log: Backport of pathlib from Python 3.4. Offers a set of classes featuring all the common operations on paths in an easy, object-oriented way. WWW: https://pypi.python.org/pypi/pathlib PR: 199708 Submitted by: stiginge@pvv.org Added: head/devel/py-pathlib/ head/devel/py-pathlib/Makefile (contents, props changed) head/devel/py-pathlib/distinfo (contents, props changed) head/devel/py-pathlib/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Apr 29 08:28:45 2015 (r384970) +++ head/devel/Makefile Wed Apr 29 08:45:27 2015 (r384971) @@ -3946,6 +3946,7 @@ SUBDIR += py-parsedatetime SUBDIR += py-parsing SUBDIR += py-path.py + SUBDIR += py-pathlib SUBDIR += py-pathtools SUBDIR += py-paver SUBDIR += py-pbr Added: head/devel/py-pathlib/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pathlib/Makefile Wed Apr 29 08:45:27 2015 (r384971) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= pathlib +PORTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= stiginge@pvv.org +COMMENT= Python 3.4 pathlib backported to 3.3, 3.2, 3.1, 2.7, 2.6 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python:2.7-3.3 +USE_PYTHON= distutils autoplist + +OPTIONS_DEFINE= DOCS + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:${PORTSDIR}/textproc/py-sphinx + +.include + +.if ${PORT_OPTIONS:MDOCS} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +PORTDOCS= * +PYDISTUTILS_BUILD_TARGET+= build_sphinx + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/build/sphinx/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") +.endif + +.include Added: head/devel/py-pathlib/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pathlib/distinfo Wed Apr 29 08:45:27 2015 (r384971) @@ -0,0 +1,2 @@ +SHA256 (pathlib-1.0.1.tar.gz) = 6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f +SIZE (pathlib-1.0.1.tar.gz) = 49298 Added: head/devel/py-pathlib/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pathlib/pkg-descr Wed Apr 29 08:45:27 2015 (r384971) @@ -0,0 +1,4 @@ +Backport of pathlib from Python 3.4. Offers a set of classes featuring all the +common operations on paths in an easy, object-oriented way. + +WWW: https://pypi.python.org/pypi/pathlib