pkgsrc-WIP-changes archive

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

py-hangups: Import py-hangups-0.4.2 as wip/py-hangups



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat May 13 12:27:31 2017 +0200
Changeset:	883527dab9d39a1128b488cd9cddc63fbfc5e5cb

Modified Files:
	Makefile
Added Files:
	py-hangups/DESCR
	py-hangups/Makefile
	py-hangups/PLIST
	py-hangups/distinfo
	py-hangups/patches/patch-setup.py

Log Message:
py-hangups: Import py-hangups-0.4.2 as wip/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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=883527dab9d39a1128b488cd9cddc63fbfc5e5cb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                          |  1 +
 py-hangups/DESCR                  | 12 +++++++
 py-hangups/Makefile               | 28 ++++++++++++++++
 py-hangups/PLIST                  | 68 +++++++++++++++++++++++++++++++++++++++
 py-hangups/distinfo               |  7 ++++
 py-hangups/patches/patch-setup.py | 31 ++++++++++++++++++
 6 files changed, 147 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1c15503952..55bc7f7b1e 100644
--- a/Makefile
+++ b/Makefile
@@ -3084,6 +3084,7 @@ SUBDIR+=	py-hamilton
 SUBDIR+=	py-hamnonlineng
 SUBDIR+=	py-hamopy
 SUBDIR+=	py-handy
+SUBDIR+=	py-hangups
 SUBDIR+=	py-harvestingkit
 SUBDIR+=	py-hcluster
 SUBDIR+=	py-hddm
diff --git a/py-hangups/DESCR b/py-hangups/DESCR
new file mode 100644
index 0000000000..3d657dfad9
--- /dev/null
+++ b/py-hangups/DESCR
@@ -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 --git a/py-hangups/Makefile b/py-hangups/Makefile
new file mode 100644
index 0000000000..428202cf60
--- /dev/null
+++ b/py-hangups/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 12:10:26 leot Exp $
+
+DISTNAME=	hangups-0.4.2
+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:../../wip/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:../../wip/py-readlike
+DEPENDS+=	${PYPKGPREFIX}-reparser>=1.4.3:../../wip/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 --git a/py-hangups/PLIST b/py-hangups/PLIST
new file mode 100644
index 0000000000..91d1f67115
--- /dev/null
+++ b/py-hangups/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD$
+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 --git a/py-hangups/distinfo b/py-hangups/distinfo
new file mode 100644
index 0000000000..21dc2c1e5f
--- /dev/null
+++ b/py-hangups/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (hangups-0.4.2.tar.gz) = ab6ca381f075c6cb412d975110d13afd9ced8a04
+RMD160 (hangups-0.4.2.tar.gz) = fdf70d04cdfb62ccd07360c933b120ab3ea4b756
+SHA512 (hangups-0.4.2.tar.gz) = c07eaf4ab7ff5c4c78424b9f2bb97b53f42ab4634e66c3c019136008f8db2b749bd2de963029b65d3a30245efc17e4c241f53e5997ba3349e184b96b8765a48c
+Size (hangups-0.4.2.tar.gz) = 81653 bytes
+SHA1 (patch-setup.py) = c554e4a9239defca5c4b30a8e21c7a80ec9e187c
diff --git a/py-hangups/patches/patch-setup.py b/py-hangups/patches/patch-setup.py
new file mode 100644
index 0000000000..5133d53f2c
--- /dev/null
+++ b/py-hangups/patches/patch-setup.py
@@ -0,0 +1,31 @@
+$NetBSD$
+
+Avoid too strict version requirements.
+
+--- setup.py.orig	2016-12-28 23:16:09.000000000 +0000
++++ setup.py
+@@ -65,15 +65,15 @@ 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.2,<1.3',
+-    'appdirs==1.4.0',
+-    '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.2',
++    'appdirs>=1.4.0',
++    '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',
+ ]
+ 
+ 


Home | Main Index | Thread Index | Old Index