Port details |
- py-deptry CLI utility to check for unused, missing and transitive dependencies
- 0.12.0 devel
=0 0.12.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-07-31 16:48:13
- Last Update: 2023-07-31 16:39:45
- Commit Hash: d1d6645
- Also Listed In: python
- License: MIT
- WWW:
- https://fpgmaas.github.io/deptry/
- https://github.com/fpgmaas/deptry
- Description:
- deptry is a command line tool to check for issues with dependencies in a Python
project, such as unused or missing dependencies. It supports the following types
of projects:
- Projects that use Poetry and a corresponding pyproject.toml file
- Projects that use PDM and a corresponding pyproject.toml file
- Projects that use a requirements.txt file according to the pip standards
Dependency issues are detected by scanning for imported modules within all
Python files in a directory and its subdirectories, and comparing those to the
dependencies listed in the project's requirements.
 ¦ ¦ ¦ ¦ 
- 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}deptry>0:devel/py-deptry@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-deptry/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-deptry
- pkg install py39-deptry
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-deptry listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-deptry
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1689398765
SHA256 (deptry-0.12.0.tar.gz) = ac3cd32d149c92a9af12f63cd9486ddd1760f0277ed0cf306c6ef0388f57ff0a
SIZE (deptry-0.12.0.tar.gz) = 27572
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-poetry-core>=1.0.0 : devel/py-poetry-core@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:
-
- py39-chardet>=4.0.0,1 : textproc/py-chardet@py39
- py39-click>=8.0.0<9 : devel/py-click@py39
- py39-pathspec>=0.9.0 : devel/py-pathspec@py39
- python3.9 : lang/python39
- py39-tomli>=2.0.1<3 : textproc/py-tomli@py39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-deptry
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.12.0 31 Jul 2023 16:39:45
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-deptry: Add py-deptry 0.12.0
deptry is a command line tool to check for issues with dependencies in a Python
project, such as unused or missing dependencies. It supports the following types
of projects:
- Projects that use Poetry and a corresponding pyproject.toml file
- Projects that use PDM and a corresponding pyproject.toml file
- Projects that use a requirements.txt file according to the pip standards
Dependency issues are detected by scanning for imported modules within all
Python files in a directory and its subdirectories, and comparing those to the
dependencies listed in the project's requirements. |
Number of commits found: 1
|