mirror of
https://github.com/novatiq/packages.git
synced 2026-04-26 13:54:41 +01:00
python-pip-conf: split package away from python package
This should improve build time if you only want to build Python3 (and not Python). Because python-pip-conf was part of the python package, the whole python package (host + target) would get built if Python3 would need to get built. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -65,16 +65,6 @@ define Package/python/Default/description
|
||||
the development of higher quality, more maintainable code.
|
||||
endef
|
||||
|
||||
define Package/python-pip-conf
|
||||
$(call Package/python/Default)
|
||||
TITLE:=Configuration file for pip/pip3
|
||||
URL:=https://pip.pypa.io
|
||||
endef
|
||||
|
||||
define Package/python-pip-conf/description
|
||||
Configuration file for pip/pip3
|
||||
endef
|
||||
|
||||
define Package/python-base
|
||||
$(call Package/python/Default)
|
||||
TITLE:=Python $(PYTHON_VERSION) interpreter
|
||||
@@ -281,11 +271,6 @@ define PyPackage/python/filespec
|
||||
-|$(PYTHON_PKG_DIR)
|
||||
endef
|
||||
|
||||
define Package/python-pip-conf/install
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(CP) ./files/pip.conf $(1)/etc
|
||||
endef
|
||||
|
||||
HOST_LDFLAGS += \
|
||||
-Wl,--no-as-needed -lrt \
|
||||
$$$$(pkg-config --static --libs libcrypto libssl)
|
||||
@@ -324,8 +309,6 @@ $(eval $(call PyPackage,python-base))
|
||||
$(eval $(call PyPackage,python-light))
|
||||
$(eval $(call PyPackage,python))
|
||||
|
||||
$(eval $(call BuildPackage,python-pip-conf))
|
||||
|
||||
$(eval $(call BuildPackage,python-base))
|
||||
$(eval $(call BuildPackage,python-light))
|
||||
$(eval $(call BuildPackage,python))
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[global]
|
||||
cache-dir=/tmp/.cache
|
||||
log-file=/tmp/pip-log.txt
|
||||
Reference in New Issue
Block a user