Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (27m)  pkgsrc-2024Q1 (11d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (90d)  pkgsrc-2023Q3 (169d) 

2024-05-28 14:06:16 UTC Now

2017-08-29 06:55:56 UTC MAIN commitmail json YAML

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.)

(wiz)