[arch-commits] Commit in ktoblzcheck/repos (6 files)

2017-05-10 Thread Sergej Pupykin
Date: Wednesday, May 10, 2017 @ 13:44:57
  Author: spupykin
Revision: 227709

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ktoblzcheck/repos/community-i686/PKGBUILD
(from rev 227708, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-x86_64/PKGBUILD
(from rev 227708, ktoblzcheck/trunk/PKGBUILD)
Deleted:
  ktoblzcheck/repos/community-i686/PKGBUILD
  ktoblzcheck/repos/community-i686/ktoblzcheck-python3.patch
  ktoblzcheck/repos/community-x86_64/PKGBUILD
  ktoblzcheck/repos/community-x86_64/ktoblzcheck-python3.patch

+
 /PKGBUILD  |   62 +++
 community-i686/PKGBUILD|   29 
 community-i686/ktoblzcheck-python3.patch   |   57 
 community-x86_64/PKGBUILD  |   29 
 community-x86_64/ktoblzcheck-python3.patch |   57 
 5 files changed, 62 insertions(+), 172 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-05-10 13:44:35 UTC (rev 227708)
+++ community-i686/PKGBUILD 2017-05-10 13:44:57 UTC (rev 227709)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Contributor: Philipp Sandhaus 
-
-pkgname=ktoblzcheck
-pkgver=1.48
-pkgrel=4
-pkgdesc="A library to check account numbers and bank codes of German banks"
-arch=(i686 x86_64)
-url="http://ktoblzcheck.sourceforge.net;
-license=("LGPL")
-depends=('gcc-libs' 'python')
-optdepends=('perl')
-source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
-   ktoblzcheck-python3.patch)
-md5sums=('6f56c83a649cbdaf1aad3e04a7b7a8ce'
- 'a81a697bb3aaeffb7fac0ad7d9166e3f')
-
-build() {
-  cd "$srcdir/ktoblzcheck-$pkgver"
-  ./configure --prefix=/usr
-  patch -p1 <"$srcdir"/ktoblzcheck-python3.patch
-  make
-}
-
-package() {
-  cd "$srcdir/ktoblzcheck-$pkgver"
-  make DESTDIR="$pkgdir" install
-}

Copied: ktoblzcheck/repos/community-i686/PKGBUILD (from rev 227708, 
ktoblzcheck/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-05-10 13:44:57 UTC (rev 227709)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Contributor: Philipp Sandhaus 
+
+pkgname=ktoblzcheck
+pkgver=1.49
+pkgrel=1
+pkgdesc="A library to check account numbers and bank codes of German banks"
+arch=(i686 x86_64)
+url="http://ktoblzcheck.sourceforge.net;
+license=("LGPL")
+depends=('gcc-libs' 'python')
+optdepends=('perl')
+source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz)
+sha256sums=('e8971bc6689ea72b174c194bd43ba2c0b65112b0c3f9fd2371562e0c3ab57d29')
+
+prepare() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  sed -i 's|\t||g' src/python/ktoblzcheck.py
+}
+
+build() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Deleted: community-i686/ktoblzcheck-python3.patch
===
--- community-i686/ktoblzcheck-python3.patch2017-05-10 13:44:35 UTC (rev 
227708)
+++ community-i686/ktoblzcheck-python3.patch2017-05-10 13:44:57 UTC (rev 
227709)
@@ -1,57 +0,0 @@
-diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py 
ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
 ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.0 
+
-+++ ktoblzcheck-1.28.my/src/python/ktoblzcheck.py  2010-09-20 
09:08:36.0 +
-@@ -197,35 +197,35 @@
- 
- def test():
- a = AccountNumberCheck()
--print 'Number of Banks:', a.bankCount
--print 'find 20010020:', a.findBank('20010020')
--print 'find 20010033:', a.findBank('20010033')
--print 'check 20070024/9291394:', a.check('20070024','9291394')
--print 'check 20070024/9291394:', a.check('20070024','9291394023')
--print
-+print('Number of Banks:', a.bankCount)
-+print('find 20010020:', a.findBank('20010020'))
-+print('find 20010033:', a.findBank('20010033'))
-+print('check 20070024/9291394:', a.check('20070024','9291394'))
-+print('check 20070024/9291394:', a.check('20070024','9291394023'))
-+print()
- ck = IbanCheck()
- if not kto.IbanCheck_selftest(ck):  # not publicly defined
--  print "Self-Test failed!"
-+print("Self-Test failed!")
-   raise SystemExit
- s = " iban fr14 2004 1010 0505 0001 3m02 606"
--print "test for iban:", s
-+print("test for iban:", s)
- iban = Iban(s)
--print "transmission form:", iban.transmissionForm()
-+print("transmission form:", iban.transmissionForm())
- res = 

[arch-commits] Commit in ktoblzcheck/repos (6 files)

2016-12-24 Thread Evangelos Foutras
Date: Saturday, December 24, 2016 @ 11:11:28
  Author: foutrelis
Revision: 201395

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ktoblzcheck/repos/community-staging-i686/
  ktoblzcheck/repos/community-staging-i686/PKGBUILD
(from rev 201394, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch
(from rev 201394, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
  ktoblzcheck/repos/community-staging-x86_64/
  ktoblzcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 201394, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-x86_64/ktoblzcheck-python3.patch
(from rev 201394, ktoblzcheck/trunk/ktoblzcheck-python3.patch)

+
 community-staging-i686/PKGBUILD|   29 +
 community-staging-i686/ktoblzcheck-python3.patch   |   57 +++
 community-staging-x86_64/PKGBUILD  |   29 +
 community-staging-x86_64/ktoblzcheck-python3.patch |   57 +++
 4 files changed, 172 insertions(+)

Copied: ktoblzcheck/repos/community-staging-i686/PKGBUILD (from rev 201394, 
ktoblzcheck/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-24 11:11:28 UTC (rev 201395)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Contributor: Philipp Sandhaus 
+
+pkgname=ktoblzcheck
+pkgver=1.48
+pkgrel=4
+pkgdesc="A library to check account numbers and bank codes of German banks"
+arch=(i686 x86_64)
+url="http://ktoblzcheck.sourceforge.net;
+license=("LGPL")
+depends=('gcc-libs' 'python')
+optdepends=('perl')
+source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
+   ktoblzcheck-python3.patch)
+md5sums=('6f56c83a649cbdaf1aad3e04a7b7a8ce'
+ 'a81a697bb3aaeffb7fac0ad7d9166e3f')
+
+build() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  ./configure --prefix=/usr
+  patch -p1 <"$srcdir"/ktoblzcheck-python3.patch
+  make
+}
+
+package() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch 
(from rev 201394, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
===
--- community-staging-i686/ktoblzcheck-python3.patch
(rev 0)
+++ community-staging-i686/ktoblzcheck-python3.patch2016-12-24 11:11:28 UTC 
(rev 201395)
@@ -0,0 +1,57 @@
+diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py 
ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
+--- ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.0 
+
 ktoblzcheck-1.28.my/src/python/ktoblzcheck.py  2010-09-20 
09:08:36.0 +
+@@ -197,35 +197,35 @@
+ 
+ def test():
+ a = AccountNumberCheck()
+-print 'Number of Banks:', a.bankCount
+-print 'find 20010020:', a.findBank('20010020')
+-print 'find 20010033:', a.findBank('20010033')
+-print 'check 20070024/9291394:', a.check('20070024','9291394')
+-print 'check 20070024/9291394:', a.check('20070024','9291394023')
+-print
++print('Number of Banks:', a.bankCount)
++print('find 20010020:', a.findBank('20010020'))
++print('find 20010033:', a.findBank('20010033'))
++print('check 20070024/9291394:', a.check('20070024','9291394'))
++print('check 20070024/9291394:', a.check('20070024','9291394023'))
++print()
+ ck = IbanCheck()
+ if not kto.IbanCheck_selftest(ck):  # not publicly defined
+-  print "Self-Test failed!"
++print("Self-Test failed!")
+   raise SystemExit
+ s = " iban fr14 2004 1010 0505 0001 3m02 606"
+-print "test for iban:", s
++print("test for iban:", s)
+ iban = Iban(s)
+-print "transmission form:", iban.transmissionForm()
++print("transmission form:", iban.transmissionForm())
+ res = ck.check(iban)
+-print "check result :", res, "("+IbanCheck.resultText(res)+")"
+-print "printable form   :", iban.printableForm()
+-print
+-print "expect bad checksum:"
++print("check result :", res, "("+IbanCheck.resultText(res)+")")
++print("printable form   :", iban.printableForm())
++print()
++print("expect bad checksum:")
+ s = "FR1420041010050500013X02606"
+ res = ck.check(s)
+-print s + ":", res, "("+IbanCheck.resultText(res)+")"
+-print
++print(s + ":", res, "("+IbanCheck.resultText(res)+")")
++print()
+ s = "IBAN DE66 2007 0024 0929 1394 00"
+-print s
++print(s)
+ s = Iban(s).transmissionForm()
+ start, end = ck.bic_position(s)
+-print "prefix, checksum, BIC, account:"
+-print ', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0')))
++print("prefix, 

[arch-commits] Commit in ktoblzcheck/repos (6 files)

2015-12-05 Thread Evangelos Foutras
Date: Saturday, December 5, 2015 @ 19:26:47
  Author: foutrelis
Revision: 148649

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ktoblzcheck/repos/community-staging-i686/
  ktoblzcheck/repos/community-staging-i686/PKGBUILD
(from rev 148648, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch
(from rev 148648, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
  ktoblzcheck/repos/community-staging-x86_64/
  ktoblzcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 148648, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-x86_64/ktoblzcheck-python3.patch
(from rev 148648, ktoblzcheck/trunk/ktoblzcheck-python3.patch)

+
 community-staging-i686/PKGBUILD|   29 +
 community-staging-i686/ktoblzcheck-python3.patch   |   57 +++
 community-staging-x86_64/PKGBUILD  |   29 +
 community-staging-x86_64/ktoblzcheck-python3.patch |   57 +++
 4 files changed, 172 insertions(+)

Copied: ktoblzcheck/repos/community-staging-i686/PKGBUILD (from rev 148648, 
ktoblzcheck/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-05 18:26:47 UTC (rev 148649)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Contributor: Philipp Sandhaus 
+
+pkgname=ktoblzcheck
+pkgver=1.48
+pkgrel=3
+pkgdesc="A library to check account numbers and bank codes of German banks"
+arch=(i686 x86_64)
+url="http://ktoblzcheck.sourceforge.net;
+license=("LGPL")
+depends=('gcc-libs' 'python')
+optdepends=('perl')
+source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
+   ktoblzcheck-python3.patch)
+md5sums=('6f56c83a649cbdaf1aad3e04a7b7a8ce'
+ 'a81a697bb3aaeffb7fac0ad7d9166e3f')
+
+build() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  ./configure --prefix=/usr
+  patch -p1 <$srcdir/ktoblzcheck-python3.patch
+  make
+}
+
+package() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch 
(from rev 148648, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
===
--- community-staging-i686/ktoblzcheck-python3.patch
(rev 0)
+++ community-staging-i686/ktoblzcheck-python3.patch2015-12-05 18:26:47 UTC 
(rev 148649)
@@ -0,0 +1,57 @@
+diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py 
ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
+--- ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.0 
+
 ktoblzcheck-1.28.my/src/python/ktoblzcheck.py  2010-09-20 
09:08:36.0 +
+@@ -197,35 +197,35 @@
+ 
+ def test():
+ a = AccountNumberCheck()
+-print 'Number of Banks:', a.bankCount
+-print 'find 20010020:', a.findBank('20010020')
+-print 'find 20010033:', a.findBank('20010033')
+-print 'check 20070024/9291394:', a.check('20070024','9291394')
+-print 'check 20070024/9291394:', a.check('20070024','9291394023')
+-print
++print('Number of Banks:', a.bankCount)
++print('find 20010020:', a.findBank('20010020'))
++print('find 20010033:', a.findBank('20010033'))
++print('check 20070024/9291394:', a.check('20070024','9291394'))
++print('check 20070024/9291394:', a.check('20070024','9291394023'))
++print()
+ ck = IbanCheck()
+ if not kto.IbanCheck_selftest(ck):  # not publicly defined
+-  print "Self-Test failed!"
++print("Self-Test failed!")
+   raise SystemExit
+ s = " iban fr14 2004 1010 0505 0001 3m02 606"
+-print "test for iban:", s
++print("test for iban:", s)
+ iban = Iban(s)
+-print "transmission form:", iban.transmissionForm()
++print("transmission form:", iban.transmissionForm())
+ res = ck.check(iban)
+-print "check result :", res, "("+IbanCheck.resultText(res)+")"
+-print "printable form   :", iban.printableForm()
+-print
+-print "expect bad checksum:"
++print("check result :", res, "("+IbanCheck.resultText(res)+")")
++print("printable form   :", iban.printableForm())
++print()
++print("expect bad checksum:")
+ s = "FR1420041010050500013X02606"
+ res = ck.check(s)
+-print s + ":", res, "("+IbanCheck.resultText(res)+")"
+-print
++print(s + ":", res, "("+IbanCheck.resultText(res)+")")
++print()
+ s = "IBAN DE66 2007 0024 0929 1394 00"
+-print s
++print(s)
+ s = Iban(s).transmissionForm()
+ start, end = ck.bic_position(s)
+-print "prefix, checksum, BIC, account:"
+-print ', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0')))
++print("prefix, 

[arch-commits] Commit in ktoblzcheck/repos (6 files)

2015-09-19 Thread Evangelos Foutras
Date: Saturday, September 19, 2015 @ 19:16:17
  Author: foutrelis
Revision: 141040

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ktoblzcheck/repos/community-staging-i686/
  ktoblzcheck/repos/community-staging-i686/PKGBUILD
(from rev 141039, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch
(from rev 141039, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
  ktoblzcheck/repos/community-staging-x86_64/
  ktoblzcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 141039, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-x86_64/ktoblzcheck-python3.patch
(from rev 141039, ktoblzcheck/trunk/ktoblzcheck-python3.patch)

+
 community-staging-i686/PKGBUILD|   29 +
 community-staging-i686/ktoblzcheck-python3.patch   |   57 +++
 community-staging-x86_64/PKGBUILD  |   29 +
 community-staging-x86_64/ktoblzcheck-python3.patch |   57 +++
 4 files changed, 172 insertions(+)

Copied: ktoblzcheck/repos/community-staging-i686/PKGBUILD (from rev 141039, 
ktoblzcheck/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-19 17:16:17 UTC (rev 141040)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Contributor: Philipp Sandhaus 
+
+pkgname=ktoblzcheck
+pkgver=1.48
+pkgrel=2
+pkgdesc="A library to check account numbers and bank codes of German banks"
+arch=(i686 x86_64)
+url="http://ktoblzcheck.sourceforge.net;
+license=("LGPL")
+depends=('gcc-libs' 'python')
+optdepends=('perl')
+source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
+   ktoblzcheck-python3.patch)
+md5sums=('6f56c83a649cbdaf1aad3e04a7b7a8ce'
+ 'a81a697bb3aaeffb7fac0ad7d9166e3f')
+
+build() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  ./configure --prefix=/usr
+  patch -p1 <$srcdir/ktoblzcheck-python3.patch
+  make
+}
+
+package() {
+  cd "$srcdir/ktoblzcheck-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch 
(from rev 141039, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
===
--- community-staging-i686/ktoblzcheck-python3.patch
(rev 0)
+++ community-staging-i686/ktoblzcheck-python3.patch2015-09-19 17:16:17 UTC 
(rev 141040)
@@ -0,0 +1,57 @@
+diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py 
ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
+--- ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.0 
+
 ktoblzcheck-1.28.my/src/python/ktoblzcheck.py  2010-09-20 
09:08:36.0 +
+@@ -197,35 +197,35 @@
+ 
+ def test():
+ a = AccountNumberCheck()
+-print 'Number of Banks:', a.bankCount
+-print 'find 20010020:', a.findBank('20010020')
+-print 'find 20010033:', a.findBank('20010033')
+-print 'check 20070024/9291394:', a.check('20070024','9291394')
+-print 'check 20070024/9291394:', a.check('20070024','9291394023')
+-print
++print('Number of Banks:', a.bankCount)
++print('find 20010020:', a.findBank('20010020'))
++print('find 20010033:', a.findBank('20010033'))
++print('check 20070024/9291394:', a.check('20070024','9291394'))
++print('check 20070024/9291394:', a.check('20070024','9291394023'))
++print()
+ ck = IbanCheck()
+ if not kto.IbanCheck_selftest(ck):  # not publicly defined
+-  print "Self-Test failed!"
++print("Self-Test failed!")
+   raise SystemExit
+ s = " iban fr14 2004 1010 0505 0001 3m02 606"
+-print "test for iban:", s
++print("test for iban:", s)
+ iban = Iban(s)
+-print "transmission form:", iban.transmissionForm()
++print("transmission form:", iban.transmissionForm())
+ res = ck.check(iban)
+-print "check result :", res, "("+IbanCheck.resultText(res)+")"
+-print "printable form   :", iban.printableForm()
+-print
+-print "expect bad checksum:"
++print("check result :", res, "("+IbanCheck.resultText(res)+")")
++print("printable form   :", iban.printableForm())
++print()
++print("expect bad checksum:")
+ s = "FR1420041010050500013X02606"
+ res = ck.check(s)
+-print s + ":", res, "("+IbanCheck.resultText(res)+")"
+-print
++print(s + ":", res, "("+IbanCheck.resultText(res)+")")
++print()
+ s = "IBAN DE66 2007 0024 0929 1394 00"
+-print s
++print(s)
+ s = Iban(s).transmissionForm()
+ start, end = ck.bic_position(s)
+-print "prefix, checksum, BIC, account:"
+-print ', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0')))
++print("prefix, 

[arch-commits] Commit in ktoblzcheck/repos (6 files)

2014-03-17 Thread Sergej Pupykin
Date: Monday, March 17, 2014 @ 11:00:43
  Author: spupykin
Revision: 107396

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ktoblzcheck/repos/community-staging-i686/
  ktoblzcheck/repos/community-staging-i686/PKGBUILD
(from rev 107395, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch
(from rev 107395, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
  ktoblzcheck/repos/community-staging-x86_64/
  ktoblzcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 107395, ktoblzcheck/trunk/PKGBUILD)
  ktoblzcheck/repos/community-staging-x86_64/ktoblzcheck-python3.patch
(from rev 107395, ktoblzcheck/trunk/ktoblzcheck-python3.patch)

+
 community-staging-i686/PKGBUILD|   29 +
 community-staging-i686/ktoblzcheck-python3.patch   |   57 +++
 community-staging-x86_64/PKGBUILD  |   29 +
 community-staging-x86_64/ktoblzcheck-python3.patch |   57 +++
 4 files changed, 172 insertions(+)

Copied: ktoblzcheck/repos/community-staging-i686/PKGBUILD (from rev 107395, 
ktoblzcheck/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-03-17 10:00:43 UTC (rev 107396)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Philipp Sandhaus philipp.sandh...@gmx.de
+
+pkgname=ktoblzcheck
+pkgver=1.43
+pkgrel=2
+pkgdesc=A library to check account numbers and bank codes of German banks
+arch=(i686 x86_64)
+url=http://ktoblzcheck.sourceforge.net;
+license=(LGPL)
+depends=('gcc-libs' 'python')
+optdepends=('perl')
+source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
+   ktoblzcheck-python3.patch)
+md5sums=('1052f9a97bd2f9cbf03e316d289acbe3'
+ 'a81a697bb3aaeffb7fac0ad7d9166e3f')
+
+build() {
+  cd $srcdir/ktoblzcheck-$pkgver
+  ./configure --prefix=/usr
+  patch -p1 $srcdir/ktoblzcheck-python3.patch
+  make
+}
+
+package() {
+  cd $srcdir/ktoblzcheck-$pkgver
+  make DESTDIR=$pkgdir install
+}

Copied: ktoblzcheck/repos/community-staging-i686/ktoblzcheck-python3.patch 
(from rev 107395, ktoblzcheck/trunk/ktoblzcheck-python3.patch)
===
--- community-staging-i686/ktoblzcheck-python3.patch
(rev 0)
+++ community-staging-i686/ktoblzcheck-python3.patch2014-03-17 10:00:43 UTC 
(rev 107396)
@@ -0,0 +1,57 @@
+diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py 
ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
+--- ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.0 
+
 ktoblzcheck-1.28.my/src/python/ktoblzcheck.py  2010-09-20 
09:08:36.0 +
+@@ -197,35 +197,35 @@
+ 
+ def test():
+ a = AccountNumberCheck()
+-print 'Number of Banks:', a.bankCount
+-print 'find 20010020:', a.findBank('20010020')
+-print 'find 20010033:', a.findBank('20010033')
+-print 'check 20070024/9291394:', a.check('20070024','9291394')
+-print 'check 20070024/9291394:', a.check('20070024','9291394023')
+-print
++print('Number of Banks:', a.bankCount)
++print('find 20010020:', a.findBank('20010020'))
++print('find 20010033:', a.findBank('20010033'))
++print('check 20070024/9291394:', a.check('20070024','9291394'))
++print('check 20070024/9291394:', a.check('20070024','9291394023'))
++print()
+ ck = IbanCheck()
+ if not kto.IbanCheck_selftest(ck):  # not publicly defined
+-  print Self-Test failed!
++print(Self-Test failed!)
+   raise SystemExit
+ s =  iban fr14 2004 1010 0505 0001 3m02 606
+-print test for iban:, s
++print(test for iban:, s)
+ iban = Iban(s)
+-print transmission form:, iban.transmissionForm()
++print(transmission form:, iban.transmissionForm())
+ res = ck.check(iban)
+-print check result :, res, (+IbanCheck.resultText(res)+)
+-print printable form   :, iban.printableForm()
+-print
+-print expect bad checksum:
++print(check result :, res, (+IbanCheck.resultText(res)+))
++print(printable form   :, iban.printableForm())
++print()
++print(expect bad checksum:)
+ s = FR1420041010050500013X02606
+ res = ck.check(s)
+-print s + :, res, (+IbanCheck.resultText(res)+)
+-print
++print(s + :, res, (+IbanCheck.resultText(res)+))
++print()
+ s = IBAN DE66 2007 0024 0929 1394 00
+-print s
++print(s)
+ s = Iban(s).transmissionForm()
+ start, end = ck.bic_position(s)
+-print prefix, checksum, BIC, account:
+-print ', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0')))
++print(prefix, checksum, BIC, account:)
++print(', '.join((s[:2], s[2:4], s[start:end],