notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-scandir Fast and featureful directory iterator
1.10.0_3 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_2Version 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: 2024-05-13 14:08:48
Commit Hash: 540fb82
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://github.com/benhoyt/scandir
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
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:
TIMESTAMP = 1579371317 SHA256 (scandir-1.10.0.tar.gz) = 4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae SIZE (scandir-1.10.0.tar.gz) = 33311

Packages (timestamps in pop-ups are UTC):
py27-scandir
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest------1.10.0_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py37-scandir
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.10.0_1---1.10.0_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-scandir
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.10.0_31.10.0_3-1.10.0_21.10.0_3---
FreeBSD:13:quarterly1.10.0_21.10.0_21.10.0_11.10.0_21.10.0_21.10.0_11.10.0_11.10.0_1
FreeBSD:14:latest1.10.0_21.10.0_31.10.0_11.10.0_21.10.0_31.10.0_1-1.10.0_1
FreeBSD:14:quarterly1.10.0_21.10.0_2-1.10.0_21.10.0_21.10.0_11.10.0_11.10.0_1
FreeBSD:15:latest1.10.0_21.10.0_3n/a1.10.0_2n/a1.10.0_11.10.0_11.10.0_1
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=0 : devel/py-setuptools@py39
  2. py39-wheel>=0 : devel/py-wheel@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
This port is required by:
for Build
  1. math/sage
for Run
  1. math/sage

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:
No options to configure
Options name:
sysutils_py-scandir
USES:
python
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.

Number of commits found: 26

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.10.0_3
13 May 2024 14:08:48
commit hash: 540fb82dc2b45966e4baadbf9dc81cd14787cb52commit hash: 540fb82dc2b45966e4baadbf9dc81cd14787cb52commit hash: 540fb82dc2b45966e4baadbf9dc81cd14787cb52commit hash: 540fb82dc2b45966e4baadbf9dc81cd14787cb52 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-scandir: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
1.10.0_2
23 Mar 2024 14:49:32
commit hash: 9851b2321f2d9d8272679f8dcd81286477826ecfcommit hash: 9851b2321f2d9d8272679f8dcd81286477826ecfcommit hash: 9851b2321f2d9d8272679f8dcd81286477826ecfcommit hash: 9851b2321f2d9d8272679f8dcd81286477826ecf files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-scandir: Fix c37f4c4df1baaa3c57dbf461bfe97fa1b3644f86

- Add comment

Document that it is a cumulative patch which includes 3 commits, not just the
one for Python 3.11 fix.

PR:		277102
Obtained
from:	https://github.com/benhoyt/scandir/commit/4b5354de65413b9c5c6672f5f30c532bfda4d40a
		https://github.com/benhoyt/scandir/commit/3396aa4155ffde8600a0e9ca50d5872569169b5d
		https://github.com/benhoyt/scandir/commit/7ee0915f68d05dd187bea94ca1869bbeb1ea1d70
1.10.0_2
11 Mar 2024 08:17:33
commit hash: c37f4c4df1baaa3c57dbf461bfe97fa1b3644f86commit hash: c37f4c4df1baaa3c57dbf461bfe97fa1b3644f86commit hash: c37f4c4df1baaa3c57dbf461bfe97fa1b3644f86commit hash: c37f4c4df1baaa3c57dbf461bfe97fa1b3644f86 files touched by this commit
Wen Heping (wen) search for other commits by this committer
sysutils/py-scandir: Apply upstream patch to fix build with python-3.11

PR:		277102
Reported by:	wen@
Approved by:	maintainer(timeout, > 20 days)
1.10.0_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
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: 26