summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-05 20:20:40 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-05 20:22:49 +0200
commit8d7a90b20eb2192fe530252f591dee662dc055a8 (patch)
tree237d87245689285146eaeaf3a949362fc88187f3 /dev-python/svgwrite
parentdev-python/sphinxcontrib-blockdiag: Bump to 3.0.0 (diff)
downloadgentoo-8d7a90b20eb2192fe530252f591dee662dc055a8.tar.gz
gentoo-8d7a90b20eb2192fe530252f591dee662dc055a8.tar.bz2
gentoo-8d7a90b20eb2192fe530252f591dee662dc055a8.zip
dev-python/svgwrite: Bump to 1.4.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/svgwrite')
-rw-r--r--dev-python/svgwrite/Manifest1
-rw-r--r--dev-python/svgwrite/svgwrite-1.4.2.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/svgwrite/Manifest b/dev-python/svgwrite/Manifest
index 8fb0740e4b82..59d32f15a6c2 100644
--- a/dev-python/svgwrite/Manifest
+++ b/dev-python/svgwrite/Manifest
@@ -1 +1,2 @@
DIST svgwrite-1.4.1.tar.gz 251446 BLAKE2B 21ca55911f6ac1be949c1a714bb61ac58b4b1c04397b1e9076a626080a8420c18a63afb5989c48c7ba6cb843f73bccebd9bd00ae0b032894096135c0ad366cd8 SHA512 74015ed4a72cd781a577ab8c2f38a30a1f6561ca0379e62ecaac8136f40998c926597d97a0c1006fdab69ac4a23ce1841bda296881ede511f3f1b4a2e8dea06f
+DIST svgwrite-1.4.2.gh.tar.gz 251587 BLAKE2B d375b45fb1ae4c06c4511975777cb5fc25d5bd949853e99c8213b60857992deaf1355d397b7a3377a288892863c6305d1a96892cd2230d9fcaab2bcdc849c7a3 SHA512 bf853da84f24f8d63d045797519d6c02a0e33cbcb549ae2ff09464c35eb85399920a5ffd01e2cd25ebb58b6daf851d6840b7ec927d3573fde02b6ad4e5812ad7
diff --git a/dev-python/svgwrite/svgwrite-1.4.2.ebuild b/dev-python/svgwrite/svgwrite-1.4.2.ebuild
new file mode 100644
index 000000000000..7df25c70cddf
--- /dev/null
+++ b/dev-python/svgwrite/svgwrite-1.4.2.ebuild
@@ -0,0 +1,32 @@
+# 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_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Package to write SVG files"
+HOMEPAGE="
+ https://github.com/mozman/svgwrite/
+ https://pypi.org/project/svgwrite/
+"
+SRC_URI="
+ https://github.com/mozman/svgwrite/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # fetches from the Internet
+ sed -i -e 's:test_embed_google_web_font:_&:' \
+ tests/test_style.py || die
+ distutils-r1_src_prepare
+}