summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-12-27 00:36:34 -0600
committerTim Harder <radhermit@gentoo.org>2018-12-27 00:57:49 -0600
commitbf72f6f6a5853c70e4d6df8cf743c7bea1782fa6 (patch)
tree408f769e3554b58664ce32fed32c3c60426011b9 /dev-python/svgwrite
parentdev-python/pytest-runner: version bump to 4.2 (diff)
downloadgentoo-bf72f6f6a5853c70e4d6df8cf743c7bea1782fa6.tar.gz
gentoo-bf72f6f6a5853c70e4d6df8cf743c7bea1782fa6.tar.bz2
gentoo-bf72f6f6a5853c70e4d6df8cf743c7bea1782fa6.zip
dev-python/svgwrite: version bump to 1.2.1
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/svgwrite')
-rw-r--r--dev-python/svgwrite/Manifest1
-rw-r--r--dev-python/svgwrite/svgwrite-1.2.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/svgwrite/Manifest b/dev-python/svgwrite/Manifest
index 8b9eaa089053..a084815d7413 100644
--- a/dev-python/svgwrite/Manifest
+++ b/dev-python/svgwrite/Manifest
@@ -1 +1,2 @@
DIST svgwrite-1.1.12.tar.gz 202920 BLAKE2B a2b60f3c3829203342919bc75d01f64515f13ba305f357fa788c3754679451e21a7ab97eb517413d4e882e7271d063e7034a10bb70a1946d84734e23e838bdd1 SHA512 326fcc0dd0749925c0c35793a91ffdb25be1fd724d7d87bd6491a6396a6ab65fce073a387faac4f3d034ceadcf24ef73e3838cd249c4e1c19e20b1e82769cf1a
+DIST svgwrite-1.2.1.tar.gz 207371 BLAKE2B 8d6198dbfbc9230eb1592651bde3daaf3f14570aa57fb5b0a3e0989b36b76181bfeac9ee96ee7dcf0ad6e53d1e4ec7035e66d2d1f45ef92de59fa0305f391923 SHA512 8874a25ce5418dc86b0f7034555aca46619c415ec6c51243d713f168f9255ddec8d17ecde13cbfe1a4ffcfbad5b160db62d226b5b0106725dd263763d43abdc2
diff --git a/dev-python/svgwrite/svgwrite-1.2.1.ebuild b/dev-python/svgwrite/svgwrite-1.2.1.ebuild
new file mode 100644
index 000000000000..aa6acd5719f2
--- /dev/null
+++ b/dev-python/svgwrite/svgwrite-1.2.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+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"
+IUSE="test"
+
+RDEPEND=">=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+ py.test -v || die "tests failed with ${EPYTHON}"
+}