From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7848F1396D9 for ; Sun, 5 Nov 2017 15:37:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1BD3E0F59; Sun, 5 Nov 2017 15:37:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 70FE2E0F59 for ; Sun, 5 Nov 2017 15:37:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C57B43416F7 for ; Sun, 5 Nov 2017 15:37:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 374A495E5 for ; Sun, 5 Nov 2017 15:37:50 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1509896259.d0a6737ee3ba9c530354e56782b715d5f9a75938.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/trackma/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/trackma/Manifest net-misc/trackma/trackma-0.7.4.ebuild X-VCS-Directories: net-misc/trackma/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: d0a6737ee3ba9c530354e56782b715d5f9a75938 X-VCS-Branch: master Date: Sun, 5 Nov 2017 15:37:50 +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: b4631868-4857-45a9-b982-590e02cc0f76 X-Archives-Hash: 69c93311ab4bfc34b8115eca46799006 commit: d0a6737ee3ba9c530354e56782b715d5f9a75938 Author: soredake krutt org> AuthorDate: Sat Nov 4 15:29:41 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Nov 5 15:37:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a6737e net-misc/trackma: version bump to 0.7.4. Closes: https://github.com/gentoo/gentoo/pull/6117 net-misc/trackma/Manifest | 1 + net-misc/trackma/trackma-0.7.4.ebuild | 61 +++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/net-misc/trackma/Manifest b/net-misc/trackma/Manifest index 87c736ebb49..59adde623ab 100644 --- a/net-misc/trackma/Manifest +++ b/net-misc/trackma/Manifest @@ -1 +1,2 @@ DIST trackma-0.7.3.tar.gz 142450 SHA256 c11da6157d1008a38469f1eaa0fe325230c0d4db0ba861c8a2600d5a63c08dee SHA512 73a7caa1e740e96f29edfcdfc5dbcaf26f280371c176bba69947fff37ca935d56e280a6d3e12c0a7f6283fecdad3d8e8e82c0d45a75d1962e58fdd7458630791 WHIRLPOOL 863688a495abb5e03980d1b3cae023ee24217889cb3cb528acd9339b5601c2e463e82365addb99881765331f4cb34d02d56018bd0c4d9a5c72eb1cab5413e3d3 +DIST trackma-0.7.4.tar.gz 143814 SHA256 d7312ed54a06f2ea546a5ba327eb6c4dffd0bb57f6ef2cc250ed7841ef6b42bd SHA512 88b7eacc6a60fec5b022787337274b95d0fb972dbdd8ffa1a000806612403d8f84a2317e5903ec1ffcdbac91132a960670855991c0885f526fdbc4a1033c3364 WHIRLPOOL 998eb4eae9fbe5dc772e9f8e6d5081ee9823c70bfff5b10786dc8f05c96ecc2de2ca08cfd695d6abe2691a463f003db436105bfd18fe77dab5b6ab0bca0e9653 diff --git a/net-misc/trackma/trackma-0.7.4.ebuild b/net-misc/trackma/trackma-0.7.4.ebuild new file mode 100644 index 00000000000..ffaed1f4ad6 --- /dev/null +++ b/net-misc/trackma/trackma-0.7.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Open multi-site list manager for media tracking sites" +HOMEPAGE="https://github.com/z411/trackma" +SRC_URI="https://github.com/z411/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ncurses cli gtk inotify qt5" +REQUIRED_USE="|| ( cli gtk ncurses qt5 )" + +DEPEND="ncurses? ( dev-python/urwid[${PYTHON_USEDEP}] ) + gtk? ( + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) + qt5? ( + dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] + dev-python/pillow[${PYTHON_USEDEP}] + )" +RDEPEND="sys-process/lsof + inotify? ( || ( dev-python/inotifyx dev-python/pyinotify ) ) + ${DEPEND}" + +python_configure_all() { + sed -i -e '/trackma-qt4/d' "${S}/setup.py" || die + rm "${S}/trackma/ui/qt4ui.py" || die + if ! use qt5; then + sed -i -e '/trackma-qt/d' "${S}/setup.py" || die + rm "${S}/trackma/ui/qtui.py" || die + fi + if ! use gtk; then + sed -i -e '/trackma-gtk/d' "${S}/setup.py" || die + rm "${S}/trackma/ui/gtkui.py" || die + fi + if ! use ncurses; then + sed -i -e '/trackma-curses/d' "${S}/setup.py" || die + rm "${S}/trackma/ui/curses.py" || die + fi + if ! use cli; then + sed -i -e '/trackma.ui.cli:main/d' "${S}/setup.py" || die + rm "${S}/trackma/ui/cli.py" || die + fi +} + +python_install_all() { + distutils-r1_python_install_all + newicon "${S}/trackma/data/icon.png" trackma.png + use cli && make_desktop_entry "${PN}" "${PN^} (cli)" "${PN}" "Network" "Terminal=true" + use ncurses && make_desktop_entry "${PN}-curses" "${PN^} (ncurses)" "${PN}" "Network" "Terminal=true" + use gtk && make_desktop_entry "${PN}-gtk" "${PN^} (gtk3)" "${PN}" "Network" "StartupWMClass=trackma-gtk3" + use qt5 && make_desktop_entry "${PN}-qt" "${PN^} (qt5)" "${PN}" "Network" "StartupWMClass=trackma-qt5" +}