[arch-commits] Commit in pyicqt/repos/community-any (12 files)

Sergej Pupykin spupykin at archlinux.org
Thu Jun 22 11:33:24 UTC 2017


    Date: Thursday, June 22, 2017 @ 11:33:23
  Author: spupykin
Revision: 239536

archrelease: copy trunk to community-any

Added:
  pyicqt/repos/community-any/PKGBUILD
    (from rev 239535, pyicqt/trunk/PKGBUILD)
  pyicqt/repos/community-any/config.xml
    (from rev 239535, pyicqt/trunk/config.xml)
  pyicqt/repos/community-any/ficq.patch
    (from rev 239535, pyicqt/trunk/ficq.patch)
  pyicqt/repos/community-any/pyicqt.service
    (from rev 239535, pyicqt/trunk/pyicqt.service)
  pyicqt/repos/community-any/pyicqt.tmpfiles
    (from rev 239535, pyicqt/trunk/pyicqt.tmpfiles)
  pyicqt/repos/community-any/unicode-error-fix.diff
    (from rev 239535, pyicqt/trunk/unicode-error-fix.diff)
Deleted:
  pyicqt/repos/community-any/PKGBUILD
  pyicqt/repos/community-any/config.xml
  pyicqt/repos/community-any/ficq.patch
  pyicqt/repos/community-any/pyicqt.service
  pyicqt/repos/community-any/pyicqt.tmpfiles
  pyicqt/repos/community-any/unicode-error-fix.diff

------------------------+
 PKGBUILD               |   84 +++++++++++++++++++++++------------------------
 config.xml             |   36 ++++++++++----------
 ficq.patch             |   22 ++++++------
 pyicqt.service         |   22 ++++++------
 pyicqt.tmpfiles        |    2 -
 unicode-error-fix.diff |   28 +++++++--------
 6 files changed, 97 insertions(+), 97 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-22 11:33:06 UTC (rev 239535)
+++ PKGBUILD	2017-06-22 11:33:23 UTC (rev 239536)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=pyicqt
-pkgver=0.8.1.5
-pkgrel=7
-pkgdesc="jabber icq transport"
-arch=(any)
-url="http://code.google.com/p/pyicqt/"
-license=('GPL')
-backup=(etc/ejabberd/pyicq.xml)
-depends=('python2' 'twisted')
-source=(http://pyicqt.googlecode.com/files/pyicqt-$pkgver.tar.gz
-	config.xml
-	pyicqt.service
-	pyicqt.tmpfiles)
-md5sums=('d1c544f82ed416bbe987a5e419820fa8'
-         '150501a11601763ce4ef12eb5649ef2a'
-         'c3cc068a208b176bf088df9dda9650ac'
-         '7a9bec0597576753f87093759cf2a7d8')
-
-package() {
-  cd $srcdir
-
-  # python2 fix
-  for file in $(find . -name '*.py' -print); do
-    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
-    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
-  done
-
-  install -d -m0755 $pkgdir/usr/lib
-  cp -r $pkgname-$pkgver $pkgdir/usr/lib
-  mv $pkgdir/usr/lib/$pkgname-$pkgver $pkgdir/usr/lib/$pkgname
-  install -d -m0755 $pkgdir/var/spool/pyicqt
-  install -D -m0644 ./config.xml $pkgdir/etc/ejabberd/pyicq.xml
-  mv $pkgdir/usr/lib/$pkgname/config_example.xml $pkgdir/etc/ejabberd/pyicq_example.xml
-  ln -s ../../../etc/ejabberd/pyicq.xml $pkgdir/usr/lib/$pkgname/config.xml
-
-  install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-  install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
-}

Copied: pyicqt/repos/community-any/PKGBUILD (from rev 239535, pyicqt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-06-22 11:33:23 UTC (rev 239536)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=pyicqt
+pkgver=0.8.1.5
+pkgrel=8
+pkgdesc="jabber icq transport"
+arch=(any)
+url="http://code.google.com/p/pyicqt/"
+license=('GPL')
+backup=(etc/ejabberd/pyicq.xml)
+depends=('python2' 'python2-twisted')
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pyicqt/pyicqt-$pkgver.tar.gz
+	config.xml
+	pyicqt.service
+	pyicqt.tmpfiles)
+sha256sums=('15ffa7b7d8f2d749492eec3b87bf64f8a429452282ca14e36ba5aee45b5322df'
+            'c0738542542097fe4548164b2561a51276e45a2af19780fef80905c0e8e13f58'
+            'b01423f54bc14c57da040c24825e67c996f7d0622f539c5261299ad35282d21f'
+            '21b979d6ca95c48ce9c053ebc4bf764beaacf565abe6efaeb0e1d8ad52c1ddad')
+
+package() {
+  cd "$srcdir"
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+
+  install -d -m0755 "$pkgdir"/usr/lib
+  cp -r $pkgname-$pkgver "$pkgdir"/usr/lib
+  mv "$pkgdir"/usr/lib/$pkgname-$pkgver "$pkgdir"/usr/lib/$pkgname
+  install -d -m0755 "$pkgdir"/var/spool/pyicqt
+  install -D -m0644 ./config.xml "$pkgdir"/etc/ejabberd/pyicq.xml
+  mv "$pkgdir"/usr/lib/$pkgname/config_example.xml "$pkgdir"/etc/ejabberd/pyicq_example.xml
+  ln -s ../../../etc/ejabberd/pyicq.xml "$pkgdir"/usr/lib/$pkgname/config.xml
+
+  install -Dm0644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
+  install -Dm0644 "$srcdir"/$pkgname.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
+}

Deleted: config.xml
===================================================================
--- config.xml	2017-06-22 11:33:06 UTC (rev 239535)
+++ config.xml	2017-06-22 11:33:23 UTC (rev 239536)
@@ -1,18 +0,0 @@
-<pyicqt>
-	<jid>icq.example.org</jid>
-	<spooldir>/var/spool/pyicqt</spooldir>
-	<pid>/var/run/pyicqt.pid</pid>
-	<mainServer>127.0.0.1</mainServer>
-	<mainServerJID>jabber.localhost</mainServerJID>
-	<website>http://jabber.localhost/</website>
-	<port>5347</port>
-	<secret>secret</secret>
-	<lang>en</lang>
-	<encoding>iso-8859-1</encoding>
-	<icqServer>login.icq.com</icqServer>
-	<icqPort>5190</icqPort>
-	<admins>
-	<!--<jid>admin at host.com</jid>-->
-	</admins>
-	<disableAvatars/>
-</pyicqt>

Copied: pyicqt/repos/community-any/config.xml (from rev 239535, pyicqt/trunk/config.xml)
===================================================================
--- config.xml	                        (rev 0)
+++ config.xml	2017-06-22 11:33:23 UTC (rev 239536)
@@ -0,0 +1,18 @@
+<pyicqt>
+	<jid>icq.example.org</jid>
+	<spooldir>/var/spool/pyicqt</spooldir>
+	<pid>/var/run/pyicqt.pid</pid>
+	<mainServer>127.0.0.1</mainServer>
+	<mainServerJID>jabber.localhost</mainServerJID>
+	<website>http://jabber.localhost/</website>
+	<port>5347</port>
+	<secret>secret</secret>
+	<lang>en</lang>
+	<encoding>iso-8859-1</encoding>
+	<icqServer>login.icq.com</icqServer>
+	<icqPort>5190</icqPort>
+	<admins>
+	<!--<jid>admin at host.com</jid>-->
+	</admins>
+	<disableAvatars/>
+</pyicqt>

Deleted: ficq.patch
===================================================================
--- ficq.patch	2017-06-22 11:33:06 UTC (rev 239535)
+++ ficq.patch	2017-06-22 11:33:23 UTC (rev 239536)
@@ -1,11 +0,0 @@
---- oscar.py.orig       2009-01-06 20:31:38.000000000 +0300
-+++ oscar.py    2009-01-22 19:03:51.000000000 +0300
-@@ -598,7 +598,7 @@
- class OscarConnection(protocol.Protocol):
-     def connectionMade(self):
-         self.state=""
--        self.seqnum=0
-+        self.seqnum=10000
-         self.buf=''
-         self.outRate=6000
-         self.outTime=time.time()

Copied: pyicqt/repos/community-any/ficq.patch (from rev 239535, pyicqt/trunk/ficq.patch)
===================================================================
--- ficq.patch	                        (rev 0)
+++ ficq.patch	2017-06-22 11:33:23 UTC (rev 239536)
@@ -0,0 +1,11 @@
+--- oscar.py.orig       2009-01-06 20:31:38.000000000 +0300
++++ oscar.py    2009-01-22 19:03:51.000000000 +0300
+@@ -598,7 +598,7 @@
+ class OscarConnection(protocol.Protocol):
+     def connectionMade(self):
+         self.state=""
+-        self.seqnum=0
++        self.seqnum=10000
+         self.buf=''
+         self.outRate=6000
+         self.outTime=time.time()

Deleted: pyicqt.service
===================================================================
--- pyicqt.service	2017-06-22 11:33:06 UTC (rev 239535)
+++ pyicqt.service	2017-06-22 11:33:23 UTC (rev 239536)
@@ -1,11 +0,0 @@
-[Unit]
-Description=PyICQt is an ICQ transport for Jabber/XMPP
-
-[Service]
-Type=simple
-PIDFile=/var/run/pyicqt/pyicqt.pid
-ExecStart=/usr/bin/python2 /usr/lib/pyicqt/PyICQt.py
-
-[Install]
-WantedBy=multi-user.target
-StandardOutput=syslog

Copied: pyicqt/repos/community-any/pyicqt.service (from rev 239535, pyicqt/trunk/pyicqt.service)
===================================================================
--- pyicqt.service	                        (rev 0)
+++ pyicqt.service	2017-06-22 11:33:23 UTC (rev 239536)
@@ -0,0 +1,11 @@
+[Unit]
+Description=PyICQt is an ICQ transport for Jabber/XMPP
+
+[Service]
+Type=simple
+PIDFile=/var/run/pyicqt/pyicqt.pid
+ExecStart=/usr/bin/python2 /usr/lib/pyicqt/PyICQt.py
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target

Deleted: pyicqt.tmpfiles
===================================================================
--- pyicqt.tmpfiles	2017-06-22 11:33:06 UTC (rev 239535)
+++ pyicqt.tmpfiles	2017-06-22 11:33:23 UTC (rev 239536)
@@ -1 +0,0 @@
-d /var/run/pyicqt 0755 root root -

Copied: pyicqt/repos/community-any/pyicqt.tmpfiles (from rev 239535, pyicqt/trunk/pyicqt.tmpfiles)
===================================================================
--- pyicqt.tmpfiles	                        (rev 0)
+++ pyicqt.tmpfiles	2017-06-22 11:33:23 UTC (rev 239536)
@@ -0,0 +1 @@
+d /var/run/pyicqt 0755 root root -

Deleted: unicode-error-fix.diff
===================================================================
--- unicode-error-fix.diff	2017-06-22 11:33:06 UTC (rev 239535)
+++ unicode-error-fix.diff	2017-06-22 11:33:23 UTC (rev 239536)
@@ -1,14 +0,0 @@
---- icqt.py.org	2009-01-12 19:55:44.000000000 +0300
-+++ icqt.py	2009-01-23 12:57:41.000000000 +0300
-@@ -321,7 +321,10 @@
- 			self.oscarcon.legacyList.delCustomStatus(user.name, savemask=mask)
- 			
- 		LogEvent(WARN, self.session.jabberID, "Status message: %s" % status)
-+		try:
--		status = status.encode("utf-8", "replace")
-+			status = status.encode("utf-8", "replace")
-+                except UnicodeDecodeError:
-+                        status = "unicode error"
- 		# status = status.encode(config.encoding, "replace")
- 		
- 		if config.xstatusessupport:		

Copied: pyicqt/repos/community-any/unicode-error-fix.diff (from rev 239535, pyicqt/trunk/unicode-error-fix.diff)
===================================================================
--- unicode-error-fix.diff	                        (rev 0)
+++ unicode-error-fix.diff	2017-06-22 11:33:23 UTC (rev 239536)
@@ -0,0 +1,14 @@
+--- icqt.py.org	2009-01-12 19:55:44.000000000 +0300
++++ icqt.py	2009-01-23 12:57:41.000000000 +0300
+@@ -321,7 +321,10 @@
+ 			self.oscarcon.legacyList.delCustomStatus(user.name, savemask=mask)
+ 			
+ 		LogEvent(WARN, self.session.jabberID, "Status message: %s" % status)
++		try:
+-		status = status.encode("utf-8", "replace")
++			status = status.encode("utf-8", "replace")
++                except UnicodeDecodeError:
++                        status = "unicode error"
+ 		# status = status.encode(config.encoding, "replace")
+ 		
+ 		if config.xstatusessupport:		



More information about the arch-commits mailing list