Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dicttoxml/
Date: Sat, 29 Jan 2022 12:35:26
Message-Id: 1643459709.2ef08fa78e9d8eca4eb022b0b9a22cde7f6a7bd1.mgorny@gentoo
1 commit: 2ef08fa78e9d8eca4eb022b0b9a22cde7f6a7bd1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 12:34:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 12:35:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef08fa7
7
8 dev-python/dicttoxml: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/dicttoxml/dicttoxml-1.7.4-r3.ebuild | 22 ++++++++++++++++++++++
13 1 file changed, 22 insertions(+)
14
15 diff --git a/dev-python/dicttoxml/dicttoxml-1.7.4-r3.ebuild b/dev-python/dicttoxml/dicttoxml-1.7.4-r3.ebuild
16 new file mode 100644
17 index 000000000000..5f65f5b39908
18 --- /dev/null
19 +++ b/dev-python/dicttoxml/dicttoxml-1.7.4-r3.ebuild
20 @@ -0,0 +1,22 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Converts a Python dictionary or other data type to a valid XML string"
32 +HOMEPAGE="https://github.com/quandyfactory/dicttoxml https://pypi.org/project/dicttoxml/"
33 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
38 +
39 +PATCHES=(
40 + # https://github.com/quandyfactory/dicttoxml/pull/73/files
41 + "${FILESDIR}/${P}-py3.10.patch"
42 +)