From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5D18C13888F for ; Mon, 26 Oct 2015 13:38:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C8B421C007; Mon, 26 Oct 2015 13:38:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E25F021C007 for ; Mon, 26 Oct 2015 13:38:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B32C2340864 for ; Mon, 26 Oct 2015 13:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A7501712 for ; Mon, 26 Oct 2015 13:38:06 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1445866673.59b905fefa279bf5c72cecbf2f2b7516cb4cbadc.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qutebrowser/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/qutebrowser/qutebrowser-0.4.1-r1.ebuild X-VCS-Directories: www-client/qutebrowser/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 59b905fefa279bf5c72cecbf2f2b7516cb4cbadc X-VCS-Branch: master Date: Mon, 26 Oct 2015 13:38:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e6db189c-d15a-47db-87be-98b45d71c651 X-Archives-Hash: 7f27454903941a6930727a927ec300f6 commit: 59b905fefa279bf5c72cecbf2f2b7516cb4cbadc Author: Ian Delaney gentoo org> AuthorDate: Mon Oct 26 13:37:07 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Oct 26 13:37:53 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b905fe www-client/qutebrowser: revbump to -0.4.1-r1 change in install location of icons by inherit of gnome2-utils and 'doicon -s', cross tested by 'wraeth', ack to hasufell for suggested improvements. leave -0.4.1 ebuild for now. Package-Manager: portage-2.2.23 www-client/qutebrowser/qutebrowser-0.4.1-r1.ebuild | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/www-client/qutebrowser/qutebrowser-0.4.1-r1.ebuild b/www-client/qutebrowser/qutebrowser-0.4.1-r1.ebuild new file mode 100644 index 0000000..6e4744d --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-0.4.1-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) + +inherit gnome2-utils distutils-r1 eutils fdo-mime + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/The-Compiler/qutebrowser.git" + inherit git-r3 +else + SRC_URI="https://github.com/The-Compiler/qutebrowser/releases/download/v${PV}/qutebrowser-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit" +HOMEPAGE="https://github.com/The-Compiler/qutebrowser" + +LICENSE="GPL-3" +SLOT="0" +IUSE="gstreamer test" + +COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${COMMON_DEPEND} + app-text/asciidoc + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND="${COMMON_DEPEND} + >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0.2[${PYTHON_USEDEP}] + >=dev-python/pypeg2-2.15.1[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},gui,network,printsupport,webkit,widgets] + dev-python/sip[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}] + gstreamer? ( dev-qt/qtwebkit:5[gstreamer] ) +" + +RESTRICT="test" + +python_compile_all() { + if [[ ${PV} == "9999" ]]; then + "${PYTHON}" scripts/asciidoc2html.py || die "Failed generating docs" + fi + + a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" +} + +python_test() { + py.test tests || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + doman doc/${PN}.1 + dodoc {CHANGELOG,CONTRIBUTING,FAQ,README}.asciidoc + + domenu ${PN}.desktop + doicon -s scalable icons/${PN}.svg + + distutils-r1_python_install_all +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +}