Port details |
- py-requirements-detector Find and list requirements of a Python project
- 1.3.2 devel
=2 1.3.2Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-04-05 17:37:25
- Last Update: 2024-11-21 13:38:17
- Commit Hash: 6d316a8
- 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/prospector-dev/requirements-detector
- 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)
¦ ¦ ¦ ¦ 
- 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}requirements-detector>0:devel/py-requirements-detector@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-requirements-detector/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-requirements-detector
- pkg install py311-requirements-detector
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-requirements-detector listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-requirements-detector
- Package flavors (<flavor>: <package>)
- py311: py311-requirements-detector
- distinfo:
- TIMESTAMP = 1731679302
SHA256 (requirements_detector-1.3.2.tar.gz) = af5a3ea98ca703d14cf7b66751b2aeb3656d02d9e5fc1c97d7d4da02b057b601
SIZE (requirements_detector-1.3.2.tar.gz) = 16342
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-poetry-core>=1.0.0 : devel/py-poetry-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-astroid>=3.0<4 : devel/py-astroid@py311
- py311-packaging>=21.3 : devel/py-packaging@py311
- py311-semver>=3.0.0<4 : devel/py-semver@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-prospector
Configuration Options:
- No options to configure
- Options name:
- devel_py-requirements-detector
- 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 |
1.3.2 21 Nov 2024 13:38:17
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-requirements-detector: Update to 1.3.2
Changes: https://github.com/prospector-dev/requirements-detector/commits/master |
1.3.1 14 Oct 2024 05:25:37
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-requirements-detector: Update to 1.3.1
- Update WWW
Changes: https://github.com/prospector-dev/requirements-detector/commits/master |
1.2.2_1 21 Feb 2024 15:07:45
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-requirements-detector: Allow build with py-astroid 3.*
- Bump PORTREVISION for package change |
1.2.2 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> |
1.2.2 27 May 2023 23:44:03
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-requirements-detector: Update to 1.2.2
Changes: https://github.com/landscapeio/requirements-detector/commits/master |
1.2.1 27 Apr 2023 15:46:15
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-requirements-detector: Update to 1.2.1
Changes: https://github.com/landscapeio/requirements-detector/commits/master |
1.1.0 05 Apr 2023 17:29:40
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-requirements-detector: Add py-requirements-detector 1.1.0
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) |