Hello community,
here is the log from the commit of package python-pyasn1 for openSUSE:Factory checked in at 2012-05-03 11:00:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyasn1 (Old)
and /work/SRC/openSUSE:Factory/.python-pyasn1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyasn1", Maintainer is "CThiel@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyasn1/python-pyasn1.changes 2012-03-24 20:10:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyasn1.new/python-pyasn1.changes 2012-05-03 11:00:08.000000000 +0200
@@ -1,0 +2,20 @@
+Wed Apr 25 20:11:18 UTC 2012 - michael@stroeder.com
+
+- updated to upstrean release 0.1.3
+
+From upstream CHANGES:
+- Include class name into asn1 value constraint violation exception.
+- Fix to OctetString.prettyOut() method that looses leading zero when
+ building hex string.
+
+-------------------------------------------------------------------
+Wed Apr 18 07:46:46 UTC 2012 - saschpe@suse.de
+
+- Fix obsoletes for python-asn1 instead
+
+-------------------------------------------------------------------
+Tue Apr 17 15:12:23 UTC 2012 - dmueller@suse.com
+
+- remove self-obsoletes
+
+-------------------------------------------------------------------
Old:
----
pyasn1-0.1.2.tar.gz
New:
----
pyasn1-0.1.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyasn1.spec ++++++
--- /var/tmp/diff_new_pack.Yj5Gi7/_old 2012-05-03 11:00:09.000000000 +0200
+++ /var/tmp/diff_new_pack.Yj5Gi7/_new 2012-05-03 11:00:09.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pyasn1
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,24 @@
#
-
Name: python-pyasn1
-Version: 0.1.2
-Release: 1
-Url: http://pyasn1.sf.net/
+Version: 0.1.3
+Release: 0
Summary: ASN.1 types and codecs
License: BSD-3-Clause
Group: Development/Languages/Python
+Url: http://pyasn1.sf.net/
Source: http://pypi.python.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+Provides: python-asn1 = %{version}
+Obsoletes: python-asn1 < 0.1.2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
BuildArch: noarch
%endif
-%endif
-Provides: python-pyasn1 = %{version}
-Obsoletes: python-pyasn1 < %{version}
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
This is an implementation of ASN.1 types and codecs in Python programming
@@ -48,15 +45,11 @@
%setup -q -n pyasn1-%{version}
%build
-export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README THANKS TODO doc
++++++ pyasn1-0.1.2.tar.gz -> pyasn1-0.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/CHANGES new/pyasn1-0.1.3/CHANGES
--- old/pyasn1-0.1.2/CHANGES 2011-11-21 11:00:30.000000000 +0100
+++ new/pyasn1-0.1.3/CHANGES 2012-04-20 20:57:59.000000000 +0200
@@ -1,3 +1,10 @@
+Revision 0.1.3
+--------------
+
+- Include class name into asn1 value constraint violation exception.
+- Fix to OctetString.prettyOut() method that looses leading zero when
+ building hex string.
+
Revision 0.1.2
--------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/LICENSE new/pyasn1-0.1.3/LICENSE
--- old/pyasn1-0.1.2/LICENSE 2011-01-23 20:17:36.000000000 +0100
+++ new/pyasn1-0.1.3/LICENSE 2012-02-23 10:50:47.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2005-2011 Ilya Etingof , all rights reserved.
+Copyright (c) 2005-2012 Ilya Etingof , all rights reserved.
THIS SOFTWARE IS NOT FAULT TOLERANT AND SHOULD NOT BE USED IN ANY SITUATION
ENDANGERING HUMAN LIFE OR PROPERTY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/PKG-INFO new/pyasn1-0.1.3/PKG-INFO
--- old/pyasn1-0.1.2/PKG-INFO 2011-12-07 17:04:52.000000000 +0100
+++ new/pyasn1-0.1.3/PKG-INFO 2012-04-21 12:16:50.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: pyasn1
-Version: 0.1.2
+Version: 0.1.3
Summary: ASN.1 types and codecs
Home-page: http://sourceforge.net/projects/pyasn1/
Author: Ilya Etingof
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/README new/pyasn1-0.1.3/README
--- old/pyasn1-0.1.2/README 2011-10-02 19:38:28.000000000 +0200
+++ new/pyasn1-0.1.3/README 2012-04-20 22:31:08.000000000 +0200
@@ -12,7 +12,7 @@
* Generic implementation of ASN.1 types (X.208)
* Fully standard compliant BER/CER/DER codecs
-* 100% Python, works with Python 2.4 up to Python 3.2
+* 100% Python, works with Python 2.4 up to Python 3.3 (alpha 2)
* MT-safe
MISFEATURES
@@ -31,11 +31,11 @@
or
-$ tar zxf pyasn1-0.0.14.tar.gz
-$ cd pyasn1-0.0.14
+$ tar zxf pyasn1-0.1.3.tar.gz
+$ cd pyasn1-0.1.3
$ python setup.py install
$ cd test
-$ python suite.py # to make sure everything works alright
+$ python suite.py # run unit tests
OPERATION
---------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/TODO new/pyasn1-0.1.3/TODO
--- old/pyasn1-0.1.2/TODO 2008-05-24 20:05:27.000000000 +0200
+++ new/pyasn1-0.1.3/TODO 2012-04-12 20:56:12.000000000 +0200
@@ -1,17 +1,12 @@
-* Implement the rest of ASN.1 types (Real etc)
* Specialize ASN.1 character and useful types
* Come up with simpler API for deeply nested constructed objects
addressing
-* Re-work type<->codec mapping. Tags appears ambiguous. Some unique
- internal ID is needed therefore.
-* Implement ANY type as an OctetString-based substrate eater
ber.decoder:
* suspend codec on underrun error ?
* class-static components map (in simple type classes)
* present subtypes ?
* component presence check wont work at innertypeconst
-* optimize en/decoders
* add the rest of ASN1 types/codecs
* type vs value, defaultValue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/pyasn1/type/base.py new/pyasn1-0.1.3/pyasn1/type/base.py
--- old/pyasn1-0.1.2/pyasn1/type/base.py 2011-11-08 16:29:58.000000000 +0100
+++ new/pyasn1-0.1.3/pyasn1/type/base.py 2012-03-21 19:30:42.000000000 +0100
@@ -26,7 +26,11 @@
self._subtypeSpec = subtypeSpec
def _verifySubtypeSpec(self, value, idx=None):
- self._subtypeSpec(value, idx)
+ try:
+ self._subtypeSpec(value, idx)
+ except error.PyAsn1Error:
+ c, i, t = sys.exc_info()
+ raise c('%s at %s' % (i, self.__class__.__name__))
def getSubtypeSpec(self): return self._subtypeSpec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/pyasn1/type/univ.py new/pyasn1-0.1.3/pyasn1/type/univ.py
--- old/pyasn1-0.1.2/pyasn1/type/univ.py 2011-12-07 15:26:37.000000000 +0100
+++ new/pyasn1-0.1.3/pyasn1/type/univ.py 2012-04-20 20:56:30.000000000 +0200
@@ -368,7 +368,7 @@
else:
numbers = tuple(value)
if [ x for x in numbers if x < 32 or x > 126 ]:
- return '0x' + ''.join([ '%x' % x for x in numbers ])
+ return '0x' + ''.join([ '%.2x' % x for x in numbers ])
else:
return str(value)
@@ -376,7 +376,7 @@
if self._value is base.noValue:
return self.__class__.__name__ + '()'
if [ x for x in self.asNumbers() if x < 32 or x > 126 ]:
- return self.__class__.__name__ + '(hexValue=\'' + ''.join([ '%x' % x for x in self.asNumbers() ])+'\')'
+ return self.__class__.__name__ + '(hexValue=\'' + ''.join([ '%.2x' % x for x in self.asNumbers() ])+'\')'
else:
return self.__class__.__name__ + '(\'' + self.prettyOut(self._value) + '\')'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/pyasn1.egg-info/PKG-INFO new/pyasn1-0.1.3/pyasn1.egg-info/PKG-INFO
--- old/pyasn1-0.1.2/pyasn1.egg-info/PKG-INFO 2011-12-07 17:04:52.000000000 +0100
+++ new/pyasn1-0.1.3/pyasn1.egg-info/PKG-INFO 2012-04-21 12:16:50.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: pyasn1
-Version: 0.1.2
+Version: 0.1.3
Summary: ASN.1 types and codecs
Home-page: http://sourceforge.net/projects/pyasn1/
Author: Ilya Etingof
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.1.2/setup.py new/pyasn1-0.1.3/setup.py
--- old/pyasn1-0.1.2/setup.py 2011-12-07 15:27:05.000000000 +0100
+++ new/pyasn1-0.1.3/setup.py 2012-04-21 12:15:21.000000000 +0200
@@ -25,7 +25,7 @@
params.update( {
'name': 'pyasn1',
- 'version': '0.1.2',
+ 'version': '0.1.3',
'description': 'ASN.1 types and codecs',
'author': 'Ilya Etingof',
'author_email': 'ilya@glas.net',
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org