commit:     1d031b47cd4d49d16d3328575d7b2c2bef6a28a3
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 23 21:35:29 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 21:37:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d031b47

games-util/lutris: Bump to version 0.5.1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 games-util/lutris/Manifest            |  1 +
 games-util/lutris/lutris-0.5.1.ebuild | 75 +++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest
index d7c61df293a..71e798adc76 100644
--- a/games-util/lutris/Manifest
+++ b/games-util/lutris/Manifest
@@ -1,2 +1,3 @@
 DIST lutris-0.4.23.tar.gz 1831736 BLAKE2B 
9da20d5545e9d2474bed436443fed325beb3ed2e3e945cb27e25fbce88ac7aeb9547a0a1bcd74349e5c7bda0dd6be50949b5abaa1fc091a21217b330c6fe655f
 SHA512 
a0860920e01568888db5ac9a52c0d33a5108af33906ea411d4621dec4b059c399b17ca35c245bf9bfb506c6b242d32d917d3ade6898f619e00f9361117632fb3
 DIST lutris_0.5.0.1.tar.xz 1687904 BLAKE2B 
646182416201dd4e2fc025b600e569d87821ff98f2fc37ca6029479b7b097466e47135694303f8fc242c4d2632d0b4ecf471919181cd45b095bbff6ba8d973d4
 SHA512 
a9bf51f388859873de0af43b800692327b098c83966b9e32bbca3ccc0397e1ce5018e751b8f9fef5e83d9de4d1b014e330ffe7d8ab253af7dd2379151297f1bb
+DIST lutris_0.5.1.tar.xz 1740384 BLAKE2B 
fa9d35a96c38b8105e507b4e7d804f0ed79dd41b7abf906b52256e51b4ceaf1d0efca992d30de09ecd1fa470fa04fb9fe89f37076d1a0ed17f8d2fb4d4539d6b
 SHA512 
edd0b7d2817a4ce39d606757335f35ce66d6bf7fb7251f907d02299cafe1cd2a0528aeb203c8b9b7ff9d7a59c40966c581fdfd2e7794ac92e7eb0bdd3f9e1d4d

diff --git a/games-util/lutris/lutris-0.5.1.ebuild 
b/games-util/lutris/lutris-0.5.1.ebuild
new file mode 100644
index 00000000000..d6cbb9e6644
--- /dev/null
+++ b/games-util/lutris/lutris-0.5.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{4,5,6,7} )
+PYTHON_REQ_USE="sqlite,threads(+)"
+
+inherit distutils-r1 virtualx xdg
+
+DESCRIPTION="An open source gaming platform for GNU/Linux"
+HOMEPAGE="https://lutris.net/";
+
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/lutris/lutris.git";
+       inherit git-r3
+else
+       SRC_URI="https://lutris.net/releases/${P/-/_}.tar.xz";
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+BDEPEND="
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+RDEPEND="
+       app-arch/cabextract
+       app-arch/p7zip
+       app-arch/unrar
+       app-arch/unzip
+       dev-python/pillow[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       dev-python/python-evdev[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       gnome-base/gnome-desktop[introspection]
+       media-sound/fluid-soundfont
+       net-libs/libsoup
+       net-libs/webkit-gtk:4[introspection]
+       x11-apps/xgamma
+       x11-apps/xrandr
+       x11-libs/gtk+:3[introspection]
+       x11-libs/libnotify
+"
+
+S="${WORKDIR}/${PN}"
+
+python_install_all() {
+       local DOCS=( AUTHORS README.rst docs/installers.rst )
+       distutils-r1_python_install_all
+}
+
+python_test() {
+       virtx nosetests -v || die
+}
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       # Quote README.rst
+       elog "Lutris installations are fully automated through scripts, which 
can"
+       elog "be written in either JSON or YAML. The scripting syntax is 
described"
+       elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also"
+       elog "available online at lutris.net."
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

Reply via email to