summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2018-10-31 16:17:47 +0100
committerUltrabug <ultrabug@gentoo.org>2018-10-31 16:18:27 +0100
commita2953bb74ec8dbef40175de4f70d362bf7810db7 (patch)
treef05976d6c9814b7610d0b9e20f291080c412999f /x11-misc/py3status
parentsci-visualization/paraview: update dependency (diff)
downloadgentoo-a2953bb74ec8dbef40175de4f70d362bf7810db7.tar.gz
gentoo-a2953bb74ec8dbef40175de4f70d362bf7810db7.tar.bz2
gentoo-a2953bb74ec8dbef40175de4f70d362bf7810db7.zip
x11-misc/py3status: version bump with gevent and udev USE flags
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'x11-misc/py3status')
-rw-r--r--x11-misc/py3status/Manifest1
-rw-r--r--x11-misc/py3status/metadata.xml4
-rw-r--r--x11-misc/py3status/py3status-3.13.ebuild30
3 files changed, 35 insertions, 0 deletions
diff --git a/x11-misc/py3status/Manifest b/x11-misc/py3status/Manifest
index f3fcd30196c1..bffb56cb16fa 100644
--- a/x11-misc/py3status/Manifest
+++ b/x11-misc/py3status/Manifest
@@ -1 +1,2 @@
DIST py3status-3.12.tar.gz 278589 BLAKE2B 9a0e153d19fd6e60a825e688320f1307465f80c18c62910b514bf5fdb0db98fd50dd54325219a7160b56febefc0a4ba7b8b0db61bbe8ae36bbfa68bb50b69a60 SHA512 ca236d14ef4a01df4015931460032bd9fb48ffb94e7c6a86b783d83149c6b3db3e25159e1ea0593d49c937abfc8362e3e16c7e376424aaa42cd5ebee67bc5c6c
+DIST py3status-3.13.tar.gz 298746 BLAKE2B df0d24a76da60355f715aece9e0080cb3a281a0ee2a57407d8155f5ed4fb56f075852921d9a43713e3c8c98a9d1376e530f6113f6bb247b0c77e9dda50e3eb2e SHA512 41ff404ced56e3c10c31d1629e701299d5ea7676cecdc1bd4226d81659ec320e16d9ac8c07ff302a210ba692249b262257c706d06605e1dd429c2ebcca736787
diff --git a/x11-misc/py3status/metadata.xml b/x11-misc/py3status/metadata.xml
index ca06ced2e0e4..d823cd0df908 100644
--- a/x11-misc/py3status/metadata.xml
+++ b/x11-misc/py3status/metadata.xml
@@ -12,4 +12,8 @@
<remote-id type="pypi">py3status</remote-id>
<remote-id type="github">ultrabug/py3status</remote-id>
</upstream>
+ <use>
+ <flag name="gevent">Install extra requirement <pkg>dev-python/gevent</pkg> to enable green threads.</flag>
+ <flag name="udev">Install extra requirement <pkg>dev-python/pyudev</pkg> to enable udev events monitoring on modules.</flag>
+ </use>
</pkgmetadata>
diff --git a/x11-misc/py3status/py3status-3.13.ebuild b/x11-misc/py3status/py3status-3.13.ebuild
new file mode 100644
index 000000000000..10ccdf7c1270
--- /dev/null
+++ b/x11-misc/py3status/py3status-3.13.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+SRC_URI="https://github.com/ultrabug/py3status/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+inherit distutils-r1
+
+MY_PN="py3status"
+MY_P="${MY_PN}-${PV/_/-}"
+
+DESCRIPTION="py3status is an extensible i3status wrapper written in python"
+HOMEPAGE="https://github.com/ultrabug/py3status"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gevent +udev"
+
+RDEPEND="
+ x11-misc/i3status
+ gevent? ( >=dev-python/gevent-1.2.0[${PYTHON_USEDEP}] )
+ udev? ( >=dev-python/pyudev-0.21.0[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}