python-pyparted: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2016-01-15 09:57:41 +01:00 committed by Thomas Petazzoni
parent 9d05cb121a
commit cd3e72b642
4 changed files with 29 additions and 0 deletions

View file

@ -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"

View file

@ -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

View file

@ -0,0 +1,2 @@
# Locally computed
sha256 5914e3a60437fe3e3758a9e86ee4a539dfa46cfe18e3df386a5cf1f75a963431 python-pyparted-v3.10.7.tar.gz

View file

@ -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))