pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pathlib



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.

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@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"
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



Home | Main Index | Thread Index | Old Index