commit:     34608a71618411d5b607289faa9b99abd1a4c5f6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 27 09:48:11 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 27 10:02:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34608a71

dev-python/tomli-w: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild 
b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..d45b2248a1e7
--- /dev/null
+++ b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A lil' TOML writer"
+HOMEPAGE="
+       https://pypi.org/project/tomli-w/
+       https://github.com/hukkin/tomli-w/";
+SRC_URI="
+       https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+
+BDEPEND="
+       test? ( dev-python/tomli[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest

Reply via email to