summaryrefslogtreecommitdiff
path: root/dev-python/tomlkit/tomlkit-0.9.2.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-09 01:41:44 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-09 01:41:44 +0000
commit3ee9ccd07a19b4a620f1f09946d1e15ccda85d3b (patch)
treefe506f7eead2d5e60abef67335ae166c2e5f8337 /dev-python/tomlkit/tomlkit-0.9.2.ebuild
parent325b4ec81c4e705d8679c0882208d1c9f5bd5f9d (diff)
downloadsrcux-3ee9ccd07a19b4a620f1f09946d1e15ccda85d3b.tar.gz
srcux-3ee9ccd07a19b4a620f1f09946d1e15ccda85d3b.tar.xz
srcux-3ee9ccd07a19b4a620f1f09946d1e15ccda85d3b.zip
Adding metadata
Diffstat (limited to 'dev-python/tomlkit/tomlkit-0.9.2.ebuild')
-rw-r--r--dev-python/tomlkit/tomlkit-0.9.2.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/tomlkit/tomlkit-0.9.2.ebuild b/dev-python/tomlkit/tomlkit-0.9.2.ebuild
new file mode 100644
index 000000000000..ce7cbb16f320
--- /dev/null
+++ b/dev-python/tomlkit/tomlkit-0.9.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Style preserving TOML library"
+HOMEPAGE="https://github.com/sdispater/tomlkit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+src_configure() {
+ # use setup.py to avoid circular dep with poetry-core
+ cat > pyproject.toml <<-EOF || die
+ [build-system]
+ requires = ["setuptools", "wheel"]
+ build-backend = "setuptools.build_meta"
+ EOF
+}