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
-|$(PYTHON_PKG_DIR)
endef
+define Package/python-pip-conf/install
+ $(INSTALL_DIR) $(1)/etc
+ $(CP) ./files/pip.conf $(1)/etc
+endef
+
HOST_LDFLAGS += \
$$$$(pkg-config --static --libs libcrypto libssl)
$(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))
define Package/python-pip
$(call Package/python/Default)
TITLE:=Python $(PYTHON_VERSION) pip module
- DEPENDS:=+python +python-setuptools
+ DEPENDS:=+python +python-setuptools +python-pip-conf
endef
define PyPackage/python-pip/install
define Package/python3-pip
$(call Package/python3/Default)
TITLE:=Python $(PYTHON3_VERSION) pip module
- DEPENDS:=+python3 +python3-setuptools
+ DEPENDS:=+python3 +python3-setuptools +python-pip-conf
endef
define Py3Package/python3-pip/install