Port details |
- py-find-libpython Finds the libpython associated with your environment
- 0.4.0 devel
=2 0.4.0Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2023-02-04 07:00:13
- Last Update: 2024-04-06 01:04:47
- Commit Hash: 2e14940
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/ktbarrett/find_libpython
- Description:
- The find-libpython library is designed to find the path to the libpython dynamic
library for the current Python environment. It should work with many types of
installations, whether it be conda-managed, system-managed, or otherwise. And it
should function on Windows, Mac OS/OS X, and any Linux distribution.
¦ ¦ ¦ ¦ 
- 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}find-libpython>0:devel/py-find-libpython@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-find-libpython/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-find-libpython
- pkg install py39-find-libpython
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-find-libpython listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-find-libpython
- Package flavors (<flavor>: <package>)
- py39: py39-find-libpython
- distinfo:
- TIMESTAMP = 1712349885
SHA256 (find_libpython-0.4.0.tar.gz) = 46f9cdcd397ddb563b2d7592ded3796a41c1df5222443bd9d981721c906c03e6
SIZE (find_libpython-0.4.0.tar.gz) = 8979
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-setuptools-scm>0 : devel/py-setuptools-scm@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:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- cad/py-cocotb
Configuration Options:
- No options to configure
- Options name:
- devel_py-find-libpython
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 7
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.4.0 06 Apr 2024 01:04:47
    |
Yuri Victorovich (yuri)  |
devel/py-find-libpython: update 0.3.1 → 0.4.0
Reported by: portscout |
0.3.1 29 Feb 2024 07:18:32
    |
Charlie Li (vishwin)  |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
0.3.1 25 Feb 2024 00:18:05
    |
Yuri Victorovich (yuri)  |
devel/py-find-libpython: update 0.3.0 → 0.3.1
Reported by: portscout |
0.3.0_1 04 Apr 2023 18:29:11
    |
Antoine Brodin (antoine)  |
USE_PYTHON=pep517: bump PORTREVISION |
0.3.0 05 Feb 2023 19:05:02
    |
Charlie Li (vishwin)  |
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install
bytecode"
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.
Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added, (Only the first 15 lines of the commit message are shown above ) |
0.3.0_1 05 Feb 2023 18:16:47
    |
Po-Chuan Hsieh (sunpoet)  |
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change
It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].
from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir
from installer documentation:
--compile-bytecode
Possible choices: 0, 1, 2
generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
don’t generate bytecode for installed modules
Default: False
With hat: python
Reference: https://pypa-build.readthedocs.io/en/stable/ [1]
https://installer.pypa.io/en/stable/cli/installer/ [2] |
0.3.0 04 Feb 2023 06:58:52
    |
Yuri Victorovich (yuri)  |
devel/py-find-libpython: New port: Finds the libpython associated with your
environment |
Number of commits found: 7
|