pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/py-hangups
Module Name: pkgsrc
Committed By: leot
Date: Mon Sep 4 13:58:24 UTC 2017
Added Files:
pkgsrc/chat/py-hangups: DESCR Makefile PLIST distinfo
pkgsrc/chat/py-hangups/patches: patch-setup.py
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/py-hangups/DESCR \
pkgsrc/chat/py-hangups/Makefile pkgsrc/chat/py-hangups/PLIST \
pkgsrc/chat/py-hangups/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/py-hangups/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/chat/py-hangups/DESCR
diff -u /dev/null pkgsrc/chat/py-hangups/DESCR:1.1
--- /dev/null Mon Sep 4 13:58:24 2017
+++ pkgsrc/chat/py-hangups/DESCR Mon Sep 4 13:58:24 2017
@@ -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.
Index: pkgsrc/chat/py-hangups/Makefile
diff -u /dev/null pkgsrc/chat/py-hangups/Makefile:1.1
--- /dev/null Mon Sep 4 13:58:24 2017
+++ pkgsrc/chat/py-hangups/Makefile Mon Sep 4 13:58:24 2017
@@ -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"
Index: pkgsrc/chat/py-hangups/PLIST
diff -u /dev/null pkgsrc/chat/py-hangups/PLIST:1.1
--- /dev/null Mon Sep 4 13:58:24 2017
+++ pkgsrc/chat/py-hangups/PLIST Mon Sep 4 13:58:24 2017
@@ -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
Index: pkgsrc/chat/py-hangups/distinfo
diff -u /dev/null pkgsrc/chat/py-hangups/distinfo:1.1
--- /dev/null Mon Sep 4 13:58:24 2017
+++ pkgsrc/chat/py-hangups/distinfo Mon Sep 4 13:58:24 2017
@@ -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
Index: pkgsrc/chat/py-hangups/patches/patch-setup.py
diff -u /dev/null pkgsrc/chat/py-hangups/patches/patch-setup.py:1.1
--- /dev/null Mon Sep 4 13:58:24 2017
+++ pkgsrc/chat/py-hangups/patches/patch-setup.py Mon Sep 4 13:58:24 2017
@@ -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