summaryrefslogtreecommitdiff
path: root/lang/python/python-pip-conf
diff options
context:
space:
mode:
authorchamptar <champetier.etienne@gmail.com>2017-12-10 16:45:40 -0800
committerGitHub <noreply@github.com>2017-12-10 16:45:40 -0800
commit56d5ede68a85b6cca92b1dd7fdbb00fa1dbc7d00 (patch)
treeca1a72886bf2b6d393fffbe14904ef8751e406f9 /lang/python/python-pip-conf
parent6789b0ffb8636ebe1034374fc6cc9bb1533680f7 (diff)
parent59f0506622e7df5e6c4fe10f279a3f70e2366d37 (diff)
Merge pull request #5197 from commodo/python-bluez-deps
python,python3: define config option for bluetooth support
Diffstat (limited to 'lang/python/python-pip-conf')
-rw-r--r--lang/python/python-pip-conf/Makefile36
-rw-r--r--lang/python/python-pip-conf/files/pip.conf3
2 files changed, 39 insertions, 0 deletions
diff --git a/lang/python/python-pip-conf/Makefile b/lang/python/python-pip-conf/Makefile
new file mode 100644
index 000000000..b8ef7f6c5
--- /dev/null
+++ b/lang/python/python-pip-conf/Makefile
@@ -0,0 +1,36 @@
+#
+# Copyright (C) 2017 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-pip-conf
+PKG_VERSION:=0.1
+PKG_RELEASE:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/python-pip-conf
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=Configuration file for pip/pip3
+ URL:=https://pip.pypa.io
+ MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
+endef
+
+define Package/python-pip-conf/description
+ Configuration file for pip/pip3
+endef
+
+Build/Compile:=
+
+define Package/python-pip-conf/install
+ $(INSTALL_DIR) $(1)/etc
+ $(CP) ./files/pip.conf $(1)/etc
+endef
+
+$(eval $(call BuildPackage,python-pip-conf))
diff --git a/lang/python/python-pip-conf/files/pip.conf b/lang/python/python-pip-conf/files/pip.conf
new file mode 100644
index 000000000..89339e98a
--- /dev/null
+++ b/lang/python/python-pip-conf/files/pip.conf
@@ -0,0 +1,3 @@
+[global]
+cache-dir=/tmp/.cache
+log-file=/tmp/pip-log.txt