x11-misc/py3status: version bump with gevent and udev USE flags
authorUltrabug <ultrabug@gentoo.org>
Wed, 31 Oct 2018 15:17:47 +0000 (16:17 +0100)
committerUltrabug <ultrabug@gentoo.org>
Wed, 31 Oct 2018 15:18:27 +0000 (16:18 +0100)
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

x11-misc/py3status/Manifest
x11-misc/py3status/metadata.xml
x11-misc/py3status/py3status-3.13.ebuild [new file with mode: 0644]

index f3fcd30196c1317134ec005ec21862ad92b9e04b..bffb56cb16fac36af0b6921071be7a5a9348da6d 100644 (file)
@@ -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
index ca06ced2e0e46bc3ab4d1b71b8a4c6df8566ca57..d823cd0df9087883912d14b4d6be2b6973eafe2c 100644 (file)
@@ -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 (file)
index 0000000..10ccdf7
--- /dev/null
@@ -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}