Bug 205563 - [NEW PORT] devel/py-natsort: Natural sorting for Python
Summary: [NEW PORT] devel/py-natsort: Natural sorting for Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL:
Keywords: feature, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-12-24 05:30 UTC by Yuri Victorovich
Modified: 2016-01-02 07:06 UTC (History)
2 users (show)

See Also:


Attachments
shar archive (1.72 KB, text/plain)
2015-12-24 05:30 UTC, Yuri Victorovich
no flags Details
shar archive (1.73 KB, text/plain)
2015-12-24 05:32 UTC, Yuri Victorovich
no flags Details
shar archive (1.91 KB, text/plain)
2015-12-24 06:41 UTC, Yuri Victorovich
no flags Details
test results (2.55 KB, text/plain)
2015-12-24 06:42 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2015-12-24 05:30:37 UTC
Created attachment 164579 [details]
shar archive

Passes poudriere
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2015-12-24 05:32:14 UTC
Created attachment 164580 [details]
shar archive
Comment 2 Rodrigo N. Hernandez freebsd_triage 2015-12-24 06:05:26 UTC
(In reply to yuri from comment #0)

Hello Yuri. Thanks for the patch. Can you attach the testcase logs? It facilitates reviewing QA test conditions and results.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2015-12-24 06:41:09 UTC
Created attachment 164581 [details]
shar archive
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2015-12-24 06:42:16 UTC
Created attachment 164582 [details]
test results
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-01-02 07:02:16 UTC
A commit references this bug:

Author: miwi
Date: Sat Jan  2 07:01:53 UTC 2016
New revision: 405049
URL: https://svnweb.freebsd.org/changeset/ports/405049

Log:
  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.

  WWW: https://github.com/SethMMorton/natsort

  PR:		205563
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Changes:
  head/devel/Makefile
  head/devel/py-natsort/
  head/devel/py-natsort/Makefile
  head/devel/py-natsort/distinfo
  head/devel/py-natsort/pkg-descr