notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-scandir Fast and featureful directory iterator
1.10.0_1 sysutils on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.10.0_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-09-24 16:46:22
Last Update: 2021-06-20 11:37:59
Commit Hash: b498b1d
Also Listed In: python
License: BSD3CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}>0:sysutils/py-scandir@${PY_FLAVOR}
To install the port: cd /usr/ports/sysutils/py-scandir/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/py-scandir
  • pkg install py38-scandir
NOTE: This is a Python port. Instead of py38-scandir listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-scandir
Package flavors (<flavor>: <package>)
  • py38: py38-scandir
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-scandir
ABIlatestquarterly
FreeBSD:11:aarch641.9.01.10.0_1
FreeBSD:11:amd64--
FreeBSD:11:armv6-1.10.0_1
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-1.10.0_1
FreeBSD:12:aarch641.9.0-
FreeBSD:12:amd64--
FreeBSD:12:armv61.9.01.10.0_1
FreeBSD:12:armv71.9.01.10.0_1
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips641.9.01.10.0_1
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.10.0_1-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py36-scandir
ABIlatestquarterly
FreeBSD:11:aarch641.9.0-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.9.0-
FreeBSD:12:amd64--
FreeBSD:12:armv61.9.0-
FreeBSD:12:armv71.9.0-
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips641.9.0-
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py37-scandir
ABIlatestquarterly
FreeBSD:11:aarch64-1.10.0_1
FreeBSD:11:amd64-1.10.0_1
FreeBSD:11:armv6-1.10.0_1
FreeBSD:11:i386-1.10.0_1
FreeBSD:11:mips--
FreeBSD:11:mips64-1.10.0_1
FreeBSD:12:aarch64-1.10.0_1
FreeBSD:12:amd64-1.10.0_1
FreeBSD:12:armv6-1.10.0_1
FreeBSD:12:armv7-1.10.0_1
FreeBSD:12:i386-1.10.0_1
FreeBSD:12:mips--
FreeBSD:12:mips64-1.10.0_1
FreeBSD:12:powerpc64-1.10.0_1
FreeBSD:13:aarch641.10.0_11.10.0_1
FreeBSD:13:amd64-1.10.0_1
FreeBSD:13:armv61.10.0_11.10.0_1
FreeBSD:13:armv71.10.0_11.10.0_1
FreeBSD:13:i386-1.10.0_1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.10.0_11.10.0_1
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv61.10.0_1-
FreeBSD:14:armv71.10.0_1-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.10.0_1-
 
py38-scandir
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.10.0_1-
FreeBSD:11:armv6--
FreeBSD:11:i3861.10.0_1-
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd641.10.0_1-
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3861.10.0_1-
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd641.10.0_1-
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3861.10.0_1-
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch641.10.0_1-
FreeBSD:14:amd641.10.0_1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.10.0_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
Runtime dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
This port is required by:
for Build
  1. math/sage
for Run
  1. math/sage
  2. sysutils/ohmu
  3. www/py-graphite-web

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. textproc/pootle*
  2. www/py-octoprint*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/scandir/
  2. https://pypi.org/packages/source/s/scandir/
Collapse this list.

Number of commits found: 17

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
20 Jun 2021 11:37:59
 files touched by this commit commit hash:b498b1d64ddaa05db963d6ebbd0937e2a7d6ec51  1.10.0_1
sunpoet search for other commits by this committer
sysutils/py-scandir: Remove blank line
10 Jun 2021 14:46:16
 files touched by this commit commit hash:86439d81a884725cf6a022e518d9d02f94898d3c  1.10.0_1
sunpoet search for other commits by this committer
sysutils/py-scandir: Fix build with Python 3.9+

PR:		256272
Reported by:	John W. O'Brien <john@saltant.com>
11 May 2021 21:47:19
 files touched by this commit commit hash:58992b7ba9035ffa11a095b06e8abc8f49896632  1.10.0_1
sunpoet search for other commits by this committer
sysutils/py-scandir: Clean up
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.10.0_1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
09 Jan 2021 16:34:07
Original commit files touched by this commit Revision:560874  1.10.0_1
antoine search for other commits by this committer
Remove python 2.7 support from a few ports
24 Dec 2020 13:46:02
Original commit files touched by this commit Revision:559094  1.10.0_1
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
18 Jan 2020 19:02:00
Original commit files touched by this commit Revision:523484  1.10.0_1
sunpoet search for other commits by this committer
Change MASTER_SITES from GitHub to CHEESESHOP

- Take maintainership
18 Jan 2020 16:46:29
Original commit files touched by this commit Revision:523425  1.10.0_1
rene search for other commits by this committer
Return a few ports to the pool.
18 Dec 2019 05:07:44
Original commit files touched by this commit Revision:520359  1.10.0_1
koobs search for other commits by this committer
sysutils/py-scandir: Fix unicode issues, level up ports compliance

This change fixes tests and likely runtime in certain locale environments
by replace the existing test_scandir.py patch with a backported upstream
patch from PR #109 [1][2], coupled with setting an appropriate locale.

While I'm here:

  - Strip shared library and add LICENSE_FILE

Tests now all pass on all Python versions (2.7-3.8)

[1] https://github.com/benhoyt/scandir/pull/109
[2] https://github.com/benhoyt/scandir/issues/122

Approved by:	portmgr (blanket: ports compliance, bugfix)
MFH:		2019Q4 (blanket: bugfix)
07 Apr 2019 11:42:52
Original commit files touched by this commit Revision:498274  1.10.0
rene search for other commits by this committer
sysutils/py-scandir: update to 1.10.0

Reported by:	portscout
11 Aug 2018 12:57:32
Original commit files touched by this commit Revision:476882  1.9.0
rene search for other commits by this committer
www/py-scandir: update to version 1.9.0

Reported by:	portscout
Sponsored by:	Essen Hackathon
03 Aug 2018 12:59:51
Original commit files touched by this commit Revision:476290  1.8
rene search for other commits by this committer
sysutils/py-scandir: update to version 1.8

Reported by:	portscout
16 Feb 2018 19:31:07
Original commit files touched by this commit Revision:462056  1.7
rene search for other commits by this committer
sysutils/py-scandir: update to 1.7

Submitted by:	portscout
30 Sep 2017 14:45:59
Original commit files touched by this commit Revision:450995  1.6
rene search for other commits by this committer
sysutils/py-scandir: update to 1.6

Add a patch to somewhat deal with Unicode tests, they still fail but
this might be unrelated to the port itself.

Sort USES before USE_*

Submitted by:	portscout
08 Jun 2017 02:14:32
Original commit files touched by this commit Revision:442902  1.5
rene search for other commits by this committer
sysutils/py-scandir: update to 1.5

Submitted by:	portscout
25 Sep 2016 09:34:37
Original commit files touched by this commit Revision:422746  1.3
rene search for other commits by this committer
sysutils/py-scandir: update to 1.3

This version is safe to use in Pootle 2.8.0b3
Submitted by:	portscout
Sponsored by:	EuroBSDCon 2016 Belgrade
24 Sep 2016 16:46:14
Original commit files touched by this commit Revision:422732  1.2
rene search for other commits by this committer
scandir, a better directory iterator and faster os.walk()

scandir() is a generator version of os.listdir() that returns an iterator
over files in a directory, and also exposes the extra information most
operating systems provide while iterating files in a directory (such as
type and stat information).

This module also includes a version of os.walk() that uses scandir()
to speed it up significantly.

NOTE: If you're using Python version 3.5+, os.scandir() and the speed
improvements to os.walk() are already available in the standard library.

WWW: https://github.com/benhoyt/scandir

Note: version 1.3 is available, but Pootle 2.8.0bX insists on
version 1.2 for the time being.

Sponsored by:	EuroBSDCon 2016 Belgrade

Number of commits found: 17