summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-03-01 23:06:25 +0200
committerGitHub <noreply@github.com>2019-03-01 23:06:25 +0200
commitb710d098f26cd76d4cdbfcabdb781cff16b9e94b (patch)
tree009073ce77146c779a3bea45f27913c9bbab5307 /lang/python
parent64c94b329f223b7d37ecbc3f648b09b31b37afc4 (diff)
parent82981d1d55357acd2e88947f56ae124dc1971ae9 (diff)
Merge pull request #8307 from commodo/python3-split-urllib
python3: split python3-urllib from python3-light
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/python3/Makefile2
-rw-r--r--lang/python/python3/files/python3-package-urllib.mk16
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile
index 923537af5..19129e05a 100644
--- a/lang/python/python3/Makefile
+++ b/lang/python/python3/Makefile
@@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION)
PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO)
PKG_NAME:=python3
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
diff --git a/lang/python/python3/files/python3-package-urllib.mk b/lang/python/python3/files/python3-package-urllib.mk
new file mode 100644
index 000000000..ddd7b1dbf
--- /dev/null
+++ b/lang/python/python3/files/python3-package-urllib.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2019 Alexandru Ardelean <ardeleanalex@gmail.com>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Package/python3-urllib
+$(call Package/python3/Default)
+ TITLE:=Python $(PYTHON3_VERSION) URL library module
+ DEPENDS:=+python3-light +python3-email
+endef
+
+$(eval $(call Py3BasePackage,python3-urllib, \
+ /usr/lib/python$(PYTHON3_VERSION)/urllib \
+))