summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-15 19:32:20 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-15 19:34:29 +0100
commit485394b6ebe2f3d83ad39388f2f07cb590d4670f (patch)
tree28a52da8af4b6023a69419f61a2e09330d8d1313 /dev-python
parentdev-python/python-utils: Remove 2.5.0 (diff)
downloadgentoo-485394b6ebe2f3d83ad39388f2f07cb590d4670f.tar.gz
gentoo-485394b6ebe2f3d83ad39388f2f07cb590d4670f.tar.bz2
gentoo-485394b6ebe2f3d83ad39388f2f07cb590d4670f.zip
dev-python/svgwrite: Bump to 1.4.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/svgwrite/Manifest1
-rw-r--r--dev-python/svgwrite/svgwrite-1.4.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/svgwrite/Manifest b/dev-python/svgwrite/Manifest
index 3197da5251f5..d5d2e8def4ca 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.tar.gz 251138 BLAKE2B b105fa60ed75628c59b3ad4d0ea32dddf83f618e213ce6974b5db0e93d519e563eb5a9ff5e37012f71c7ce79579ca927acfb8709d2f8e8ad316b04bae8abafcb SHA512 b722fc51c6b3755064942bb6c7ea199ba5902ee37e426962ed24e0b67659e72e8da36cd2516193e2348a939ab2ccd2c5114349ac72d7b9ea52a7b7d68ad1ce74
diff --git a/dev-python/svgwrite/svgwrite-1.4.1.ebuild b/dev-python/svgwrite/svgwrite-1.4.1.ebuild
new file mode 100644
index 000000000000..c4b91842d3ae
--- /dev/null
+++ b/dev-python/svgwrite/svgwrite-1.4.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1
+
+DESCRIPTION="Python Package to write SVG files"
+HOMEPAGE="https://github.com/mozman/svgwrite"
+SRC_URI="https://github.com/mozman/${PN}/archive/v${PV}.tar.gz -> ${P}.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
+}