commit: d1d8b50e4a30845a726648fa7b0ff15363d4e065 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Fri Mar 2 21:58:44 2018 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Fri Mar 2 21:59:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d8b50e
dev-python/promises: version bump to 2.1 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-python/promises/Manifest | 1 + dev-python/promises/metadata.xml | 1 + dev-python/promises/promises-2.1.ebuild | 42 +++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/promises/Manifest b/dev-python/promises/Manifest index 51617d178c8..4030ee841d8 100644 --- a/dev-python/promises/Manifest +++ b/dev-python/promises/Manifest @@ -1 +1,2 @@ DIST promise-2.0.1.tar.gz 26274 BLAKE2B 528d938ab93790dc57545eb0064a014ea293d782ff6a7e6eeb2287f23c79c9cf9b2427ad57df524a888193c5aa9d62b21bd1e533d49ca4c8f2615d5719be58f9 SHA512 2bd9ad83a3b21dd4e3ae3052dfe6705790fb6ec925e9607960d43d9329fea606c82f6806599f09e6255ff5639c936369f88601668cf4ec8944747b1b6676693c +DIST promise-2.1.tar.gz 17974 BLAKE2B 5e1fc9bbed3af51812c43b1c13006037ada44404564a3064cb2e39657f6bb5dc0fec6d052ae9038439c60339fd4f4b5fa97330571398bf84243805b25ead94e8 SHA512 d4d5628c9b75f81fdb5d654a76e788df5296472cd73bcb8fd9a27979b8aadeb1d40a4d52cfed173341a5a97920132b00cee44d915ef640167127a249b5c0cac0 diff --git a/dev-python/promises/metadata.xml b/dev-python/promises/metadata.xml index cb3129483c6..5fbc074d749 100644 --- a/dev-python/promises/metadata.xml +++ b/dev-python/promises/metadata.xml @@ -7,5 +7,6 @@ </maintainer> <upstream> <remote-id type="github">syrusakbary/promise</remote-id> + <remote-id type="pypi">promise</remote-id> </upstream> </pkgmetadata> 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}] +"