devel/py-requirements-detector 1.6.0 FreeBSD
Find and list requirements of a Python project
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
22879ca8c0- License
- MIT
- Categories
- devel, python
- Package size
- 46.0 KiB, 220.9 KiB installed
Description
Requirements Detector is a simple Python tool which attempts to find and list the requirements of a Python project.
When run from the root of a Python project, it will try to ascertain which libraries and the versions of those libraries that the project depends on.
It uses the following methods in order, in the root of the project:
- Parse setup.py (if this is successful, the remaining steps are skipped)
- Parse pyproject.yoml (if a tool.poetry.dependencies section is found, the remaining steps are skipped)
- Parse requirements.txt or requirements.pip
- Parse all *.txt and *.pip files inside a folder called requirements
- Parse all files in the root folder matching *requirements*.txt or reqs.txt (so for example, pip_requirements.txt would match, as would requirements_common.txt)
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-requirements-detector | 1.6.0 |
| DragonFly | devel/py-requirements-detector | 1.3.2 |
| HardenedBSD | devel/py-requirements-detector | 1.6.0 |
| GhostBSD | devel/py-requirements-detector | 1.6.0 |
Install
Binary package:
pkg install py312-requirements-detector
From the ports tree:
cd /usr/ports/devel/py-requirements-detector/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-requirements-detector>0:devel/py-requirements-detector
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.6.0 | 1.6.0 | - | 1.4.0 | 1.6.0 |
| FreeBSD:14:quarterly | 1.6.0 | 1.6.0 | n/a | 1.4.0 | 1.6.0 |
| FreeBSD:15:latest | 1.6.0 | 1.6.0 | n/a | 1.4.0 | 1.4.0 |
| FreeBSD:15:quarterly | 1.6.0 | 1.6.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.6.0 | 1.6.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}poetry-core>=1: devel/py-poetry-core
Runtime 3
${PYTHON_PKGNAMEPREFIX}astroid>=4.0<5: devel/py-astroid${PYTHON_PKGNAMEPREFIX}packaging>=21.3: devel/py-packaging${PYTHON_PKGNAMEPREFIX}semver>=3.0.0<4: devel/py-semver
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 13
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| requirements_detector-1.6.0.tar.gz | 16085 | 601a57092f7a25fbbcf0985fbc91f2af64b1f882e951336cd4920ecee8fb03b1 |
Master sites 1
- PYPI