diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-17 00:01:44 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:04 (GMT) |
commit | 15471fc26d53c9431ebf69b06bb6ac0036484d54 (patch) | |
tree | 980b9a9c655d127b95235011915aedddb567ec8d /abs/core/util-linux/0001-pylibmount-correctly-import-from-pylibmount.so.patch | |
parent | 76d8789a8f3dd26cd1a6cea90517d75efa922f40 (diff) | |
download | linhes_pkgbuild-15471fc26d53c9431ebf69b06bb6ac0036484d54.zip linhes_pkgbuild-15471fc26d53c9431ebf69b06bb6ac0036484d54.tar.gz linhes_pkgbuild-15471fc26d53c9431ebf69b06bb6ac0036484d54.tar.bz2 |
util-linux 2.2.4
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/core/util-linux/0001-pylibmount-correctly-import-from-pylibmount.so.patch')
-rw-r--r-- | abs/core/util-linux/0001-pylibmount-correctly-import-from-pylibmount.so.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/util-linux/0001-pylibmount-correctly-import-from-pylibmount.so.patch b/abs/core/util-linux/0001-pylibmount-correctly-import-from-pylibmount.so.patch new file mode 100644 index 0000000..34040b9 --- /dev/null +++ b/abs/core/util-linux/0001-pylibmount-correctly-import-from-pylibmount.so.patch @@ -0,0 +1,30 @@ +From c8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab Mon Sep 17 00:00:00 2001 +From: Dave Reisner <dreisner@archlinux.org> +Date: Thu, 21 Nov 2013 12:25:27 -0500 +Subject: [PATCH] pylibmount: correctly import from pylibmount.so + +Without this, python is unable to find the module: + +$ python -c 'import libmount' +Traceback (most recent call last): + File "<string>", line 1, in <module> + File "/usr/lib/python3.3/site-packages/libmount/__init__.py", line 1, in <module> + from pylibmount import * +ImportError: No module named 'pylibmount' + +Signed-off-by: Dave Reisner <dreisner@archlinux.org> +--- + libmount/python/libmount/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libmount/python/libmount/__init__.py b/libmount/python/libmount/__init__.py +index 243c639..09104e2 100644 +--- a/libmount/python/libmount/__init__.py ++++ b/libmount/python/libmount/__init__.py +@@ -1,2 +1,2 @@ +-from pylibmount import * ++from .pylibmount import * + +-- +1.8.4.2 + |