Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2020 18:55:09 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531226 - in head/devel: . py-pip-licenses py-pip-licenses/files
Message-ID:  <202004091855.039It9AH005559@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Apr  9 18:55:09 2020
New Revision: 531226
URL: https://svnweb.freebsd.org/changeset/ports/531226

Log:
  Add py-pip-licenses 2.1.1
  
  pip-licenses is a CLI tool for checking the software license of installed Python
  packages with pip.
  
  WWW: https://github.com/raimon49/pip-licenses

Added:
  head/devel/py-pip-licenses/
  head/devel/py-pip-licenses/Makefile   (contents, props changed)
  head/devel/py-pip-licenses/distinfo   (contents, props changed)
  head/devel/py-pip-licenses/files/
  head/devel/py-pip-licenses/files/patch-setup.py   (contents, props changed)
  head/devel/py-pip-licenses/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Apr  9 18:46:37 2020	(r531225)
+++ head/devel/Makefile	Thu Apr  9 18:55:09 2020	(r531226)
@@ -4740,6 +4740,7 @@
     SUBDIR += py-pinocchio
     SUBDIR += py-pip
     SUBDIR += py-pip-api
+    SUBDIR += py-pip-licenses
     SUBDIR += py-pip-run
     SUBDIR += py-pip-tools
     SUBDIR += py-pipdeptree

Added: head/devel/py-pip-licenses/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pip-licenses/Makefile	Thu Apr  9 18:55:09 2020	(r531226)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	pip-licenses
+PORTVERSION=	2.1.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Dump the software license list of Python packages installed with pip
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ptable>=0:devel/py-ptable@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-pycodestyle>=0:devel/py-pytest-pycodestyle@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-pip-licenses/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pip-licenses/distinfo	Thu Apr  9 18:55:09 2020	(r531226)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586366830
+SHA256 (pip-licenses-2.1.1.tar.gz) = 95042f237c5b8c865a9682fdb96f60b13f826673abb4677455ab46e6d6f3c21c
+SIZE (pip-licenses-2.1.1.tar.gz) = 21849

Added: head/devel/py-pip-licenses/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pip-licenses/files/patch-setup.py	Thu Apr  9 18:55:09 2020	(r531226)
@@ -0,0 +1,12 @@
+--- setup.py.orig	2020-02-16 05:37:47 UTC
++++ setup.py
+@@ -91,9 +91,6 @@ setup(
+     license=LICENSE,
+     python_requires='~=3.5',
+     install_requires=['PTable'],
+-    setup_requires=[
+-        'pytest-runner',
+-    ],
+     tests_require=TEST_DEPENDS,
+     extras_require={
+         'test': TEST_DEPENDS,

Added: head/devel/py-pip-licenses/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pip-licenses/pkg-descr	Thu Apr  9 18:55:09 2020	(r531226)
@@ -0,0 +1,4 @@
+pip-licenses is a CLI tool for checking the software license of installed Python
+packages with pip.
+
+WWW: https://github.com/raimon49/pip-licenses



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004091855.039It9AH005559>