diff options
Diffstat (limited to 'lang/py3-pyme/debian')
| -rw-r--r-- | lang/py3-pyme/debian/README.Debian | 6 | ||||
| -rw-r--r-- | lang/py3-pyme/debian/changelog | 93 | ||||
| -rw-r--r-- | lang/py3-pyme/debian/control | 34 | ||||
| -rw-r--r-- | lang/py3-pyme/debian/copyright | 25 | ||||
| -rw-r--r-- | lang/py3-pyme/debian/docs | 2 | ||||
| -rw-r--r-- | lang/py3-pyme/debian/examples | 2 | ||||
| -rwxr-xr-x | lang/py3-pyme/debian/rules | 99 | 
7 files changed, 261 insertions, 0 deletions
| diff --git a/lang/py3-pyme/debian/README.Debian b/lang/py3-pyme/debian/README.Debian new file mode 100644 index 00000000..c520ba60 --- /dev/null +++ b/lang/py3-pyme/debian/README.Debian @@ -0,0 +1,6 @@ +Please note: + +The documentation for this package is in python-pyme-doc.  + +When you install that package, you can find the documentation and examples +in /usr/share/doc/python-pyme-doc. diff --git a/lang/py3-pyme/debian/changelog b/lang/py3-pyme/debian/changelog new file mode 100644 index 00000000..7071d793 --- /dev/null +++ b/lang/py3-pyme/debian/changelog @@ -0,0 +1,93 @@ +pyme (0.8.1) unstable; urgency=low + +  * Add issuing gpgme_key_unref() in __del__ method for keys return from +    op_keylist_next() and get_key() calls to avoid memory leak in a long +    living contexts. +  * Add missing (get|set)_engine_info() methods for the Context class and +    set_engine_info() and set_locale() for the core module. +  * Remove support for python2.3 in debian packaging since neither testing +    nor unstable dist contains packages for it now. +  * Update verifydetails.py for the new way structure types are handled; +    add testCMSgetkey.py example for CMS keys. Thanks to Bernhard Reiter. +  * Fix hang on Windows caused by passphrase_cb. + + -- Igor Belyi <[email protected]>  Mon, 24 Nov 2008 01:56:19 -0500 + +pyme (0.8.0) unstable; urgency=low + +  * Make all structure types containing 'next' field to be return as lists. +    This includes when they are return from a function and when they are +    member of another structure. Update all examples to use that updated +    API. +  * Switch to using pycentral for debian packages. +  * Add rules to update PY file location in generated doc files. + + -- Igor Belyi <[email protected]>  Sat, 29 Mar 2008 18:43:27 -0400 + +pyme (0.7.1) unstable; urgency=low + +  * Add rules to build Windows version of the package. +  * Move all constants into pyme.constants package to avoid conflicts with +    Python reserved words. Previous location are preserved for now for +    compatibility purposes. +  * Change name of the internal GPGME wrapper package from 'gpgme' to +    'pygpgme' to avoid conflict with gpgme.dll library on Windows. +  * Fix gpgme.i to work with SWIG version >= 1.3.28 +  * Add core.check_version(None) call to the examples to do the proper +    startup initialization. +  * Add verifydetails.py example provided by Bernhard Reiter. + + -- Igor Belyi <[email protected]>  Sun, 09 Mar 2008 21:35:16 -0400 + +pyme (0.7.0) unstable; urgency=low + +  * Removed workaround in Context.wait() +  * Updated core.wait() to return Context() object instead of GPGME pointer. +  * Made Context.wait() and Context.op_edit() throw exception on failure. +  * Added exception handling for passphrase_cb and edit_cb +  * Allowed using None to unset previous callback and made hook argument +    optional +  * Fixed passphrase_cb to pass previously missing prev_bad argument as well +  * Got rid of "warning: function declaration isn't a prototype" in helpers.h +  * License on PyMe is changed from GPL to LGPL. Examples keep GPL license. +  * Added pygpa.py example to illustrate gpa functionality using python. + + -- Igor Belyi <[email protected]>  Wed, 27 Apr 2005 17:22:11 -0400 + +pyme (0.6.2) unstable; urgency=low + +  * Implemented Context.wait() method more sutable for asynch calls in Python. +  * Implemented Context.op_edit() to support editing operations +  * Fixed string representation of the errors.GPGMEError exception +  * Added a nice example: PyGtkGpgKeys.py (requires Glade2 and PyGTK 2.4). +    No match to gpa, seahorse, or kgpg of course. :) + + -- Igor Belyi <[email protected]>  Sat, 26 Mar 2005 11:42:27 -0500 + +pyme (0.6.1) unstable; urgency=low + +  * Added package building for python2.4 +  * Updated copyright notes to avoid confusion for John's sake. +  * Cleanup deprecated functions and typedefs from gpgme.h before building. + + -- Igor Belyi <[email protected]>  Fri, 18 Mar 2005 20:41:52 -0500 + +pyme (0.6.0) unstable; urgency=low + +  * Added support for libgpgme11 revision of GPGME library. + + -- Igor Belyi <[email protected]>  Sun, 14 Mar 2004 16:37:39 -0500 +	 +pyme (0.5.1) unstable; urgency=low + +  * Added support for read callbacks for data objects, and an  +    example for such to callbacks module. + + -- John Goerzen <[email protected]>  Thu, 21 Nov 2002 08:29:52 -0600 + +pyme (0.5.0) unstable; urgency=low + +  * Initial Release.  Closes: #169807. + + -- John Goerzen <[email protected]>  Tue, 19 Nov 2002 14:32:36 -0600 + diff --git a/lang/py3-pyme/debian/control b/lang/py3-pyme/debian/control new file mode 100644 index 00000000..56885f95 --- /dev/null +++ b/lang/py3-pyme/debian/control @@ -0,0 +1,34 @@ +Source: pyme +Section: python +Priority: optional +Maintainer: Igor Belyi <[email protected]> +Build-Depends: debhelper (>> 4.1.67), python-central, python2.4-dev, python2.5-dev, libgpgme11-dev, swig +XS-Python-Version: 2.4, 2.5 +Standards-Version: 3.5.2 + +Package: python-pyme-doc +Architecture: all +XB-Python-Version: ${python:Versions} +Description: Python interface to the GPGME GnuPG encryption library + This package contains the documentation for Pyme. + +Package: python-pyme +Architecture: any +Provides: ${python:Provides} +Depends: ${python:Depends}, ${shlibs:Depends} +XB-Python-Version: ${python:Versions} +Suggests: python-pyme-doc +Description: Python interface to the GPGME GnuPG encryption library + 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. 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. + diff --git a/lang/py3-pyme/debian/copyright b/lang/py3-pyme/debian/copyright new file mode 100644 index 00000000..5ea64b37 --- /dev/null +++ b/lang/py3-pyme/debian/copyright @@ -0,0 +1,25 @@ +The maintainance of the package was taken over by Igor Belyi +<[email protected]> on Thu, 18 March 2004 <time unknown> +This package was debianized by John Goerzen <[email protected]> on +Tue, 19 Nov 2002 14:32:36 -0600. + +Copyright: + +Copyright (C) 2004 Igor Belyi <[email protected]> +Copyright (C) 2002 John Goerzen <[email protected]> + +   This library is free software; you can redistribute it and/or +   modify it under the terms of the GNU Lesser General Public +   License as published by the Free Software Foundation; either +   version 2.1 of the License, or (at your option) any later version. + +   This library is distributed in the hope that it will be useful, +   but WITHOUT ANY WARRANTY; without even the implied warranty of +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU +   Lesser General Public License for more details. + +   You should have received a copy of the GNU Lesser General Public +   License along with this library; if not, write to the Free Software +   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA + +Debian users may find the GPL in /usr/share/common-licenses/LGPL-2.1 diff --git a/lang/py3-pyme/debian/docs b/lang/py3-pyme/debian/docs new file mode 100644 index 00000000..9f2374e2 --- /dev/null +++ b/lang/py3-pyme/debian/docs @@ -0,0 +1,2 @@ +debian/README.Debian +doc diff --git a/lang/py3-pyme/debian/examples b/lang/py3-pyme/debian/examples new file mode 100644 index 00000000..636d9288 --- /dev/null +++ b/lang/py3-pyme/debian/examples @@ -0,0 +1,2 @@ +examples/*.py +examples/*.glade diff --git a/lang/py3-pyme/debian/rules b/lang/py3-pyme/debian/rules new file mode 100755 index 00000000..0e886ee9 --- /dev/null +++ b/lang/py3-pyme/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +	CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +	INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: +	dh_testdir +	# Add here commands to configure the package. + +	touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp  +	dh_testdir + +	# Add here commands to compile the package. +	$(MAKE) swig +	python2.4 setup.py build -b `pwd`/build +	python2.5 setup.py build -b `pwd`/build +	$(MAKE) PYSRCURL=file:/usr/share/pyshared/\\1 docs +	touch build-stamp + +clean: +	dh_testdir +	dh_testroot +	rm -f build-stamp configure-stamp + +	# Add here commands to clean up after the build process. +	-$(MAKE) reallyclean + +	dh_clean + +install: build +	dh_testdir +	dh_testroot +	dh_clean -k +	dh_installdirs + +	# Add here commands to install the package into debian/pyme. +	python2.4 setup.py install --root=`pwd`/debian/python-pyme +	python2.5 setup.py install --root=`pwd`/debian/python-pyme + + +# Build architecture-independent files here. +binary-indep: build install +	dh_testdir +	dh_testroot +	dh_installdocs -i -XCVS +	dh_installexamples -i -XCVS +	dh_installmenu -i +	dh_installchangelogs -i +	dh_link -i +	dh_strip -i +	dh_compress -i +	dh_fixperms -i +	dh_pycentral -i +	dh_installdeb -i +	dh_shlibdeps -i +	dh_gencontrol -i +	dh_md5sums -i +	dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install +	dh_testdir +	dh_testroot +	dh_installdocs -a -XCVS +	dh_installexamples -a -XCVS +	dh_installmenu -a +	dh_installchangelogs -a +	dh_link -a +	dh_strip -a +	dh_compress -a +	dh_fixperms -a +	dh_pycentral -a +	dh_installdeb -a +	dh_shlibdeps -a +	dh_gencontrol -a +	dh_md5sums -a +	dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure | 
