notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
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 Version 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: 2023-01-11 15:58:34
Commit Hash: 77d6847
Also Listed In: python
License: BSD3CLAUSE
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}scandir>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 py39-scandir
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-scandir listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-scandir
Package flavors (<flavor>: <package>)
  • py39: py39-scandir
distinfo:

Packages (timestamps in pop-ups are UTC):
py27-scandir
ABIlatestquarterly
FreeBSD:11:aarch641.9.01.10.0_1
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-fallout1.10.0_1
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-fallout1.10.0_1
FreeBSD:12:aarch641.9.0pkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv61.9.01.10.0_1
FreeBSD:12:armv71.9.01.10.0_1
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips641.9.01.10.0_1
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc641.10.0_1pkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py36-scandir
ABIlatestquarterly
FreeBSD:11:aarch641.9.0pkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch641.9.0pkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv61.9.0pkg-fallout
FreeBSD:12:armv71.9.0pkg-fallout
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips641.9.0pkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py37-scandir
ABIlatestquarterly
FreeBSD:11:aarch64pkg-fallout1.10.0_1
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-fallout1.10.0_1
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-fallout1.10.0_1
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-fallout1.10.0_1
FreeBSD:12:armv7pkg-fallout1.10.0_1
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-fallout1.10.0_1
FreeBSD:12:powerpc64pkg-fallout1.10.0_1
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv61.10.0_1pkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc641.10.0_1pkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py38-scandir
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd641.10.0_11.10.0_1
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i3861.10.0_11.10.0_1
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv641.10.0_1pkg-fallout
 
py39-scandir
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-fallout1.10.0_1
FreeBSD:12:amd641.10.0_11.10.0_1
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i3861.10.0_11.10.0_1
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch641.10.0_11.10.0_1
FreeBSD:13:amd641.10.0_11.10.0_1
FreeBSD:13:armv6pkg-fallout1.10.0_1
FreeBSD:13:armv71.10.0_11.10.0_1
FreeBSD:13:i3861.10.0_11.10.0_1
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-fallout1.10.0_1
FreeBSD:13:riscv64pkg-fallout1.10.0_1
FreeBSD:14:aarch641.10.0_1pkg-fallout
FreeBSD:14:amd641.10.0_1pkg-fallout
FreeBSD:14:armv61.10.0_1pkg-fallout
FreeBSD:14:armv71.10.0_1pkg-fallout
FreeBSD:14:i3861.10.0_1pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc641.10.0_1pkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Build
  1. math/sage
for Run
  1. math/sage
  2. sysutils/ohmu

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:
FreshPorts was unable to extract/find any pkg message
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.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 22

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.10.0_1
11 Jan 2023 15:58:34
commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656commit hash:77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.10.0_1
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.10.0_1
20 Jul 2022 14:23:05
commit hash:ea7123695aad83707eba8adaf42b29dac7f296e4commit hash:ea7123695aad83707eba8adaf42b29dac7f296e4commit hash:ea7123695aad83707eba8adaf42b29dac7f296e4commit hash:ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.10.0_1
05 Nov 2021 19:14:25
commit hash:6ded914a1aa7d8718fd5398ca52c07f6790e9e4ecommit hash:6ded914a1aa7d8718fd5398ca52c07f6790e9e4ecommit hash:6ded914a1aa7d8718fd5398ca52c07f6790e9e4ecommit hash:6ded914a1aa7d8718fd5398ca52c07f6790e9e4e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-scandir: Cosmetic change
1.10.0_1
20 Jun 2021 11:37:59
commit hash:b498b1d64ddaa05db963d6ebbd0937e2a7d6ec51commit hash:b498b1d64ddaa05db963d6ebbd0937e2a7d6ec51commit hash:b498b1d64ddaa05db963d6ebbd0937e2a7d6ec51commit hash:b498b1d64ddaa05db963d6ebbd0937e2a7d6ec51 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-scandir: Remove blank line
1.10.0_1
10 Jun 2021 14:46:16
commit hash:86439d81a884725cf6a022e518d9d02f94898d3ccommit hash:86439d81a884725cf6a022e518d9d02f94898d3ccommit hash:86439d81a884725cf6a022e518d9d02f94898d3ccommit hash:86439d81a884725cf6a022e518d9d02f94898d3c files touched by this commit
Po-Chuan Hsieh (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>
1.10.0_1
11 May 2021 21:47:19
commit hash:58992b7ba9035ffa11a095b06e8abc8f49896632commit hash:58992b7ba9035ffa11a095b06e8abc8f49896632commit hash:58992b7ba9035ffa11a095b06e8abc8f49896632commit hash:58992b7ba9035ffa11a095b06e8abc8f49896632 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-scandir: Clean up
1.10.0_1
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.10.0_1
09 Jan 2021 16:34:07
Revision:560874Original commit files touched by this commit
antoine search for other commits by this committer
Remove python 2.7 support from a few ports
1.10.0_1
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
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)
1.10.0_1
18 Jan 2020 19:02:00
Revision:523484Original commit files touched by this commit
sunpoet search for other commits by this committer
Change MASTER_SITES from GitHub to CHEESESHOP

- Take maintainership
1.10.0_1
18 Jan 2020 16:46:29
Revision:523425Original commit files touched by this commit
rene search for other commits by this committer
Return a few ports to the pool.
1.10.0_1
18 Dec 2019 05:07:44
Revision:520359Original commit files touched by this commit
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)
1.10.0
07 Apr 2019 11:42:52
Revision:498274Original commit files touched by this commit
rene search for other commits by this committer
sysutils/py-scandir: update to 1.10.0

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

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

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

Submitted by:	portscout
1.6
30 Sep 2017 14:45:59
Revision:450995Original commit files touched by this commit
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
1.5
08 Jun 2017 02:14:32
Revision:442902Original commit files touched by this commit
rene search for other commits by this committer
sysutils/py-scandir: update to 1.5

Submitted by:	portscout
1.3
25 Sep 2016 09:34:37
Revision:422746Original commit files touched by this commit
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
1.2
24 Sep 2016 16:46:14
Revision:422732Original commit files touched by this commit
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: 22