[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/files/, net-im/pyicq-t/

2020-04-27 Thread Mikle Kolyada
commit: cf56e109e4477c289174d6ec4c534399923aab2a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Apr 27 07:59:31 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Apr 27 08:01:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf56e109

net-im/pyicq-t:remove last-rited pkg

Closes: https://bugs.gentoo.org/714626

Signed-off-by: Mikle Kolyada  gentoo.org>

 net-im/pyicq-t/Manifest|   1 -
 net-im/pyicq-t/files/pyicq-t-0.8-initd-r1  |  23 
 .../files/pyicq-t-0.8.1.5-pillow-imaging.patch |  36 ---
 .../files/pyicq-t-0.8.1.5-python26-warnings.diff   | 118 -
 net-im/pyicq-t/files/pyicq-t.service   |  10 --
 net-im/pyicq-t/metadata.xml|  13 ---
 net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild   |  58 --
 7 files changed, 259 deletions(-)

diff --git a/net-im/pyicq-t/Manifest b/net-im/pyicq-t/Manifest
deleted file mode 100644
index 9ad6a5a789b..000
--- a/net-im/pyicq-t/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pyicqt-0.8.1.5.tar.gz 183865 BLAKE2B 
5f0cce6fd9d27cf60f6234870644c95e016bc979a167d48a331df47cb25eefca96ed0082d336c931a6af5f25babaa7fdffc0cafdb0374463c066d5c185b02059
 SHA512 
5b83adf86746c2af60bed2759c7d4e3a3839bea532e0882a6dc087aee5e0afa1320c6d2d2296a667ec45c5b36be879034f079fd30cef924e8db5f66a2f1d3fde

diff --git a/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1 
b/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1
deleted file mode 100644
index eda03d55077..000
--- a/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-   need net
-   use jabber-server
-}
-
-start() {
-   ebegin "Starting ICQ Jabber Transport"
-   checkpath -q -d -m 0755 -o jabber:jabber /var/run/jabber/
-   start-stop-daemon --start --pidfile /var/run/jabber/pyicq-t.pid -u 
jabber -g jabber \
-   --exec INSPATH/pyicq-t.py -- \
-   -b -c /etc/jabber/pyicq-t.xml -l /var/log/jabber/pyicq-t.log
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping ICQ Jabber Transport"
-   start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pyicq-t.pid
-   eend $?
-}

diff --git a/net-im/pyicq-t/files/pyicq-t-0.8.1.5-pillow-imaging.patch 
b/net-im/pyicq-t/files/pyicq-t-0.8.1.5-pillow-imaging.patch
deleted file mode 100644
index 62df75873c0..000
--- a/net-im/pyicq-t/files/pyicq-t-0.8.1.5-pillow-imaging.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur pyicqt-0.8.1.5/src/contact.py pyicqt-0.8.1.5-1/src/contact.py
 pyicqt-0.8.1.5/src/contact.py  2009-08-24 14:37:59.0 +0200
-+++ pyicqt-0.8.1.5-1/src/contact.py2013-09-11 22:19:01.320467367 +0200
-@@ -13,7 +13,7 @@
- import globals
- import base64
- if not config.disableAvatars:
--  import Image
-+  import PIL.Image as Image
- import StringIO
- 
- 
-diff -Naur pyicqt-0.8.1.5/src/imgmanip.py pyicqt-0.8.1.5-1/src/imgmanip.py
 pyicqt-0.8.1.5/src/imgmanip.py 2009-08-24 14:37:59.0 +0200
-+++ pyicqt-0.8.1.5-1/src/imgmanip.py   2013-09-11 22:19:25.257168117 +0200
-@@ -5,7 +5,7 @@
- 
- if not config.disableAvatars:
-   try:
--  import Image
-+  import PIL.Image as Image
-   import StringIO
- 
-   def convertToPNG(imageData):
-diff -Naur pyicqt-0.8.1.5/tools/infodump.py pyicqt-0.8.1.5-1/tools/infodump.py
 pyicqt-0.8.1.5/tools/infodump.py   2009-08-24 14:37:59.0 +0200
-+++ pyicqt-0.8.1.5-1/tools/infodump.py 2013-09-11 22:18:34.084807860 +0200
-@@ -41,7 +41,7 @@
-   print "Nevow Version: Unknown or Not Installed"
- 
- try:
--  from Image import VERSION
-+  from PIL.Image import VERSION
-   print "Python Imaging Library (PIL) Version: " + VERSION
- except:
-   print "Python Imaging Library (PIL) Version: Unknown or Not Installed"

diff --git a/net-im/pyicq-t/files/pyicq-t-0.8.1.5-python26-warnings.diff 
b/net-im/pyicq-t/files/pyicq-t-0.8.1.5-python26-warnings.diff
deleted file mode 100644
index fd8e9e5ab8f..000
--- a/net-im/pyicq-t/files/pyicq-t-0.8.1.5-python26-warnings.diff
+++ /dev/null
@@ -1,118 +0,0 @@
-diff -Naur pyicqt-0.8.1.5/src/avatar.py p1//src/avatar.py
 pyicqt-0.8.1.5/src/avatar.py   2010-06-07 12:16:36.0 +0200
-+++ p1//src/avatar.py  2010-06-07 12:16:16.0 +0200
-@@ -6,7 +6,7 @@
- from twisted.words.xish.domish import Element
- from debug import LogEvent, INFO, WARN, ERROR
- import lang
--import sha
-+from hashlib import sha1
- import base64
- import os
- import os.path
-@@ -46,7 +46,7 @@
- class Avatar:
-   """ Represents an Avatar. Does not store the image in memory. """
-   def __init__(self, imageData, avatarCache):
--  self.__imageHash = sha.sha(imageData).hexdigest()
-+  self.__imageHash = sha1(imageData).hexdigest()
-

[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2020-03-26 Thread Michał Górny
commit: 90b85d9692f96c66d0fecbbc55bb49852f2bc7b5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 26 17:29:33 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 26 17:35:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b85d96

net-im/pyicq-t: Flatten twisted dep

Signed-off-by: Michał Górny  gentoo.org>

 net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild
index 12ace01e92d..4fee72e7547 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r7.ebuild
@@ -23,14 +23,7 @@ DEPEND="${PYTHON_DEPS}
net-im/jabber-base"
 RDEPEND="${DEPEND}
$(python_gen_cond_dep '
-   || (
-   (
-   dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
-   dev-python/twisted-words[${PYTHON_MULTI_USEDEP}]
-   dev-python/twisted-web[${PYTHON_MULTI_USEDEP}]
-   )
-   dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-   )
+   dev-python/twisted[${PYTHON_MULTI_USEDEP}]
webinterface? ( 
>=dev-python/nevow-0.4.1[${PYTHON_MULTI_USEDEP}] )
dev-python/pillow[${PYTHON_MULTI_USEDEP}]
')"



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2019-08-31 Thread Michał Górny
commit: 58405d7ee3d4124274f01068f2afeb5b9511ea20
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 31 06:55:59 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 31 07:02:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58405d7e

net-im/pyicq-t: Fix DoublePrefixInPath

Signed-off-by: Michał Górny  gentoo.org>

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index bbfe7914fe4..ec0c387fbfa 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -48,7 +48,7 @@ src_install() {
newins config_example.xml ${PN}.xml
fperms 600 /etc/jabber/${PN}.xml
fowners jabber:jabber /etc/jabber/${PN}.xml
-   fperms 755 "$(python_get_sitedir)/${PN}/${PN}.py"
+   chmod 755 "${D}$(python_get_sitedir)/${PN}/${PN}.py" || die
sed -i \
-e 
"s:[^\<]*:/var/spool/jabber:" \
-e "s:[^\<]*:/var/run/jabber/${PN}.pid:" \



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2019-07-30 Thread Michał Górny
commit: 471e2461f39bfc21a215cccf5939f61f7c36d9fd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 30 08:44:38 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 30 08:44:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=471e2461

net-im/pyicq-t: Fix double EPREFIX

Signed-off-by: Michał Górny  gentoo.org>

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index d9e5fd57fdf..bbfe7914fe4 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -57,7 +57,7 @@ src_install() {
newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
systemd_dounit "${FILESDIR}/${PN}.service"
sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
-   "${ED}/etc/init.d/${PN}" 
"${ED}/$(systemd_get_systemunitdir)/${PN}.service" || die
+   "${ED}/etc/init.d/${PN}" 
"${D%/}/$(systemd_get_systemunitdir)/${PN}.service" || die
 
python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
 }



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2018-07-01 Thread Pacho Ramos
commit: c17952ae630beb5f559fd3bd3dd36c67dabfda02
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 08:23:28 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 08:24:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17952ae

net-im/pyicq-t: Fix .service path (#626896)

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index 39f7edef308..d9e5fd57fdf 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -57,7 +57,7 @@ src_install() {
newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
systemd_dounit "${FILESDIR}/${PN}.service"
sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
-   "${ED}/etc/init.d/${PN}" 
"${ED}/usr/lib/systemd/system/${PN}.service" || die
+   "${ED}/etc/init.d/${PN}" 
"${ED}/$(systemd_get_systemunitdir)/${PN}.service" || die
 
python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
 }



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2017-04-23 Thread David Seifert
commit: 774967a9aca3f7d7fb69f9894459383d2d7d2d0b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 23 19:58:43 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 23 20:58:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774967a9

net-im/pyicq-t: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 32 
 1 file changed, 20 insertions(+), 12 deletions(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index cfc57b7105e..39f7edef308 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -1,35 +1,43 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=6
+
 PYTHON_COMPAT=( python2_7 )
+
 inherit eutils python-single-r1 systemd
 
 MY_P="${P/pyicq-t/pyicqt}"
+
 DESCRIPTION="Python based jabber transport for ICQ"
 HOMEPAGE="https://code.google.com/p/pyicqt/";
 SRC_URI="https://pyicqt.googlecode.com/files/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="webinterface"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-DEPEND="net-im/jabber-base"
+DEPEND="${PYTHON_DEPS}
+   net-im/jabber-base"
 RDEPEND="${DEPEND}
-   ( || ( ( dev-python/twisted-core[${PYTHON_USEDEP}]
+   || (
+   (
+   dev-python/twisted-core[${PYTHON_USEDEP}]
dev-python/twisted-words[${PYTHON_USEDEP}]
-   dev-python/twisted-web[${PYTHON_USEDEP}] )
-   dev-python/twisted[${PYTHON_USEDEP}] ) )
+   dev-python/twisted-web[${PYTHON_USEDEP}]
+   )
+   dev-python/twisted[${PYTHON_USEDEP}]
+   )
webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
dev-python/pillow[${PYTHON_USEDEP}]"
 
-src_prepare() {
-   eapply "${FILESDIR}/${P}-python26-warnings.diff"
-   eapply "${FILESDIR}/${P}-pillow-imaging.patch"
-   eapply_user
-}
+S="${WORKDIR}/${MY_P}"
+PATCHES=(
+   "${FILESDIR}/${P}-python26-warnings.diff"
+   "${FILESDIR}/${P}-pillow-imaging.patch"
+)
 
 src_install() {
python_moduleinto ${PN}



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2016-12-24 Thread Tobias Klausmann
commit: a168666a5aedea196140923ecdce1e3a00a736de
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Dec 24 11:04:36 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Dec 24 11:05:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a168666a

net-im/pyicq-t: Move fixed -r6 to stable and remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/pyicq-t/pyicq-t-0.8.1.5-r4.ebuild | 54 ---
 net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild | 55 
 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild |  2 +-
 3 files changed, 1 insertion(+), 110 deletions(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r4.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r4.ebuild
deleted file mode 100644
index d5fd407..
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r4.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-single-r1 systemd
-
-MY_P="${P/pyicq-t/pyicqt}"
-DESCRIPTION="Python based jabber transport for ICQ"
-HOMEPAGE="https://code.google.com/p/pyicqt/";
-SRC_URI="https://pyicqt.googlecode.com/files/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="webinterface"
-
-DEPEND="net-im/jabber-base"
-RDEPEND="${DEPEND}
-   dev-python/twisted-core[${PYTHON_USEDEP}]
-   dev-python/twisted-words[${PYTHON_USEDEP}]
-   dev-python/twisted-web[${PYTHON_USEDEP}]
-   webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
-   dev-python/pillow[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}-python26-warnings.diff"
-   epatch "${FILESDIR}/${P}-pillow-imaging.patch"
-}
-
-src_install() {
-   python_moduleinto ${PN}
-   cp PyICQt.py ${PN}.py || die
-   python_domodule ${PN}.py data tools src
-
-   insinto /etc/jabber
-   newins config_example.xml ${PN}.xml
-   fperms 600 /etc/jabber/${PN}.xml
-   fowners jabber:jabber /etc/jabber/${PN}.xml
-   fperms 755 "$(python_get_sitedir)/${PN}/${PN}.py"
-   sed -i \
-   -e 
"s:[^\<]*:/var/spool/jabber:" \
-   -e "s:[^\<]*:/var/run/jabber/${PN}.pid:" \
-   "${ED}/etc/jabber/${PN}.xml" || die
-
-   newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
-   systemd_dounit "${FILESDIR}/${PN}.service"
-   sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
-   "${ED}/etc/init.d/${PN}" 
"${ED}/usr/lib/systemd/system/${PN}.service" || die
-
-   python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
-}

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild
deleted file mode 100644
index a4d1d38..
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="6"
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-single-r1 systemd
-
-MY_P="${P/pyicq-t/pyicqt}"
-DESCRIPTION="Python based jabber transport for ICQ"
-HOMEPAGE="https://code.google.com/p/pyicqt/";
-SRC_URI="https://pyicqt.googlecode.com/files/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="webinterface"
-
-DEPEND="net-im/jabber-base"
-RDEPEND="${DEPEND}
-   dev-python/twisted-core[${PYTHON_USEDEP}]
-   dev-python/twisted-words[${PYTHON_USEDEP}]
-   dev-python/twisted-web[${PYTHON_USEDEP}]
-   webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
-   dev-python/pillow[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   eapply "${FILESDIR}/${P}-python26-warnings.diff"
-   eapply "${FILESDIR}/${P}-pillow-imaging.patch"
-   eapply_user
-}
-
-src_install() {
-   python_moduleinto ${PN}
-   cp PyICQt.py ${PN}.py || die
-   python_domodule ${PN}.py data tools src
-
-   insinto /etc/jabber
-   newins config_example.xml ${PN}.xml
-   fperms 600 /etc/jabber/${PN}.xml
-   fowners jabber:jabber /etc/jabber/${PN}.xml
-   fperms 755 "$(python_get_sitedir)/${PN}/${PN}.py"
-   sed -i \
-   -e 
"s:[^\<]*:/var/spool/jabber:" \
-   -e "s:[^\<]*:/var/run/jabber/${PN}.pid:" \
-   "${ED}/etc/jabber/${PN}.xml" || die
-
-   newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
-   systemd_dounit "${FILESDIR}/${PN}.service"
-   sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
-   "${ED}/etc/init.d/${PN}" 
"${ED}/usr/lib/systemd/system/${PN}.service" || die
-
-   python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
-}

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index 889ff1c..58c536a 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -14,7 +14,7 @@ S="$

[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2016-11-27 Thread Tobias Klausmann
commit: b094dc0031a4ad60f3a620defdc89d7d62a840af
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Nov 27 10:33:23 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Nov 27 10:33:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b094dc00

net-im/pyicq-t: Fix wrong twisted dependency

Package-Manager: portage-2.3.2

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index c1772db..889ff1c 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -22,7 +22,7 @@ RDEPEND="${DEPEND}
( || ( ( dev-python/twisted-core[${PYTHON_USEDEP}]
dev-python/twisted-words[${PYTHON_USEDEP}]
dev-python/twisted-web[${PYTHON_USEDEP}] )
-   dev-python/twisted-core[${PYTHON_USEDEP}] ) )
+   dev-python/twisted[${PYTHON_USEDEP}] ) )
webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
dev-python/pillow[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2016-11-24 Thread Tobias Klausmann
commit: 94cb862e5756cad1c4b949f0550d47af8f6b9a7f
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Nov 24 09:55:09 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Nov 24 09:55:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94cb862e

net-im/pyicq-t: Whitespace fixes

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index ef0b95b..c1772db 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -20,9 +20,9 @@ IUSE="webinterface"
 DEPEND="net-im/jabber-base"
 RDEPEND="${DEPEND}
( || ( ( dev-python/twisted-core[${PYTHON_USEDEP}]
-dev-python/twisted-words[${PYTHON_USEDEP}]
-dev-python/twisted-web[${PYTHON_USEDEP}] )
-  dev-python/twisted-core[${PYTHON_USEDEP}] ) )
+   dev-python/twisted-words[${PYTHON_USEDEP}]
+   dev-python/twisted-web[${PYTHON_USEDEP}] )
+   dev-python/twisted-core[${PYTHON_USEDEP}] ) )
webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
dev-python/pillow[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/

2016-11-24 Thread Tobias Klausmann
commit: eac8202b30de3146a29022cafa2f35c11de1c4d8
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Nov 24 08:34:23 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Nov 24 08:35:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac8202b

net-im/pyicq-t: Allow monolithic twisted to satisfy dependencies

 net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild | 56 
 1 file changed, 56 insertions(+)

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
new file mode 100644
index ..ef0b95b
--- /dev/null
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 systemd
+
+MY_P="${P/pyicq-t/pyicqt}"
+DESCRIPTION="Python based jabber transport for ICQ"
+HOMEPAGE="https://code.google.com/p/pyicqt/";
+SRC_URI="https://pyicqt.googlecode.com/files/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="webinterface"
+
+DEPEND="net-im/jabber-base"
+RDEPEND="${DEPEND}
+   ( || ( ( dev-python/twisted-core[${PYTHON_USEDEP}]
+dev-python/twisted-words[${PYTHON_USEDEP}]
+dev-python/twisted-web[${PYTHON_USEDEP}] )
+  dev-python/twisted-core[${PYTHON_USEDEP}] ) )
+   webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
+   dev-python/pillow[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   eapply "${FILESDIR}/${P}-python26-warnings.diff"
+   eapply "${FILESDIR}/${P}-pillow-imaging.patch"
+   eapply_user
+}
+
+src_install() {
+   python_moduleinto ${PN}
+   cp PyICQt.py ${PN}.py || die
+   python_domodule ${PN}.py data tools src
+
+   insinto /etc/jabber
+   newins config_example.xml ${PN}.xml
+   fperms 600 /etc/jabber/${PN}.xml
+   fowners jabber:jabber /etc/jabber/${PN}.xml
+   fperms 755 "$(python_get_sitedir)/${PN}/${PN}.py"
+   sed -i \
+   -e 
"s:[^\<]*:/var/spool/jabber:" \
+   -e "s:[^\<]*:/var/run/jabber/${PN}.pid:" \
+   "${ED}/etc/jabber/${PN}.xml" || die
+
+   newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
+   systemd_dounit "${FILESDIR}/${PN}.service"
+   sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
+   "${ED}/etc/init.d/${PN}" 
"${ED}/usr/lib/systemd/system/${PN}.service" || die
+
+   python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-im/pyicq-t/files/, net-im/pyicq-t/

2016-05-02 Thread Austin English
commit: f8faca5c19419e40adb47d84689beabe7225bea6
Author: Austin English  gentoo  org>
AuthorDate: Mon May  2 19:13:40 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Mon May  2 22:21:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8faca5c

net-im/pyicq-t: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-im/pyicq-t/files/pyicq-t-0.8-initd-r1 |  4 +--
 net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild  | 55 +++
 2 files changed, 57 insertions(+), 2 deletions(-)

diff --git a/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1 
b/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1
index 8c46bc6..cc9057e 100644
--- a/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1
+++ b/net-im/pyicq-t/files/pyicq-t-0.8-initd-r1
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild 
b/net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild
new file mode 100644
index 000..a4d1d38
--- /dev/null
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 systemd
+
+MY_P="${P/pyicq-t/pyicqt}"
+DESCRIPTION="Python based jabber transport for ICQ"
+HOMEPAGE="https://code.google.com/p/pyicqt/";
+SRC_URI="https://pyicqt.googlecode.com/files/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="webinterface"
+
+DEPEND="net-im/jabber-base"
+RDEPEND="${DEPEND}
+   dev-python/twisted-core[${PYTHON_USEDEP}]
+   dev-python/twisted-words[${PYTHON_USEDEP}]
+   dev-python/twisted-web[${PYTHON_USEDEP}]
+   webinterface? ( >=dev-python/nevow-0.4.1[${PYTHON_USEDEP}] )
+   dev-python/pillow[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   eapply "${FILESDIR}/${P}-python26-warnings.diff"
+   eapply "${FILESDIR}/${P}-pillow-imaging.patch"
+   eapply_user
+}
+
+src_install() {
+   python_moduleinto ${PN}
+   cp PyICQt.py ${PN}.py || die
+   python_domodule ${PN}.py data tools src
+
+   insinto /etc/jabber
+   newins config_example.xml ${PN}.xml
+   fperms 600 /etc/jabber/${PN}.xml
+   fowners jabber:jabber /etc/jabber/${PN}.xml
+   fperms 755 "$(python_get_sitedir)/${PN}/${PN}.py"
+   sed -i \
+   -e 
"s:[^\<]*:/var/spool/jabber:" \
+   -e "s:[^\<]*:/var/run/jabber/${PN}.pid:" \
+   "${ED}/etc/jabber/${PN}.xml" || die
+
+   newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
+   systemd_dounit "${FILESDIR}/${PN}.service"
+   sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
+   "${ED}/etc/init.d/${PN}" 
"${ED}/usr/lib/systemd/system/${PN}.service" || die
+
+   python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
+}