From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-im/hangups/Manifest | 3 ++ net-im/hangups/files/unpin-dependencies.patch | 41 +++++++++++++++++++++++ net-im/hangups/hangups-9999.ebuild | 48 +++++++++++++++++++++++++++ net-im/hangups/metadata.xml | 8 +++++ 4 files changed, 100 insertions(+) create mode 100644 net-im/hangups/Manifest create mode 100644 net-im/hangups/files/unpin-dependencies.patch create mode 100644 net-im/hangups/hangups-9999.ebuild create mode 100644 net-im/hangups/metadata.xml (limited to 'net-im/hangups') diff --git a/net-im/hangups/Manifest b/net-im/hangups/Manifest new file mode 100644 index 000000000000..1baa68a6f862 --- /dev/null +++ b/net-im/hangups/Manifest @@ -0,0 +1,3 @@ +AUX unpin-dependencies.patch 1165 SHA256 fb1491b1d84bbffe82beea779f52e96055f15810f769abc1a9a1415d05d84e32 SHA512 590a419d2bf83d5892519cfcd1f9464168d047d84a8a184480cbc1dad8542330bf268d89d618af3fbfe565bda89fa9bbbc1c22a53dbf52e041c0afabf91d839d WHIRLPOOL ed7dbf810b68483543d1a034c29eb20f31b813eab5aba400d6fed2e5f253a1fdb1761599bb5e5b6a56a30f32d78f39b7ef2739d230d8daad7464ab6c8ba3227d +EBUILD hangups-9999.ebuild 1349 SHA256 bba9cdf3bc798976be1f6c7af40e9b6f8cc9e4920d92997951b78eeea9e4f15c SHA512 6b60697b10e5d8d3349cb844ab80fbdc8bcc8800533f6c31dd5a6a57331150443e83317faf07d285415ec750c4e20b01c6382297516082758f4b780b866a6930 WHIRLPOOL 7f95a832a049cdd1951a1312b264cd0ce506c34a001ef3225a5efc22c162e28370f657ca0d8b0bc659844b25fbe9c9d5d1bc2a201be9d7112268f22f217514ba +MISC metadata.xml 248 SHA256 af014d222835a5fa433f432bb9f3daecbf20c9659d331c4981608c50e4221d68 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0 WHIRLPOOL 513e5e3fc988e622a5c0a07de8c910fe92319bd9e563240a959edcade0de19f9b01b06531949bd3538425447bd8f02cd8a74fd4196b7aac5c41e968143654490 diff --git a/net-im/hangups/files/unpin-dependencies.patch b/net-im/hangups/files/unpin-dependencies.patch new file mode 100644 index 000000000000..37c8795cdd8d --- /dev/null +++ b/net-im/hangups/files/unpin-dependencies.patch @@ -0,0 +1,41 @@ +diff --git a/setup.py b/setup.py +index 740ce61..67e3b84 100644 +--- a/setup.py ++++ b/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', ++ 'ConfigArgParse>=0.11.0', + 'aiohttp>=1.2,<1.3', +- 'appdirs==1.4.0', +- 'readlike==0.1.2', ++ 'appdirs>=1.4.0', ++ 'readlike>=0.1.2', + 'requests>=2.6.0,<3', # uses semantic versioning (after 2.6) +- 'ReParser==1.4.3', ++ 'ReParser>=1.4.3', + 'protobuf>=3.1.0,<3.2.0', +- 'urwid==1.3.1', +- 'MechanicalSoup==0.6.0', ++ 'urwid>=1.3.1', ++ 'MechanicalSoup>=0.6.0', + ] + + +@@ -109,10 +109,10 @@ setup( + packages=['hangups', 'hangups.ui'], + install_requires=install_requires, + tests_require=[ +- 'pytest==3.0.5', +- 'pylint==1.6.4', +- 'pycodestyle==2.2.0', +- 'httpretty==0.8.14', ++ 'pytest>=3.0.5', ++ 'pylint>=1.6.4', ++ 'pycodestyle>=2.2.0', ++ 'httpretty>=0.8.14', + ], + cmdclass={ + 'test': PytestCommand, diff --git a/net-im/hangups/hangups-9999.ebuild b/net-im/hangups/hangups-9999.ebuild new file mode 100644 index 000000000000..134b8dd2876e --- /dev/null +++ b/net-im/hangups/hangups-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5} ) +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/tdryer/${PN}" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Third Party IM Client for Google Hangouts" +HOMEPAGE="https://pypi.python.org/pypi/hangups" + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +PATCHES=( + "${FILESDIR}"/unpin-dependencies.patch +) + +COMMON_DEPEND=">=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-1.2.0[${PYTHON_USEDEP}] + =dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/readlike-0.1.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.6.0[${PYTHON_USEDEP}] + =dev-python/ReParser-1.4.3[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.1.0[${PYTHON_USEDEP}] + >=dev-python/urwid-1.3.1[${PYTHON_USEDEP}] + >=dev-python/MechanicalSoup-0.6.0[${PYTHON_USEDEP}]" + DEPEND="${COMMON_DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-3.0.5[${PYTHON_USEDEP}] + >=dev-python/pylint-1.6.4[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.2.0[${PYTHON_USEDEP}] + >=dev-python/httpretty-0.8.14[${PYTHON_USEDEP}] + ) +" +RDEPEND="${COMMON_DEPEND}" diff --git a/net-im/hangups/metadata.xml b/net-im/hangups/metadata.xml new file mode 100644 index 000000000000..c36c37139fad --- /dev/null +++ b/net-im/hangups/metadata.xml @@ -0,0 +1,8 @@ + + + + + williamh@gentoo.org + William Hubbs + + -- cgit v1.2.3