summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2021-12-23 14:25:58 +0100
committerSimeon Simeonov2021-12-23 14:25:58 +0100
commit87d2072dbfec5e8bbd20162930eaf0ad298e061d (patch)
tree1320c7661096d9dcfe8e3587fa588e211560300e
parent6c493676a22b7f0f22a8f1ede32e23f843b66bcc (diff)
Add dev-python/etoolkit
-rw-r--r--dev-python/etoolkit/Manifest3
-rw-r--r--dev-python/etoolkit/etoolkit-1.0.0.ebuild38
-rw-r--r--dev-python/etoolkit/metadata.xml13
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/etoolkit/Manifest b/dev-python/etoolkit/Manifest
new file mode 100644
index 0000000..aa550e3
--- /dev/null
+++ b/dev-python/etoolkit/Manifest
@@ -0,0 +1,3 @@
1DIST etoolkit-1.0.0.tar.gz 37130 BLAKE2B f9b3aeb9f0a34e4f2c6ccd0919314622c3a7a61aacfb8aca692bcb020adb2669be716b6a9f97ebf7b0e84db92203d37d9b8b888168f160396af2824a81a52087 SHA512 90f51a01a1fcf1b9f6a4139c022930c925e6fa2c5b4403110a0e4527f35fa083f47270a769361632689e03fb28f32487623b9e72611f1755e64e299f4c0de1fb
2EBUILD etoolkit-1.0.0.ebuild 882 BLAKE2B 9916ba6319f89a0d41f853e4ad32b82bf015e9269d0a88be47930bc694577945d24e72cc0a84b304301b52f6f70f35eae2460201cc5c075ea1e184828c9ce043 SHA512 f6eebe81967a8da3a9b7c72f8b39dd1df6a994256a22365caa38fa6340fa62dd87efda2a541ed3421be73c9015db77adb0f7f7b04600ade09362b563f2226331
3MISC metadata.xml 400 BLAKE2B ca972e1b3593dba8814075aea91870d3782c2dc72f52925df71087e1901585f45c5fc5bbdf7e95b62fe1e396e0e9caa7e2282414bbd0434362e1984b0a6fad39 SHA512 9dd16ca280c598a6ce48816bf5e6e1b7a11b71e1915c06df0981e12995726fcaeebbe18b8106f793504963202d841ac7cb8c11f6afea77eed71e4b864147e7a4
diff --git a/dev-python/etoolkit/etoolkit-1.0.0.ebuild b/dev-python/etoolkit/etoolkit-1.0.0.ebuild
new file mode 100644
index 0000000..abcd218
--- /dev/null
+++ b/dev-python/etoolkit/etoolkit-1.0.0.ebuild
@@ -0,0 +1,38 @@
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}
diff --git a/dev-python/etoolkit/metadata.xml b/dev-python/etoolkit/metadata.xml
new file mode 100644
index 0000000..f6554d2
--- /dev/null
+++ b/dev-python/etoolkit/metadata.xml
@@ -0,0 +1,13 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3<pkgmetadata>
4 <maintainer type="project">
5 <email>sgs@pichove.org</email>
6 <name>Simeon Simeonov</name>
7 </maintainer>
8 <stabilize-allarches/>
9 <upstream>
10 <remote-id type="pypi">etoolkit</remote-id>
11 <remote-id type="github">blackm0re/etoolkit</remote-id>
12 </upstream>
13</pkgmetadata>