aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2016-01-15 09:57:41 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-03 23:14:51 +0100
commitcd3e72b642e56b33a0cdeb377eb14004bfbcf9a7 (patch)
treeff3a33c3acd3c60b9fc65ea0d4bf120dbeca5e6d
parent9d05cb121a93aa0501f4c7369881d304063c84da (diff)
downloadbuildroot-cd3e72b642e56b33a0cdeb377eb14004bfbcf9a7.tar.gz
buildroot-cd3e72b642e56b33a0cdeb377eb14004bfbcf9a7.tar.bz2
python-pyparted: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-pyparted/Config.in12
-rw-r--r--package/python-pyparted/python-pyparted.hash2
-rw-r--r--package/python-pyparted/python-pyparted.mk14
4 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 532b10a569..529ad33649 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -684,6 +684,7 @@ menu "External python modules"
source "package/python-pygame/Config.in"
source "package/python-pyinotify/Config.in"
source "package/python-pyparsing/Config.in"
+ source "package/python-pyparted/Config.in"
source "package/python-pypcap/Config.in"
source "package/python-pyqt/Config.in"
source "package/python-pyratemp/Config.in"
diff --git a/package/python-pyparted/Config.in b/package/python-pyparted/Config.in
new file mode 100644
index 0000000000..150159559b
--- /dev/null
+++ b/package/python-pyparted/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_PYPARTED
+ bool "python-pyparted"
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_PYTHON_CFFI # runtime
+ select BR2_PACKAGE_PARTED
+ help
+ Python bindings for GNU parted (libparted).
+
+ https://github.com/rhinstaller/pyparted
+
+comment "pyparted needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
diff --git a/package/python-pyparted/python-pyparted.hash b/package/python-pyparted/python-pyparted.hash
new file mode 100644
index 0000000000..a2adc41083
--- /dev/null
+++ b/package/python-pyparted/python-pyparted.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 5914e3a60437fe3e3758a9e86ee4a539dfa46cfe18e3df386a5cf1f75a963431 python-pyparted-v3.10.7.tar.gz
diff --git a/package/python-pyparted/python-pyparted.mk b/package/python-pyparted/python-pyparted.mk
new file mode 100644
index 0000000000..4bf58c49eb
--- /dev/null
+++ b/package/python-pyparted/python-pyparted.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyparted
+#
+################################################################################
+
+PYTHON_PYPARTED_VERSION = v3.10.7
+PYTHON_PYPARTED_SITE = $(call github,rhinstaller,pyparted,$(PYTHON_PYPARTED_VERSION))
+PYTHON_PYPARTED_SETUP_TYPE = distutils
+PYTHON_PYPARTED_LICENSE = GPLv2+
+PYTHON_PYPARTED_LICENSE_FILES = COPYING
+PYTHON_PYPARTED_DEPENDENCIES = host-python-cffi parted
+
+$(eval $(python-package))