svn commit: r422885 - in head/devel: . py-pathlib2

Antoine Brodin antoine at FreeBSD.org
Wed Sep 28 20:02:18 UTC 2016


Author: antoine
Date: Wed Sep 28 20:02:16 2016
New Revision: 422885
URL: https://svnweb.freebsd.org/changeset/ports/422885

Log:
  New port: devel/py-pathlib2
  
  Backport of standard pathlib module which tracks the standard library module,
  so all the newest features of the standard pathlib can be used also on older
  Python versions.
  
  WWW: https://pypi.python.org/pypi/pathlib2/
  
  PR:		213049

Added:
  head/devel/py-pathlib2/
  head/devel/py-pathlib2/Makefile   (contents, props changed)
  head/devel/py-pathlib2/distinfo   (contents, props changed)
  head/devel/py-pathlib2/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Sep 28 20:01:44 2016	(r422884)
+++ head/devel/Makefile	Wed Sep 28 20:02:16 2016	(r422885)
@@ -4302,6 +4302,7 @@
     SUBDIR += py-parsedatetime
     SUBDIR += py-path.py
     SUBDIR += py-pathlib
+    SUBDIR += py-pathlib2
     SUBDIR += py-pathtools
     SUBDIR += py-paver
     SUBDIR += py-pbr

Added: head/devel/py-pathlib2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pathlib2/Makefile	Wed Sep 28 20:02:16 2016	(r422885)
@@ -0,0 +1,27 @@
+# Created by: Yuri Victorovich <yuri at rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	pathlib2
+PORTVERSION=	2.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at rawbw.com
+COMMENT=	Object-oriented filesystem paths
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
+
+do-test:
+	@(cd ${WRKSRC} && \
+		${PYTHON_CMD} test_pathlib2.py && \
+		${PYTHON_CMD} test_pathlib2_with_py2_unicode_literals.py)
+
+.include <bsd.port.mk>

Added: head/devel/py-pathlib2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pathlib2/distinfo	Wed Sep 28 20:02:16 2016	(r422885)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475082260
+SHA256 (pathlib2-2.1.0.tar.gz) = deb3a960c1d55868dfbcac98432358b92ba89d95029cddd4040db1f27405055c
+SIZE (pathlib2-2.1.0.tar.gz) = 30390

Added: head/devel/py-pathlib2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pathlib2/pkg-descr	Wed Sep 28 20:02:16 2016	(r422885)
@@ -0,0 +1,5 @@
+Backport of standard pathlib module which tracks the standard library module,
+so all the newest features of the standard pathlib can be used also on older
+Python versions.
+
+WWW: https://pypi.python.org/pypi/pathlib2/


More information about the svn-ports-head mailing list