mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #2089 from commodo/python-pip-conf
python-pip: add site-wide pip.conf with defaults
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=python-pip
|
PKG_NAME:=python-pip
|
||||||
PKG_VERSION:=7.1.2
|
PKG_VERSION:=7.1.2
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=pip-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=pip-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/p/pip/
|
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/p/pip/
|
||||||
@@ -48,8 +48,9 @@ define PyPackage/python-pip/filespec
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define PyPackage/python-pip/install
|
define PyPackage/python-pip/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
|
||||||
|
$(INSTALL_CONF) ./files/pip.conf $(1)/etc/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call PyPackage,python-pip))
|
$(eval $(call PyPackage,python-pip))
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[global]
|
||||||
|
cache-dir=/tmp/.cache
|
||||||
|
log-file=/tmp/pip-log.txt
|
||||||
Reference in New Issue
Block a user