summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-08-20 22:03:21 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-08-20 22:09:56 -0400
commit8f3b5766fed7c86b5f683f5f45907d56414f8c2c (patch)
tree5eec831e95e7f34cc9fd255e28f28865a6c8e32c /dev-python/blinker
parentdev-python/click: add python 3.7 support (diff)
downloadgentoo-8f3b5766fed7c86b5f683f5f45907d56414f8c2c.tar.gz
gentoo-8f3b5766fed7c86b5f683f5f45907d56414f8c2c.tar.bz2
gentoo-8f3b5766fed7c86b5f683f5f45907d56414f8c2c.zip
dev-python/blinker: add python 3.7 support
Package-Manager: Portage-2.3.47, Repoman-2.3.10
Diffstat (limited to 'dev-python/blinker')
-rw-r--r--dev-python/blinker/blinker-1.4-r1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/blinker/blinker-1.4-r1.ebuild b/dev-python/blinker/blinker-1.4-r1.ebuild
new file mode 100644
index 000000000000..4a0425067cdb
--- /dev/null
+++ b/dev-python/blinker/blinker-1.4-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Fast, simple object-to-object and broadcast signaling"
+HOMEPAGE="https://pythonhosted.org/blinker/ https://pypi.org/project/blinker/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_test() {
+ nosetests -v || die "Testing failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( docs/html/. )
+ distutils-r1_python_install_all
+}