python-rtslib-fb: new package
authorChristophe Vu-Brugier <cvubrugier@fastmail.fm>
Thu, 18 Sep 2014 10:00:53 +0000 (12:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 17:44:14 +0000 (19:44 +0200)
rtslib-fb is an object-based Python library for configuring the
LIO generic SCSI target, present in 3.x Linux kernel versions.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-rtslib-fb/Config.in [new file with mode: 0644]
package/python-rtslib-fb/python-rtslib-fb.mk [new file with mode: 0644]

index 17930ea5aadb93661a053360d4b4effaa264bcad..744703611d06f20c0139df78785c8b333322d90c 100644 (file)
@@ -503,6 +503,7 @@ menu "external python modules"
        source "package/python-pysnmp-mibs/Config.in"
        source "package/python-pyusb/Config.in"
        source "package/python-pyzmq/Config.in"
+       source "package/python-rtslib-fb/Config.in"
        source "package/python-serial/Config.in"
        source "package/python-setuptools/Config.in"
        source "package/python-simplejson/Config.in"
diff --git a/package/python-rtslib-fb/Config.in b/package/python-rtslib-fb/Config.in
new file mode 100644 (file)
index 0000000..b2aebcf
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_RTSLIB_FB
+       bool "python-rtslib-fb"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         rtslib-fb is an object-based Python library for configuring
+         the LIO generic SCSI target, present in 3.x Linux kernel
+         versions.
+
+         https://github.com/agrover/rtslib-fb
diff --git a/package/python-rtslib-fb/python-rtslib-fb.mk b/package/python-rtslib-fb/python-rtslib-fb.mk
new file mode 100644 (file)
index 0000000..70b0257
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-rtslib-fb
+#
+################################################################################
+
+PYTHON_RTSLIB_FB_VERSION = v2.1.fb49
+PYTHON_RTSLIB_FB_SITE = $(call github,agrover,rtslib-fb,$(PYTHON_RTSLIB_FB_VERSION))
+PYTHON_RTSLIB_FB_LICENSE = Apache-2.0
+PYTHON_RTSLIB_FB_LICENSE_FILES = COPYING
+PYTHON_RTSLIB_FB_SETUP_TYPE = setuptools
+
+$(eval $(python-package))