[Pkg-gnupg-commit] [gpgme] 02/09: add python3-pyme and python-pyme binary packages
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Oct 12 13:35:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit 5be562d6c53df67506df084c79bdc92978317256
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Thu Sep 22 17:55:04 2016 -0400
add python3-pyme and python-pyme binary packages
---
debian/control | 56 ++++++++++++++++++++++++++++++++++++++++++++
debian/python-pyme.examples | 1 +
debian/python-pyme.install | 7 ++++++
debian/python3-pyme.examples | 1 +
debian/python3-pyme.install | 7 ++++++
debian/rules | 4 ++--
6 files changed, 74 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 6263c62..a6b42a2 100644
--- a/debian/control
+++ b/debian/control
@@ -9,12 +9,16 @@ Build-Depends:
automake (>= 1.14),
debhelper (>> 9~),
dh-autoreconf,
+ dh-python,
gnupg-agent,
gnupg2 | gnupg (>= 2),
gpgsm,
libassuan-dev (>> 2.0.2),
libgpg-error-dev (>> 1.8),
+ python3-all-dev,
+ python-all-dev,
scdaemon,
+ swig,
texinfo,
Standards-Version: 3.9.8
Homepage: https://www.gnupg.org/related_software/gpgme/
@@ -56,3 +60,55 @@ Description: GPGME - GnuPG Made Easy (library)
GnuPG functions, such as encrypt, decrypt, sign, verify, ...
.
This package contains the library.
+
+Package: python3-pyme
+Architecture: any
+Section: python
+Provides:
+ ${python3:Provides},
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+Description: Python interface to the GPGME GnuPG encryption library (Python 3)
+ Pyme is, for the most part, a direct interface to the C GPGME
+ library. However, it is re-packaged in a more Pythonic way --
+ object-oriented with classes and modules. Take a look at the classes
+ defined here -- they correspond directly to certain object types in GPGME
+ for C.
+ .
+ Features:
+ * Feature-rich, full implementation of the GPGME library. Supports
+ all GPGME features except interactive editing (coming soon).
+ Callback functions may be written in pure Python.
+ * Ability to sign, encrypt, decrypt, and verify data.
+ * Ability to list keys, export and import keys, and manage the keyring.
+ * Fully object-oriented with convenient classes and modules.
+ .
+ This is the official upstream Python 3 binding for GPGME.
+
+Package: python-pyme
+Architecture: any
+Section: python
+Provides:
+ ${python:Provides},
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+Description: Python interface to the GPGME GnuPG encryption library (Python 2)
+ Pyme is, for the most part, a direct interface to the C GPGME
+ library. However, it is re-packaged in a more Pythonic way --
+ object-oriented with classes and modules. Take a look at the classes
+ defined here -- they correspond directly to certain object types in GPGME
+ for C.
+ .
+ Features:
+ * Feature-rich, full implementation of the GPGME library. Supports
+ all GPGME features except interactive editing (coming soon).
+ Callback functions may be written in pure Python.
+ * Ability to sign, encrypt, decrypt, and verify data.
+ * Ability to list keys, export and import keys, and manage the keyring.
+ * Fully object-oriented with convenient classes and modules.
+ .
+ This is the official upstream Python 2 binding for GPGME.
diff --git a/debian/python-pyme.examples b/debian/python-pyme.examples
new file mode 100644
index 0000000..df70c3e
--- /dev/null
+++ b/debian/python-pyme.examples
@@ -0,0 +1 @@
+lang/python/examples/*.py
diff --git a/debian/python-pyme.install b/debian/python-pyme.install
new file mode 100644
index 0000000..41d4b25
--- /dev/null
+++ b/debian/python-pyme.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/lib/python2.7/site-packages/pyme*.egg-info usr/lib/python2.7/dist-packages
+debian/tmp/usr/lib/python2.7/site-packages/pyme/*.py usr/lib/python2.7/dist-packages/pyme
+debian/tmp/usr/lib/python2.7/site-packages/pyme/_gpgme*.so usr/lib/python2.7/dist-packages/pyme
+debian/tmp/usr/lib/python2.7/site-packages/pyme/constants/*.py usr/lib/python2.7/dist-packages/pyme/constants
+debian/tmp/usr/lib/python2.7/site-packages/pyme/constants/data/*.py usr/lib/python2.7/dist-packages/pyme/constants/data
+debian/tmp/usr/lib/python2.7/site-packages/pyme/constants/keylist/*.py usr/lib/python2.7/dist-packages/pyme/constants/keylist
+debian/tmp/usr/lib/python2.7/site-packages/pyme/constants/sig/*.py usr/lib/python2.7/dist-packages/pyme/constants/sig
diff --git a/debian/python3-pyme.examples b/debian/python3-pyme.examples
new file mode 100644
index 0000000..df70c3e
--- /dev/null
+++ b/debian/python3-pyme.examples
@@ -0,0 +1 @@
+lang/python/examples/*.py
diff --git a/debian/python3-pyme.install b/debian/python3-pyme.install
new file mode 100644
index 0000000..3886ed4
--- /dev/null
+++ b/debian/python3-pyme.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/lib/python3*/site-packages/pyme*.egg-info usr/lib/python3/dist-packages
+debian/tmp/usr/lib/python3*/site-packages/pyme/*.py usr/lib/python3/dist-packages/pyme
+debian/tmp/usr/lib/python3*/site-packages/pyme/_gpgme*.so usr/lib/python3/dist-packages/pyme
+debian/tmp/usr/lib/python3*/site-packages/pyme/constants/*.py usr/lib/python3/dist-packages/pyme/constants
+debian/tmp/usr/lib/python3*/site-packages/pyme/constants/data/*.py usr/lib/python3/dist-packages/pyme/constants/data
+debian/tmp/usr/lib/python3*/site-packages/pyme/constants/keylist/*.py usr/lib/python3/dist-packages/pyme/constants/keylist
+debian/tmp/usr/lib/python3*/site-packages/pyme/constants/sig/*.py usr/lib/python3/dist-packages/pyme/constants/sig
diff --git a/debian/rules b/debian/rules
index ce7415b..578c38f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,12 +3,12 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
%:
- dh $@ --with autoreconf --parallel
+ dh $@ --with autoreconf,python2,python3 --parallel
override_dh_auto_configure:
dh_auto_configure -- \
--enable-static \
- --enable-languages=no \
+ --enable-languages=python \
--infodir=/usr/share/info
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list