summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <horea.christ@yandex.com>2018-10-02 22:39:48 +0200
committerMichał Górny <mgorny@gentoo.org>2018-10-19 09:03:56 +0200
commita27c87e27b8e09dd5f4578b382a52fc12465d2f7 (patch)
treefa565eab384012273436728cb7ab7d4ebb7c5f05 /dev-python/svg-path
parentnet-libs/libssh2: fix Prefix install, thanks Olivier Huber (diff)
downloadgentoo-a27c87e27b8e09dd5f4578b382a52fc12465d2f7.tar.gz
gentoo-a27c87e27b8e09dd5f4578b382a52fc12465d2f7.tar.bz2
gentoo-a27c87e27b8e09dd5f4578b382a52fc12465d2f7.zip
dev-python/svg-path: new package
Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Horea Christian <horea.christ@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10048 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/svg-path')
-rw-r--r--dev-python/svg-path/Manifest1
-rw-r--r--dev-python/svg-path/metadata.xml21
-rw-r--r--dev-python/svg-path/svg-path-3.0.ebuild33
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/svg-path/Manifest b/dev-python/svg-path/Manifest
new file mode 100644
index 000000000000..e510a64cce03
--- /dev/null
+++ b/dev-python/svg-path/Manifest
@@ -0,0 +1 @@
+DIST svg.path-3.0.tar.gz 17077 BLAKE2B 6fdb51c982575639337d74a6f02f0bb3cc44dac56bd6982dec6493bed52d9caab5ed725ac59bf754f309cc62ef6f77faec462afacc8f93ce9a20b886ef2b5c8e SHA512 73d23f1386bbd4d1c1d805766f7e6fe6f8b7ac731e104020e7d853d7f1b46bc2681f44ef20d9c5343197d9d16b2af49f2c4ef4ba5945f4d25fa0493502203e13
diff --git a/dev-python/svg-path/metadata.xml b/dev-python/svg-path/metadata.xml
new file mode 100644
index 000000000000..e87a1113f92b
--- /dev/null
+++ b/dev-python/svg-path/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>horea.christ@gmail.com</email>
+ <name>Horea Christian</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The svg.path package provides a collection of Python objects that
+ implement the different path commands in SVG, as well as a parser for
+ SVG path definitions.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">regebro/svg.path</remote-id>
+ <remote-id type="pypi">svg.path</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/svg-path/svg-path-3.0.ebuild b/dev-python/svg-path/svg-path-3.0.ebuild
new file mode 100644
index 000000000000..7856e4825787
--- /dev/null
+++ b/dev-python/svg-path/svg-path-3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit distutils-r1
+
+MY_PN="svg.path"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="SVG path objects and parser"
+HOMEPAGE="https://github.com/regebro/svg.path"
+SRC_URI="https://github.com/regebro/svg.path/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ esetup.py test || die
+}
+
+python_install() {
+ python_domodule src/svg
+}