[gexiv2] debian: Create python packages



commit 47c475ab26bf9f4bceeb9da0aa0539029d6a4cd8
Author: Jens Georg <mail jensge org>
Date:   Tue Mar 7 21:26:08 2017 +0100

    debian: Create python packages
    
    Signed-off-by: Jens Georg <mail jensge org>

 debian/control                |   23 ++++++++++++++++++++++-
 debian/python-gexiv2.install  |    1 +
 debian/python3-gexiv2.install |    1 +
 3 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/debian/control b/debian/control
index 4cff6d6..16c1372 100644
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,8 @@ Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
          libgexiv2-2 (= ${binary:Version}),
-         libexiv2-dev
+         gir1.2-gexiv2-0.10 (= ${binary:Version}),
+         ${misc:Depends}
 Description: GObject-based wrapper around the Exiv2 library (development files)
  gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic
  features of Exiv2 available to GNOME applications.
@@ -70,3 +71,23 @@ Description: GObject introspection data for the GExiv2 library.
  .
  It can be used by packages using the GIRepository format to generate
  dynamic bindings.
+
+Package: python-gexiv2
+Architecture: any
+Depends: gir1.2-gexiv2-0.10 (= ${binary:Version}),
+         libgexiv2-2 (= ${binary:Version}),
+         python-gi,
+         ${python:Depends}
+Description: GExiv2 GObject introspection overrides for Python (Python2)
+ gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic
+ features of Exiv2 available to GNOME applications.
+
+Package: python3-gexiv2
+Architecture: any
+Depends: gir1.2-gexiv2-0.10 (= ${binary:Version}),
+         libgexiv2-2 (= ${binary:Version}),
+         python3-gi,
+         ${python3:Depends}
+Description: GExiv2 GObject introspection overrides for Python (Python3)
+ gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic
+ features of Exiv2 available to GNOME applications.
diff --git a/debian/python-gexiv2.install b/debian/python-gexiv2.install
new file mode 100644
index 0000000..abe96f5
--- /dev/null
+++ b/debian/python-gexiv2.install
@@ -0,0 +1 @@
+usr/lib/python2*/*
diff --git a/debian/python3-gexiv2.install b/debian/python3-gexiv2.install
new file mode 100644
index 0000000..3f2e137
--- /dev/null
+++ b/debian/python3-gexiv2.install
@@ -0,0 +1 @@
+usr/lib/python3*/*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]