[Lunar-commits] <moonbase> pyicq-t: Renaming to pyicqt along with a version bump to 0.8.1.5. The
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Mon Oct 10 13:36:13 CEST 2011
commit 5177fd8d50e7bf5541a262802a09f3dffd235659
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Mon Oct 10 07:36:13 2011 -0400
pyicq-t: Renaming to pyicqt along with a version bump to 0.8.1.5. The
source and web site urls also changed.
---
chat/pyicq-t/BUILD | 32 --------------------------------
chat/pyicq-t/DEPENDS | 4 ----
chat/pyicq-t/DETAILS | 13 -------------
chat/pyicq-t/init.d/pyicqt | 20 --------------------
chat/pyicqt/BUILD | 32 ++++++++++++++++++++++++++++++++
chat/pyicqt/DEPENDS | 4 ++++
chat/pyicqt/DETAILS | 12 ++++++++++++
chat/pyicqt/init.d/pyicqt | 20 ++++++++++++++++++++
8 files changed, 68 insertions(+), 69 deletions(-)
diff --git a/chat/pyicq-t/BUILD b/chat/pyicq-t/BUILD
deleted file mode 100644
index e4f69d1..0000000
--- a/chat/pyicq-t/BUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-(
- python_major=`installed_version Python | cut -d. -f1-2`
- python_dir="/usr/lib/python${python_major}/site-packages/pyicq-t"
-
- # Change pid location
- sedit 's;PyICQt.pid;/var/run/pyicqt.pid;' config_example.xml &&
-
- prepare_install &&
-
- if [ ! -d $python_dir ]; then
- mkdir -p $python_dir
- fi &&
- if [ ! -d /etc/jabber ]; then
- mkdir /etc/jabber
- fi &&
- if [ ! -f /etc/jabber/pyicqt.xml ]; then
- install -m600 config_example.xml /etc/jabber/pyicqt.xml
- fi &&
- cp -r {src,data,tools} ${python_dir} &&
- install -m755 PyICQt.py ${python_dir}/pyicqt.py &&
-
- # A bit hackish to byte compile everything
-cat <<EOF>> /tmp/$$-compileall.py
-import compileall
-import re
-compileall.compile_dir('$python_dir', rx=re.compile('/[.]svn'), force=True)
-EOF
-
- python /tmp/$$-compileall.py &&
- rm -f /tmp/$$-compileall.py
-
-) > $C_FIFO 2>&1
diff --git a/chat/pyicq-t/DEPENDS b/chat/pyicq-t/DEPENDS
deleted file mode 100644
index ee6705c..0000000
--- a/chat/pyicq-t/DEPENDS
+++ /dev/null
@@ -1,4 +0,0 @@
-depends Twisted
-depends pyopenssl
-
-optional_depends "pil" "" "" "for avatar support"
diff --git a/chat/pyicq-t/DETAILS b/chat/pyicq-t/DETAILS
deleted file mode 100644
index 329828e..0000000
--- a/chat/pyicq-t/DETAILS
+++ /dev/null
@@ -1,13 +0,0 @@
- MODULE=pyicq-t
- VERSION=0.8a
- SOURCE=${MODULE}-${VERSION}.tar.gz
- SOURCE_URL=http://www.blathersource.org/download.php/pyicq-t/
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
- SOURCE_VFY=sha1:098fda4c8afaeb71c3ef110bb5a9aca017025b00
- WEB_SITE="http://pyicq-t.blathersource.org/"
- ENTERED=20071003
- UPDATED=20071003
- SHORT="ICQ transport for jabber servers"
-cat <<EOF
-ICQ transport for jabber servers
-EOF
diff --git a/chat/pyicq-t/init.d/pyicqt b/chat/pyicq-t/init.d/pyicqt
deleted file mode 100755
index d972d43..0000000
--- a/chat/pyicq-t/init.d/pyicqt
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# Startup script for ICQ jabber transport
-#
-# chkconfig: 345 90 10
-# description: ICQ jabber transport
-# config: /etc/jabber/pyicqt.xml
-
-
-start ()
-{
- python /usr/lib/python2.5/site-packages/pyicq-t/pyicqt.py -c /etc/jabber/pyicqt.xml -b
-}
-
-stop ()
-{
- kill `cat /var/run/pyicqt.pid`
-}
-
-. /lib/lsb/init-functions
diff --git a/chat/pyicqt/BUILD b/chat/pyicqt/BUILD
new file mode 100644
index 0000000..e4f69d1
--- /dev/null
+++ b/chat/pyicqt/BUILD
@@ -0,0 +1,32 @@
+(
+ python_major=`installed_version Python | cut -d. -f1-2`
+ python_dir="/usr/lib/python${python_major}/site-packages/pyicq-t"
+
+ # Change pid location
+ sedit 's;PyICQt.pid;/var/run/pyicqt.pid;' config_example.xml &&
+
+ prepare_install &&
+
+ if [ ! -d $python_dir ]; then
+ mkdir -p $python_dir
+ fi &&
+ if [ ! -d /etc/jabber ]; then
+ mkdir /etc/jabber
+ fi &&
+ if [ ! -f /etc/jabber/pyicqt.xml ]; then
+ install -m600 config_example.xml /etc/jabber/pyicqt.xml
+ fi &&
+ cp -r {src,data,tools} ${python_dir} &&
+ install -m755 PyICQt.py ${python_dir}/pyicqt.py &&
+
+ # A bit hackish to byte compile everything
+cat <<EOF>> /tmp/$$-compileall.py
+import compileall
+import re
+compileall.compile_dir('$python_dir', rx=re.compile('/[.]svn'), force=True)
+EOF
+
+ python /tmp/$$-compileall.py &&
+ rm -f /tmp/$$-compileall.py
+
+) > $C_FIFO 2>&1
diff --git a/chat/pyicqt/DEPENDS b/chat/pyicqt/DEPENDS
new file mode 100644
index 0000000..ee6705c
--- /dev/null
+++ b/chat/pyicqt/DEPENDS
@@ -0,0 +1,4 @@
+depends Twisted
+depends pyopenssl
+
+optional_depends "pil" "" "" "for avatar support"
diff --git a/chat/pyicqt/DETAILS b/chat/pyicqt/DETAILS
new file mode 100644
index 0000000..b9f5a16
--- /dev/null
+++ b/chat/pyicqt/DETAILS
@@ -0,0 +1,12 @@
+ MODULE=pyicqt
+ VERSION=0.8.1.5
+ SOURCE=${MODULE}-${VERSION}.tar.gz
+ SOURCE_URL=http://pyicqt.googlecode.com/files/
+ SOURCE_VFY=sha1:47606a4f84f6237c391a1c07139f8715913ea2ea
+ WEB_SITE=http://code.google.com/p/pyicqt/
+ ENTERED=20071003
+ UPDATED=20111010
+ SHORT="ICQ transport for jabber servers"
+cat << EOF
+ICQ transport for jabber servers
+EOF
diff --git a/chat/pyicqt/init.d/pyicqt b/chat/pyicqt/init.d/pyicqt
new file mode 100755
index 0000000..d972d43
--- /dev/null
+++ b/chat/pyicqt/init.d/pyicqt
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# Startup script for ICQ jabber transport
+#
+# chkconfig: 345 90 10
+# description: ICQ jabber transport
+# config: /etc/jabber/pyicqt.xml
+
+
+start ()
+{
+ python /usr/lib/python2.5/site-packages/pyicq-t/pyicqt.py -c /etc/jabber/pyicqt.xml -b
+}
+
+stop ()
+{
+ kill `cat /var/run/pyicqt.pid`
+}
+
+. /lib/lsb/init-functions
More information about the Lunar-commits
mailing list