Add py-pipreqs 0.4.9, generate requirements.txt file for any project
based on imports.
This commit is contained in:
@@ -4799,6 +4799,7 @@
|
||||
SUBDIR += py-pip-tools
|
||||
SUBDIR += py-pipdeptree
|
||||
SUBDIR += py-pipenv
|
||||
SUBDIR += py-pipreqs
|
||||
SUBDIR += py-pkgconfig
|
||||
SUBDIR += py-plac
|
||||
SUBDIR += py-plan
|
||||
|
||||
22
devel/py-pipreqs/Makefile
Normal file
22
devel/py-pipreqs/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pipreqs
|
||||
PORTVERSION= 0.4.9
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= Generate requirements.txt file for any project based on imports
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yarg>0:devel/py-yarg@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/py-pipreqs/distinfo
Normal file
3
devel/py-pipreqs/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1570125760
|
||||
SHA256 (pipreqs-0.4.9.tar.gz) = cec6eecc4685967b27eb386037565a737d036045f525b9eb314631a68d60e4bc
|
||||
SIZE (pipreqs-0.4.9.tar.gz) = 36156
|
||||
12
devel/py-pipreqs/pkg-descr
Normal file
12
devel/py-pipreqs/pkg-descr
Normal file
@@ -0,0 +1,12 @@
|
||||
Generate requirements.txt file for any project based on imports.
|
||||
|
||||
Why not pip freeze?
|
||||
|
||||
- pip freeze only saves the packages that are installed with pip install in
|
||||
your environment.
|
||||
- pip freeze saves all packages in the environment including those that you
|
||||
don't use in your current project. (if you don't have virtualenv)
|
||||
- and sometimes you just need to create requirements.txt for a new project
|
||||
without installing modules.
|
||||
|
||||
WWW: https://pypi.org/project/pipreqs/
|
||||
Reference in New Issue
Block a user