Browse Source

Merge pull request #9047 from cotequeiroz/python-license

python-{pip,setuptools}: add LICENSE, CPE information
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
35c93de128
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 4 deletions
  1. +2
    -2
      lang/python/python-version.mk
  2. +3
    -0
      lang/python/python/files/python-package-pip.mk
  3. +3
    -0
      lang/python/python/files/python-package-setuptools.mk
  4. +2
    -2
      lang/python/python3-version.mk
  5. +3
    -0
      lang/python/python3/files/python3-package-pip.mk
  6. +3
    -0
      lang/python/python3/files/python3-package-setuptools.mk

+ 2
- 2
lang/python/python-version.mk View File

@ -8,8 +8,8 @@
PYTHON_VERSION:=2.7
PYTHON_VERSION_MICRO:=16
PYTHON_SETUPTOOLS_PKG_RELEASE:=1
PYTHON_PIP_PKG_RELEASE:=1
PYTHON_SETUPTOOLS_PKG_RELEASE:=2
PYTHON_PIP_PKG_RELEASE:=2
PYTHON_SETUPTOOLS_VERSION:=40.6.2
PYTHON_PIP_VERSION:=18.1

+ 3
- 0
lang/python/python/files/python-package-pip.mk View File

@ -9,6 +9,9 @@ define Package/python-pip
$(call Package/python/Default)
TITLE:=Python $(PYTHON_VERSION) pip module
VERSION:=$(PYTHON_PIP_VERSION)-$(PYTHON_PIP_PKG_RELEASE)
LICENSE:=MIT
LICENSE_FILES:=LICENSE.txt
# CPE_ID:=cpe:/a:python:pip # not currently handled this way by uscan
DEPENDS:=+python +python-setuptools +python-pip-conf
endef


+ 3
- 0
lang/python/python/files/python-package-setuptools.mk View File

@ -9,6 +9,9 @@ define Package/python-setuptools
$(call Package/python/Default)
TITLE:=Python $(PYTHON_VERSION) setuptools module
VERSION:=$(PYTHON_SETUPTOOLS_VERSION)-$(PYTHON_SETUPTOOLS_PKG_RELEASE)
LICENSE:=MIT
LICENSE_FILES:=LICENSE
# CPE_ID:=cpe:/a:python:setuptools # not currently handled this way by uscan
DEPENDS:=+python
endef


+ 2
- 2
lang/python/python3-version.mk View File

@ -12,8 +12,8 @@ PYTHON3_VERSION_MICRO:=2
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
PYTHON3_SETUPTOOLS_PKG_RELEASE:=1
PYTHON3_PIP_PKG_RELEASE:=1
PYTHON3_SETUPTOOLS_PKG_RELEASE:=2
PYTHON3_PIP_PKG_RELEASE:=2
PYTHON3_SETUPTOOLS_VERSION:=40.6.2
PYTHON3_PIP_VERSION:=18.1

+ 3
- 0
lang/python/python3/files/python3-package-pip.mk View File

@ -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


+ 3
- 0
lang/python/python3/files/python3-package-setuptools.mk View File

@ -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


Loading…
Cancel
Save