Port details |
- py-scandir Fast and featureful directory iterator
- 1.10.0_3 sysutils
=2 1.10.0_3Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2016-09-24 16:46:22
- Last Update: 2024-05-13 14:08:48
- Commit Hash: 540fb82
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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.
¦ ¦ ¦ ¦ 
- 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>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Run
-
Deleted ports which required this port:
- * - 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.10.0_3 13 May 2024 14:08:48
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-scandir: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
1.10.0_2 23 Mar 2024 14:49:32
    |
Po-Chuan Hsieh (sunpoet)  |
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
    |
Wen Heping (wen)  |
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
    |
Rene Ladan (rene)  |
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
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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
    |
Stefan Eßer (se)  |
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 ) |
1.10.0_1 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
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 ) |
1.10.0_1 05 Nov 2021 19:14:25
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-scandir: Cosmetic change |
1.10.0_1 20 Jun 2021 11:37:59
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-scandir: Remove blank line |
1.10.0_1 10 Jun 2021 14:46:16
    |
Po-Chuan Hsieh (sunpoet)  |
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
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-scandir: Clean up |
1.10.0_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.10.0_1 09 Jan 2021 16:34:07
  |
antoine  |
Remove python 2.7 support from a few ports |
1.10.0_1 24 Dec 2020 13:46:02
  |
kai  |
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
  |
sunpoet  |
Change MASTER_SITES from GitHub to CHEESESHOP
- Take maintainership |
1.10.0_1 18 Jan 2020 16:46:29
  |
rene  |
Return a few ports to the pool. |
1.10.0_1 18 Dec 2019 05:07:44
  |
koobs  |
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
  |
rene  |
sysutils/py-scandir: update to 1.10.0
Reported by: portscout |
1.9.0 11 Aug 2018 12:57:32
  |
rene  |
www/py-scandir: update to version 1.9.0
Reported by: portscout
Sponsored by: Essen Hackathon |
1.8 03 Aug 2018 12:59:51
  |
rene  |
sysutils/py-scandir: update to version 1.8
Reported by: portscout |
1.7 16 Feb 2018 19:31:07
  |
rene  |
sysutils/py-scandir: update to 1.7
Submitted by: portscout |
1.6 30 Sep 2017 14:45:59
  |
rene  |
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
  |
rene  |
sysutils/py-scandir: update to 1.5
Submitted by: portscout |
1.3 25 Sep 2016 09:34:37
  |
rene  |
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
  |
rene  |
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 |