pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/py-hangups Import py-hangups-0.4.3 as chat/py-han...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb0e1d6d9013
branches:  trunk
changeset: 367612:cb0e1d6d9013
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Sep 04 13:58:24 2017 +0000

description:
Import py-hangups-0.4.3 as chat/py-hangups

hangups is the first third-party instant messaging client for Google
Hangouts. It includes both a Python library and a reference client
with a text-based user interface.

Unlike its predecessor Google Talk, Hangouts uses a proprietary,
non-interoperable protocol. hangups is implemented by reverse-engineering
this protocol, which allows it to support features like group
messaging that aren't available in clients that connect via XMPP.

hangups is still in an early stage of development. The reference
client is usable for basic chatting, but the API is undocumented
and subject to change.

Originally packaged by myself in pkgsrc-wip.

diffstat:

 chat/py-hangups/DESCR                  |  12 ++++++
 chat/py-hangups/Makefile               |  28 ++++++++++++++
 chat/py-hangups/PLIST                  |  68 ++++++++++++++++++++++++++++++++++
 chat/py-hangups/distinfo               |   7 +++
 chat/py-hangups/patches/patch-setup.py |  39 +++++++++++++++++++
 5 files changed, 154 insertions(+), 0 deletions(-)

diffs (174 lines):

diff -r 3ff2db17e583 -r cb0e1d6d9013 chat/py-hangups/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/py-hangups/DESCR     Mon Sep 04 13:58:24 2017 +0000
@@ -0,0 +1,12 @@
+hangups is the first third-party instant messaging client for Google
+Hangouts. It includes both a Python library and a reference client
+with a text-based user interface.
+
+Unlike its predecessor Google Talk, Hangouts uses a proprietary,
+non-interoperable protocol. hangups is implemented by reverse-engineering
+this protocol, which allows it to support features like group
+messaging that aren't available in clients that connect via XMPP.
+
+hangups is still in an early stage of development. The reference
+client is usable for basic chatting, but the API is undocumented
+and subject to change.
diff -r 3ff2db17e583 -r cb0e1d6d9013 chat/py-hangups/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/py-hangups/Makefile  Mon Sep 04 13:58:24 2017 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2017/09/04 13:58:24 leot Exp $
+
+DISTNAME=      hangups-0.4.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    chat python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hangups/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tdryer/hangups
+COMMENT=       Third-party instant messaging client for Google Hangouts
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-MechanicalSoup>=0.6.0:../../www/py-MechanicalSoup
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=1.2:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-appdirs>=1.4.0:../../devel/py-appdirs
+DEPENDS+=      ${PYPKGPREFIX}-configargparse>=0.11.0:../../devel/py-configargparse
+DEPENDS+=      ${PYPKGPREFIX}-protobuf>=3.1.0:../../devel/py-protobuf
+DEPENDS+=      ${PYPKGPREFIX}-readlike>=0.1.2:../../devel/py-readlike
+DEPENDS+=      ${PYPKGPREFIX}-reparser>=1.4.3:../../devel/py-reparser
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-urwid>=1.3.1:../../devel/py-urwid
+
+USE_LANGUAGES=                 # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3ff2db17e583 -r cb0e1d6d9013 chat/py-hangups/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/py-hangups/PLIST     Mon Sep 04 13:58:24 2017 +0000
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/04 13:58:24 leot Exp $
+bin/hangups
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hangups/__init__.py
+${PYSITELIB}/hangups/__init__.pyc
+${PYSITELIB}/hangups/__init__.pyo
+${PYSITELIB}/hangups/auth.py
+${PYSITELIB}/hangups/auth.pyc
+${PYSITELIB}/hangups/auth.pyo
+${PYSITELIB}/hangups/channel.py
+${PYSITELIB}/hangups/channel.pyc
+${PYSITELIB}/hangups/channel.pyo
+${PYSITELIB}/hangups/client.py
+${PYSITELIB}/hangups/client.pyc
+${PYSITELIB}/hangups/client.pyo
+${PYSITELIB}/hangups/conversation.py
+${PYSITELIB}/hangups/conversation.pyc
+${PYSITELIB}/hangups/conversation.pyo
+${PYSITELIB}/hangups/conversation_event.py
+${PYSITELIB}/hangups/conversation_event.pyc
+${PYSITELIB}/hangups/conversation_event.pyo
+${PYSITELIB}/hangups/event.py
+${PYSITELIB}/hangups/event.pyc
+${PYSITELIB}/hangups/event.pyo
+${PYSITELIB}/hangups/exceptions.py
+${PYSITELIB}/hangups/exceptions.pyc
+${PYSITELIB}/hangups/exceptions.pyo
+${PYSITELIB}/hangups/hangouts_pb2.py
+${PYSITELIB}/hangups/hangouts_pb2.pyc
+${PYSITELIB}/hangups/hangouts_pb2.pyo
+${PYSITELIB}/hangups/http_utils.py
+${PYSITELIB}/hangups/http_utils.pyc
+${PYSITELIB}/hangups/http_utils.pyo
+${PYSITELIB}/hangups/message_parser.py
+${PYSITELIB}/hangups/message_parser.pyc
+${PYSITELIB}/hangups/message_parser.pyo
+${PYSITELIB}/hangups/parsers.py
+${PYSITELIB}/hangups/parsers.pyc
+${PYSITELIB}/hangups/parsers.pyo
+${PYSITELIB}/hangups/pblite.py
+${PYSITELIB}/hangups/pblite.pyc
+${PYSITELIB}/hangups/pblite.pyo
+${PYSITELIB}/hangups/ui/__init__.py
+${PYSITELIB}/hangups/ui/__init__.pyc
+${PYSITELIB}/hangups/ui/__init__.pyo
+${PYSITELIB}/hangups/ui/__main__.py
+${PYSITELIB}/hangups/ui/__main__.pyc
+${PYSITELIB}/hangups/ui/__main__.pyo
+${PYSITELIB}/hangups/ui/emoticon.py
+${PYSITELIB}/hangups/ui/emoticon.pyc
+${PYSITELIB}/hangups/ui/emoticon.pyo
+${PYSITELIB}/hangups/ui/notify.py
+${PYSITELIB}/hangups/ui/notify.pyc
+${PYSITELIB}/hangups/ui/notify.pyo
+${PYSITELIB}/hangups/ui/utils.py
+${PYSITELIB}/hangups/ui/utils.pyc
+${PYSITELIB}/hangups/ui/utils.pyo
+${PYSITELIB}/hangups/user.py
+${PYSITELIB}/hangups/user.pyc
+${PYSITELIB}/hangups/user.pyo
+${PYSITELIB}/hangups/version.py
+${PYSITELIB}/hangups/version.pyc
+${PYSITELIB}/hangups/version.pyo
diff -r 3ff2db17e583 -r cb0e1d6d9013 chat/py-hangups/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/py-hangups/distinfo  Mon Sep 04 13:58:24 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/09/04 13:58:24 leot Exp $
+
+SHA1 (hangups-0.4.3.tar.gz) = 9d8b94893a684158602e2f1b61f824cd41ae5e6f
+RMD160 (hangups-0.4.3.tar.gz) = c75b0dd872d58653f14cac2187546a8f9159042c
+SHA512 (hangups-0.4.3.tar.gz) = 5fe9c3bb36eeee3bd0cc6b1e27c9ab2185974c45e5fc40b4e7b0aaecd014588830716622687139ec21e24466cf709b3598f8a1954e768d02466dc70e8e48eb79
+Size (hangups-0.4.3.tar.gz) = 83330 bytes
+SHA1 (patch-setup.py) = b553978ca42696d620ef674b2bac2c81b44cb4e6
diff -r 3ff2db17e583 -r cb0e1d6d9013 chat/py-hangups/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/py-hangups/patches/patch-setup.py    Mon Sep 04 13:58:24 2017 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-setup.py,v 1.1 2017/09/04 13:58:24 leot Exp $
+
+Avoid too strict version requirements.
+
+--- setup.py.orig      2017-07-30 23:31:42.000000000 +0000
++++ setup.py
+@@ -23,22 +23,22 @@ with open('README.rst') as f:
+ # hangups from breaking when new versions of dependencies are released,
+ # especially for end-users (non-developers) who use pip to install hangups.
+ install_requires = [
+-    'ConfigArgParse==0.11.0',
+-    'aiohttp>=1.3,<3',
+-    'appdirs>=1.4,<1.5',
+-    'readlike==0.1.2',
+-    'requests>=2.6.0,<3',  # uses semantic versioning (after 2.6)
+-    'ReParser==1.4.3',
+-    'protobuf>=3.1.0,<3.2.0',
+-    'urwid==1.3.1',
+-    'MechanicalSoup==0.6.0',
++    'ConfigArgParse>=0.11.0',
++    'aiohttp>=1.3',
++    'appdirs>=1.4',
++    'readlike>=0.1.2',
++    'requests>=2.6.0',  # uses semantic versioning (after 2.6)
++    'ReParser>=1.4.3',
++    'protobuf>=3.1.0',
++    'urwid>=1.3.1',
++    'MechanicalSoup>=0.6.0',
+ ]
+ 
+ 
+ if sys.version_info < (3, 4, 3):
+     # For Python earlier than 3.4.3, use a backported asyncio that fixes an
+     # issue with an exception being logged on exit.
+-    install_requires.append('asyncio==3.4.3')
++    install_requires.append('asyncio>=3.4.3')
+ 
+ 
+ setup(



Home | Main Index | Thread Index | Old Index