BSD Ports

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:

  1. Parse setup.py (if this is successful, the remaining steps are skipped)
  2. Parse pyproject.yoml (if a tool.poetry.dependencies section is found, the remaining steps are skipped)
  3. Parse requirements.txt or requirements.pip
  4. Parse all *.txt and *.pip files inside a folder called requirements
  5. 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

SystemPortVersion
FreeBSDdevel/py-requirements-detector1.6.0
DragonFlydevel/py-requirements-detector1.3.2
HardenedBSDdevel/py-requirements-detector1.6.0
GhostBSDdevel/py-requirements-detector1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.6.01.6.0-1.4.01.6.0
FreeBSD:14:quarterly1.6.01.6.0n/a1.4.01.6.0
FreeBSD:15:latest1.6.01.6.0n/a1.4.01.4.0
FreeBSD:15:quarterly1.6.01.6.0n/an/an/a
FreeBSD:16:latest1.6.01.6.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 3

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
FileSizeSHA256
requirements_detector-1.6.0.tar.gz16085601a57092f7a25fbbcf0985fbc91f2af64b1f882e951336cd4920ecee8fb03b1
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
22879ca8c0 Po-Chuan Hsieh devel/py-requirements-detector: Update to 1.6.0
Changes: https://github.com/prospector-dev/requirements-detector/commits/master