public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/trackma/
Date: Sun,  5 Nov 2017 15:37:50 +0000 (UTC)	[thread overview]
Message-ID: <1509896259.d0a6737ee3ba9c530354e56782b715d5f9a75938.monsieurp@gentoo> (raw)

commit:     d0a6737ee3ba9c530354e56782b715d5f9a75938
Author:     soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Sat Nov  4 15:29:41 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> 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"
+}


             reply	other threads:[~2017-11-05 15:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-05 15:37 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-06  0:02 [gentoo-commits] repo/gentoo:master commit in: net-misc/trackma/ Ben Kohler
2019-12-06  0:02 Ben Kohler
2019-12-05 23:45 Ben Kohler
2018-07-18 21:11 Jonas Stein
2018-06-26 19:51 Pacho Ramos
2017-08-12 22:39 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1509896259.d0a6737ee3ba9c530354e56782b715d5f9a75938.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox