pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-pathlib Import py-pathlib-1.0.1 as devel/py-p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d5ad98ed2c0a
branches: trunk
changeset: 367286:d5ad98ed2c0a
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Aug 29 06:55:55 2017 +0000
description:
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.)
diffstat:
devel/py-pathlib/DESCR | 8 ++++++++
devel/py-pathlib/Makefile | 21 +++++++++++++++++++++
devel/py-pathlib/PLIST | 5 +++++
devel/py-pathlib/distinfo | 5 +++++
4 files changed, 39 insertions(+), 0 deletions(-)
diffs (55 lines):
diff -r fecd306e1fbd -r d5ad98ed2c0a devel/py-pathlib/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pathlib/DESCR Tue Aug 29 06:55:55 2017 +0000
@@ -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.)
diff -r fecd306e1fbd -r d5ad98ed2c0a devel/py-pathlib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pathlib/Makefile Tue Aug 29 06:55:55 2017 +0000
@@ -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@localhost
+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"
diff -r fecd306e1fbd -r d5ad98ed2c0a devel/py-pathlib/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pathlib/PLIST Tue Aug 29 06:55:55 2017 +0000
@@ -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
diff -r fecd306e1fbd -r d5ad98ed2c0a devel/py-pathlib/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pathlib/distinfo Tue Aug 29 06:55:55 2017 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index