Browse Source

Merge pull request #5462 from commodo/python-src-no-deps

python,python3: disable dependencies between python src packages
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
e6a376f22d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 6 deletions
  1. +0
    -1
      lang/python/python-package.mk
  2. +1
    -2
      lang/python/python/Makefile
  3. +0
    -1
      lang/python/python3-package.mk
  4. +1
    -2
      lang/python/python3/Makefile

+ 0
- 1
lang/python/python-package.mk View File

@ -40,7 +40,6 @@ define PyPackage
define Package/$(1)-src define Package/$(1)-src
$(call Package/$(1)) $(call Package/$(1))
TITLE+= (sources) TITLE+= (sources)
DEPENDS:=$$$$(foreach dep,$$$$(filter +python-%,$$$$(DEPENDS)),$$$$(dep)-src)
endef endef
define Package/$(1)-src/description define Package/$(1)-src/description


+ 1
- 2
lang/python/python/Makefile View File

@ -12,7 +12,7 @@ include ../python-version.mk
PKG_NAME:=python PKG_NAME:=python
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
PKG_RELEASE:=9
PKG_RELEASE:=10
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION) PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
@ -310,4 +310,3 @@ $(eval $(call BuildPackage,python))
$(eval $(call BuildPackage,python-base-src)) $(eval $(call BuildPackage,python-base-src))
$(eval $(call BuildPackage,python-light-src)) $(eval $(call BuildPackage,python-light-src))
$(eval $(call BuildPackage,python-src))

+ 0
- 1
lang/python/python3-package.mk View File

@ -39,7 +39,6 @@ define Py3Package
define Package/$(1)-src define Package/$(1)-src
$(call Package/$(1)) $(call Package/$(1))
TITLE+= (sources) TITLE+= (sources)
DEPENDS:=$$$$(foreach dep,$$$$(filter +python3-%,$$$$(DEPENDS)),$$$$(dep)-src)
endef endef
define Package/$(1)-src/description define Package/$(1)-src/description


+ 1
- 2
lang/python/python3/Makefile View File

@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION)
PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO)
PKG_NAME:=python3 PKG_NAME:=python3
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
@ -307,4 +307,3 @@ $(eval $(call BuildPackage,python3))
$(eval $(call BuildPackage,python3-base-src)) $(eval $(call BuildPackage,python3-base-src))
$(eval $(call BuildPackage,python3-light-src)) $(eval $(call BuildPackage,python3-light-src))
$(eval $(call BuildPackage,python3-src))

Loading…
Cancel
Save