diff options
-rw-r--r-- | net-misc/rtv/Manifest | 3 | ||||
-rw-r--r-- | net-misc/rtv/files/rtv-praw-fix.patch | 12 | ||||
-rw-r--r-- | net-misc/rtv/rtv-1.13.0.ebuild | 36 |
3 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/rtv/Manifest b/net-misc/rtv/Manifest new file mode 100644 index 0000000..0107112 --- /dev/null +++ b/net-misc/rtv/Manifest @@ -0,0 +1,3 @@ +AUX rtv-praw-fix.patch 414 BLAKE2B 26997619bbd5d5c9e685820adbb0b85f2c4fb4037403f4c82385f79d82c11d2d5d25b04c07286c4c01e171a68bbf185ffe6ba38cad1f1cbb168b060e9d566849 SHA512 9d3c8f4921a9a9572e825e6e83db0f0ba25970a22c727819d069872a3a01cb27138c86fe1582adac7296bf10f6a4c870a4fc816d5079085020a32cea3de78a3c +DIST rtv-1.13.0.tar.gz 7135223 BLAKE2B 7af0c1469bb3d501b80bcf2b20bcc2ac3081a14f71ed0604b237fcd9a0c1e8e67011731516005bef4f5a8e7c6ac01d9d5208d60f20faac45ed524db5735cb17b SHA512 e7bf08ce478ec88c395f165e7ec6c23028e1097befaeea3a89c2902cc5a1679a9810f54fa553cf90d9baad58e42b026a440dff96a9dae1963c794d7301aab362 +EBUILD rtv-1.13.0.ebuild 906 BLAKE2B 6694806f4a43cfaec05e0cb71466552f6478ef84ed55ecf7aef25d06c981aae72763c6893a6ffd926893c30ded431ffa145dafc9fa9b5b32fa7767f3690e2e4c SHA512 6048007ebe7ca94ab6aded3726e26ffef501bdf48925e06d8d7ce35e98e204465e25a60d50ef2616323bd3a7a63e8bdc4e6e2552d1e2495474b0ea4f7ad1865f diff --git a/net-misc/rtv/files/rtv-praw-fix.patch b/net-misc/rtv/files/rtv-praw-fix.patch new file mode 100644 index 0000000..5697cfc --- /dev/null +++ b/net-misc/rtv/files/rtv-praw-fix.patch @@ -0,0 +1,12 @@ +diff -Naur a/setup.py b/setup.py +--- a/setup.py 2016-10-18 04:27:09.000000000 +0200 ++++ b/setup.py 2016-12-04 20:34:06.120166387 +0100 +@@ -3,7 +3,7 @@ + + from version import __version__ as version + +-requirements = ['praw==3.5.0', 'six', 'requests', 'kitchen', 'beautifulsoup4', ++requirements = ['praw>=3.5, <4', 'six', 'requests', 'kitchen', 'beautifulsoup4', + 'mailcap-fix'] + + setuptools.setup( diff --git a/net-misc/rtv/rtv-1.13.0.ebuild b/net-misc/rtv/rtv-1.13.0.ebuild new file mode 100644 index 0000000..bea16b5 --- /dev/null +++ b/net-misc/rtv/rtv-1.13.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_{3,4,5} ) + +inherit distutils-r1 eutils + +DESCRIPTION="RTV provides an interface to view and interact with reddit from your terminal." +HOMEPAGE="https://github.com/michael-lazar/rtv" +SRC_URI="https://github.com/michael-lazar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +# S="${WORKDIR}/${PN}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/praw[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/mailcap-fix[${PYTHON_USEDEP}] + dev-python/kitchen[${PYTHON_USEDEP}] + dev-python/beautifulsoup[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-lang/python[ncurses]" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-praw-fix.patch" +} |