summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-03-02 16:58:44 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-03-02 16:59:00 -0500
commitd1d8b50e4a30845a726648fa7b0ff15363d4e065 (patch)
treee972fbbdb704705132b56f820c9e6fabdae119fe /dev-python/promises/promises-2.1.ebuild
parentdev-perl/DBD-SQLite-1.540.0-r1: arm64 stable (bug #647692) (diff)
downloadgentoo-d1d8b50e4a30845a726648fa7b0ff15363d4e065.tar.gz
gentoo-d1d8b50e4a30845a726648fa7b0ff15363d4e065.tar.bz2
gentoo-d1d8b50e4a30845a726648fa7b0ff15363d4e065.zip
dev-python/promises: version bump to 2.1
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/promises/promises-2.1.ebuild')
-rw-r--r--dev-python/promises/promises-2.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/promises/promises-2.1.ebuild b/dev-python/promises/promises-2.1.ebuild
new file mode 100644
index 00000000000..5a444b8ed99
--- /dev/null
+++ b/dev-python/promises/promises-2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+
+inherit distutils-r1
+
+MY_PN=${PN%s}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="An implementation of Promises in Python"
+HOMEPAGE="https://github.com/syrusakbary/promise"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-python/typing[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+RESTRICT=test
+# TODO: When we get all the dependencies in, we can add test
+# test? (
+# >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
+# dev-python/pytest-cov[${PYTHON_USEDEP}]
+# dev-python/coveralls[${PYTHON_USEDEP}]
+# dev-python/futures[${PYTHON_USEDEP}]
+# dev-python/pytest-benchmark[${PYTHON_USEDEP}]
+# dev-python/mock[${PYTHON_USEDEP}]
+# )
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"