BSD Ports

devel/py-natsort 8.4.0_1 MidnightBSD

Natural sorting for python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

Normal python sort algorithm sorts lexicographically, so you might not get the results that you expect. Natsort provides a function natsorted() that helps sort lists "naturally", either as real numbers (i.e. signed/unsigned floats or ints), or as versions.

In the other systems

The newest version among them is 8.4.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-natsort8.4.0_1 newestno data-[email protected]-
FreeBSDdevel/py-natsort8.4.0_1 newestnone known-[email protected]-
DragonFlydevel/py-natsort8.4.0_1 newestnone known-[email protected]-
HardenedBSDdevel/py-natsort8.4.0_1 newestno data-[email protected]-
GhostBSDdevel/py-natsort8.4.0_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}natsort

From mports:

cd /usr/mports/devel/py-natsort && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}natsort>0:devel/py-natsort

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
natsort-8.4.0.tar.gz7657545312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581
Master sites 1
  • PYPI