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/svgwrite/
Date: Thu, 19 May 2022 08:03:11
Message-Id: 1652947335.b4cc3f41ada8ef074f9ff0450eaa862f9f36dadf.mgorny@gentoo
1 commit: b4cc3f41ada8ef074f9ff0450eaa862f9f36dadf
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 08:00:37 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 08:02:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4cc3f41
7
8 dev-python/svgwrite: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/svgwrite/svgwrite-1.4.1-r1.ebuild | 32 ++++++++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/dev-python/svgwrite/svgwrite-1.4.1-r1.ebuild b/dev-python/svgwrite/svgwrite-1.4.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..2b05b0613034
18 --- /dev/null
19 +++ b/dev-python/svgwrite/svgwrite-1.4.1-r1.ebuild
20 @@ -0,0 +1,32 @@
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=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python Package to write SVG files"
32 +HOMEPAGE="
33 + https://github.com/mozman/svgwrite/
34 + https://pypi.org/project/svgwrite/
35 +"
36 +SRC_URI="
37 + https://github.com/mozman/svgwrite/archive/v${PV}.tar.gz
38 + -> ${P}.tar.gz
39 +"
40 +
41 +LICENSE="MIT"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +
45 +distutils_enable_tests pytest
46 +
47 +src_prepare() {
48 + # fetches from the Internet
49 + sed -i -e 's:test_embed_google_web_font:_&:' \
50 + tests/test_style.py || die
51 + distutils-r1_src_prepare
52 +}