Port details |
- py-whichcraft Cross-platform cross-python shutil.which functionality
- 0.6.1_1 devel
=3 0.6.1Version of this port present on the latest quarterly branch. - Maintainer: matthew@FreeBSD.org
 - Port Added: 2018-09-20 11:28:01
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: rubygem-svn2git, py311-csvkit, p5-Test-Email, GentiumBasic, py311-dbfread
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://pypi.org/project/whichcraft/
- Description:
- This package provides cross-platform cross-python shutil.which
functionality.
This is a shim of the shutil.which function that's designed to work
across multiple versions of Python and inside of windows. The code for
Python 2.x is based on Python 3 code that I extracted from source. I
originally did this for Cookiecutter but pulled it out in order to
reduce line count for that project.
¦ ¦ ¦ ¦ 
- 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}whichcraft>0:devel/py-whichcraft@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-whichcraft/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-whichcraft
- pkg install py311-whichcraft
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 py311-whichcraft listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-whichcraft
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1567938473
SHA256 (whichcraft-0.6.1.tar.gz) = acdbb91b63d6a15efbd6430d1d7b2d36e44a71697e93e19b7ded477afd9fce87
SIZE (whichcraft-0.6.1.tar.gz) = 6909
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:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-pytest>0 : devel/py-pytest@py311
- py311-pytest-cov>=2.1.0 : devel/py-pytest-cov@py311
- py311-wheel>=0.23.0 : devel/py-wheel@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-whichcraft
- 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 |
0.6.1_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
0.6.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> |
0.6.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) |
0.6.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 ) |
0.6.1 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.6.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.6.1 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.6.1 08 Sep 2019 10:34:38
  |
matthew  |
Update to 0.6.1
ChangeLog: https://github.com/cookiecutter/whichcraft/blob/0.6.1/HISTORY.rst |
0.6.0 14 Jul 2019 08:22:07
  |
matthew  |
Fix build by removing patch file -- patch has been applied upstream. |
0.6.0 13 Jul 2019 09:58:55
  |
matthew  |
Update to 0.6.0
ChangeLog: https://github.com/cookiecutter/whichcraft/blob/master/HISTORY.rst |
0.5.2 11 Oct 2018 06:56:57
  |
matthew  |
Update to 0.5.2
Add a patch to delete two unicode characters added to README.rst,
which causes an exception when compiling for python-3.6. This will be
reported upstream. |
0.4.1 20 Sep 2018 11:27:46
  |
matthew  |
This package provides cross-platform cross-python shutil.which
functionality.
This is a shim of the shutil.which function that's designed to work
across multiple versions of Python and inside of windows. The code for
Python 2.x is based on Python 3 code that I extracted from source. I
originally did this for Cookiecutter but pulled it out in order to
reduce line count for that project.
WWW: https://pypi.org/project/whichcraft/ |