summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-05-21 17:14:44 -0700
committerGitHub <noreply@github.com>2019-05-21 17:14:44 -0700
commit35c93de1289d6c4f79799a70c3dbf74cc2c4bd82 (patch)
tree2c85c71e484a738df727e30b32fe7827aa51e47e /lang/python/python3
parentd62d17f6051bc341b186a0106b14cf46d1e95460 (diff)
parent5f447b9020c150e58ea127cbf1b5b579615d5a73 (diff)
Merge pull request #9047 from cotequeiroz/python-license
python-{pip,setuptools}: add LICENSE, CPE information
Diffstat (limited to 'lang/python/python3')
-rw-r--r--lang/python/python3/files/python3-package-pip.mk3
-rw-r--r--lang/python/python3/files/python3-package-setuptools.mk3
2 files changed, 6 insertions, 0 deletions
diff --git a/lang/python/python3/files/python3-package-pip.mk b/lang/python/python3/files/python3-package-pip.mk
index 677f61efa..9f942c660 100644
--- a/lang/python/python3/files/python3-package-pip.mk
+++ b/lang/python/python3/files/python3-package-pip.mk
@@ -9,6 +9,9 @@ define Package/python3-pip
$(call Package/python3/Default)
TITLE:=Python $(PYTHON3_VERSION) pip module
VERSION:=$(PYTHON3_PIP_VERSION)-$(PYTHON3_PIP_PKG_RELEASE)
+ LICENSE:=MIT
+ LICENSE_FILES:=LICENSE.txt
+# CPE_ID:=cpe:/a:python:pip # not currently handled this way by uscan
DEPENDS:=+python3 +python3-setuptools +python-pip-conf
endef
diff --git a/lang/python/python3/files/python3-package-setuptools.mk b/lang/python/python3/files/python3-package-setuptools.mk
index 5cb5f58de..ce1fb5c11 100644
--- a/lang/python/python3/files/python3-package-setuptools.mk
+++ b/lang/python/python3/files/python3-package-setuptools.mk
@@ -9,6 +9,9 @@ define Package/python3-setuptools
$(call Package/python3/Default)
TITLE:=Python $(PYTHON3_VERSION) setuptools module
VERSION:=$(PYTHON3_SETUPTOOLS_VERSION)-$(PYTHON3_SETUPTOOLS_PKG_RELEASE)
+ LICENSE:=MIT
+ LICENSE_FILES:=LICENSE
+# CPE_ID:=cpe:/a:python:setuptools # not currently handled this way by uscan
DEPENDS:=+python3
endef