summaryrefslogtreecommitdiff
path: root/dev-python/etoolkit/etoolkit-1.0.0.ebuild
diff options
context:
space:
mode:
authorSimeon Simeonov2022-02-20 16:36:04 +0100
committerSimeon Simeonov2022-02-20 16:36:04 +0100
commit8d54a2833ccb36965c9373e5f9b99469a07bf5b5 (patch)
treefe45234252f19b3ba1b8685c41b712d7fc814683 /dev-python/etoolkit/etoolkit-1.0.0.ebuild
parentbac8d703b4be7c70eb83e68e8763f2eae6a370ec (diff)
Improve ebuild for dev-python/etoolkit
Diffstat (limited to 'dev-python/etoolkit/etoolkit-1.0.0.ebuild')
-rw-r--r--dev-python/etoolkit/etoolkit-1.0.0.ebuild38
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-python/etoolkit/etoolkit-1.0.0.ebuild b/dev-python/etoolkit/etoolkit-1.0.0.ebuild
deleted file mode 100644
index abcd218..0000000
--- a/dev-python/etoolkit/etoolkit-1.0.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
1# Copyright 1999-2020 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=7
5
6DISTUTILS_USE_SETUPTOOLS=rdepend
7PYTHON_COMPAT=( python3_{7,8,9,10} )
8
9inherit distutils-r1
10
11DESCRIPTION="A simple toolkit for setting environment variables in a flexible way"
12HOMEPAGE="https://github.com/blackm0re/etoolkit"
13MY_PN="etoolkit"
14MY_P="${MY_PN}-${PV}"
15SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
16KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
17S="${WORKDIR}/${MY_P}"
18
19LICENSE="BSD"
20SLOT="0"
21IUSE="test"
22RESTRICT="!test? ( test )"
23
24DEPEND="
25 dev-python/setuptools[${PYTHON_USEDEP}]
26 test? (
27 ${RDEPEND}
28 dev-python/pytest[${PYTHON_USEDEP}]
29 )"
30
31python_test() {
32 PYTHONPATH=${S}:${PYTHONPATH} \
33 pytest -vv -p no:httpbin || die "Testing failed with ${EPYTHON}"
34}
35
36python_install_all() {
37 distutils-r1_python_install_all
38}