[Pkg-gnupg-commit] [gpgme] 52/62: move python binding name from pyme to gpg
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat Nov 19 04:03:37 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 9bf5561a5a61a47bf6d8877677695f1d05ab1a04
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Thu Nov 17 08:37:18 2016 +0900
move python binding name from pyme to gpg
---
debian/control | 24 ++++++++++++------------
debian/copyright | 2 +-
debian/gbp.conf | 6 +++---
debian/python-gpg.install | 7 +++++++
debian/python-pyme.install | 7 -------
debian/python3-gpg.install | 7 +++++++
debian/python3-pyme.install | 7 -------
debian/rules | 16 ----------------
8 files changed, 30 insertions(+), 46 deletions(-)
diff --git a/debian/control b/debian/control
index 5c1be3a..925f96d 100644
--- a/debian/control
+++ b/debian/control
@@ -71,7 +71,7 @@ Description: GPGME - GnuPG Made Easy (library)
.
This package contains the library.
-Package: python3-pyme
+Package: python3-gpg
Architecture: any
Section: python
Provides:
@@ -81,11 +81,11 @@ 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.
+ The "gpg" Python module 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
@@ -97,7 +97,7 @@ Description: Python interface to the GPGME GnuPG encryption library (Python 3)
.
This is the official upstream Python 3 binding for GPGME.
-Package: python-pyme
+Package: python-gpg
Architecture: any
Section: python
Provides:
@@ -107,11 +107,11 @@ 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.
+ The "gpg" Python module 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
diff --git a/debian/copyright b/debian/copyright
index b1fe484..0f0be10 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -25,7 +25,7 @@ Files: lang/cl/*
Copyright: 2003, 2006, 2008 g10 Code GmbH
License: GPL-2+
-Files: lang/python/* lang/python/*/* lang/python/pyme/constants/* lang/python/pyme/constants/*/*
+Files: lang/python/* lang/python/*/* lang/python/gpg/constants/* lang/python/gpg/constants/*/*
Copyright:
2002 John Goerzen,
2004-2008 Igor Belyi,
diff --git a/debian/gbp.conf b/debian/gbp.conf
index f74303d..da99489 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -26,9 +26,9 @@ filter = [
'm4/ltsugar.m4',
'm4/ltversion.m4',
'm4/lt~obsolete.m4',
- 'lang/python/pyme/gpgme.py',
- 'lang/python/pyme/version.py',
- 'lang/python/pyme/__pycache__/*',
+ 'lang/python/gpg/gpgme.py',
+ 'lang/python/gpg/version.py',
+ 'lang/python/gpg/__pycache__/*',
'lang/qt/src/*Job',
'lang/qt/src/CryptoConfig',
'lang/qt/src/DataProvider',
diff --git a/debian/python-gpg.install b/debian/python-gpg.install
new file mode 100644
index 0000000..a7c0ae8
--- /dev/null
+++ b/debian/python-gpg.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/lib/python2.7/site-packages/gpg*.egg-info usr/lib/python2.7/dist-packages
+debian/tmp/usr/lib/python2.7/site-packages/gpg/*.py usr/lib/python2.7/dist-packages/gpg
+debian/tmp/usr/lib/python2.7/site-packages/gpg/_gpgme*.so usr/lib/python2.7/dist-packages/gpg
+debian/tmp/usr/lib/python2.7/site-packages/gpg/constants/*.py usr/lib/python2.7/dist-packages/gpg/constants
+debian/tmp/usr/lib/python2.7/site-packages/gpg/constants/data/*.py usr/lib/python2.7/dist-packages/gpg/constants/data
+debian/tmp/usr/lib/python2.7/site-packages/gpg/constants/keylist/*.py usr/lib/python2.7/dist-packages/gpg/constants/keylist
+debian/tmp/usr/lib/python2.7/site-packages/gpg/constants/sig/*.py usr/lib/python2.7/dist-packages/gpg/constants/sig
diff --git a/debian/python-pyme.install b/debian/python-pyme.install
deleted file mode 100644
index 41d4b25..0000000
--- a/debian/python-pyme.install
+++ /dev/null
@@ -1,7 +0,0 @@
-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-gpg.install b/debian/python3-gpg.install
new file mode 100644
index 0000000..a2e5d87
--- /dev/null
+++ b/debian/python3-gpg.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/lib/python3*/site-packages/gpg*.egg-info usr/lib/python3/dist-packages
+debian/tmp/usr/lib/python3*/site-packages/gpg/*.py usr/lib/python3/dist-packages/gpg
+debian/tmp/usr/lib/python3*/site-packages/gpg/_gpgme*.so usr/lib/python3/dist-packages/gpg
+debian/tmp/usr/lib/python3*/site-packages/gpg/constants/*.py usr/lib/python3/dist-packages/gpg/constants
+debian/tmp/usr/lib/python3*/site-packages/gpg/constants/data/*.py usr/lib/python3/dist-packages/gpg/constants/data
+debian/tmp/usr/lib/python3*/site-packages/gpg/constants/keylist/*.py usr/lib/python3/dist-packages/gpg/constants/keylist
+debian/tmp/usr/lib/python3*/site-packages/gpg/constants/sig/*.py usr/lib/python3/dist-packages/gpg/constants/sig
diff --git a/debian/python3-pyme.install b/debian/python3-pyme.install
deleted file mode 100644
index 3886ed4..0000000
--- a/debian/python3-pyme.install
+++ /dev/null
@@ -1,7 +0,0 @@
-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 d0c073b..2d540b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,21 +19,5 @@ override_dh_install:
override_dh_makeshlibs:
dh_makeshlibs -V
-# python-pyme needs an epoch number because previous versions had an
-# epoch. If we ever add an epoch to the source package, remove this
-# stanza.
-override_dh_gencontrol-arch:
- dh_gencontrol
- dpkg-gencontrol -ppython-pyme \
- -v1:$(DEBIAN_VERSION) \
- -Tdebian/python-pyme.substvars \
- -Pdebian/python-pyme \
- -Odebian/python-pyme/DEBIAN/control
- # and add an epoch to the generated dbgsym as well:
- sed -i -e 's/^Version: /Version: 1:/' \
- -e 's/^Depends: python-pyme (= /Depends: python-pyme (= 1:/' \
- -e 's/^Source: gpgme1.0$$/Source: gpgme1.0 ($(DEBIAN_VERSION))/' \
- debian/.debhelper/python-pyme/dbgsym-root/DEBIAN/control
-
override_dh_installdocs:
dh_installdocs -X.md5
--
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