mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-28 04:07:32 -07:00
43 lines
943 B
Bash
43 lines
943 B
Bash
# 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}]
|
|
"
|