BSD Ports

devel/py-natsort 8.4.0_1 FreeBSD

Natural sorting for python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
59.8 KiB, 337.1 KiB installed

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

SystemPortVersion
FreeBSDdevel/py-natsort8.4.0_1
DragonFlydevel/py-natsort8.4.0_1
MidnightBSDdevel/py-natsort8.4.0_1
HardenedBSDdevel/py-natsort8.4.0_1
GhostBSDdevel/py-natsort8.4.0_1

Install

Binary package:

pkg install py312-natsort

From the ports tree:

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

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

RUN_DEPENDS=	py312-natsort>0:devel/py-natsort

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest8.4.0_18.4.0_18.2.08.4.0_18.4.0_1
FreeBSD:14:quarterly8.4.0_18.4.0_1n/a8.4.0_18.4.0_1
FreeBSD:15:latest8.4.0_18.4.0_1n/a8.4.0_18.4.0_1
FreeBSD:15:quarterly8.4.0_18.4.0_1n/an/an/a
FreeBSD:16:latest8.4.0_18.4.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 6

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

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

Commit history 0

No commits in the history this site was built from.