svn commit: r513711 - in head/devel: . py-pipreqs

Emanuel Haupt ehaupt at FreeBSD.org
Thu Oct 3 18:33:14 UTC 2019


Author: ehaupt
Date: Thu Oct  3 18:33:13 2019
New Revision: 513711
URL: https://svnweb.freebsd.org/changeset/ports/513711

Log:
  Add py-pipreqs 0.4.9, generate requirements.txt file for any project
  based on imports.

Added:
  head/devel/py-pipreqs/
  head/devel/py-pipreqs/Makefile   (contents, props changed)
  head/devel/py-pipreqs/distinfo   (contents, props changed)
  head/devel/py-pipreqs/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Oct  3 18:32:57 2019	(r513710)
+++ head/devel/Makefile	Thu Oct  3 18:33:13 2019	(r513711)
@@ -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

Added: head/devel/py-pipreqs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pipreqs/Makefile	Thu Oct  3 18:33:13 2019	(r513711)
@@ -0,0 +1,22 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	pipreqs
+PORTVERSION=	0.4.9
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ehaupt at 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>

Added: head/devel/py-pipreqs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pipreqs/distinfo	Thu Oct  3 18:33:13 2019	(r513711)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1570125760
+SHA256 (pipreqs-0.4.9.tar.gz) = cec6eecc4685967b27eb386037565a737d036045f525b9eb314631a68d60e4bc
+SIZE (pipreqs-0.4.9.tar.gz) = 36156

Added: head/devel/py-pipreqs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pipreqs/pkg-descr	Thu Oct  3 18:33:13 2019	(r513711)
@@ -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/


More information about the svn-ports-all mailing list