From a27c87e27b8e09dd5f4578b382a52fc12465d2f7 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Tue, 2 Oct 2018 22:39:48 +0200 Subject: dev-python/svg-path: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Horea Christian Closes: https://github.com/gentoo/gentoo/pull/10048 Signed-off-by: Michał Górny --- dev-python/svg-path/Manifest | 1 + dev-python/svg-path/metadata.xml | 21 +++++++++++++++++++++ dev-python/svg-path/svg-path-3.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-python/svg-path/Manifest create mode 100644 dev-python/svg-path/metadata.xml create mode 100644 dev-python/svg-path/svg-path-3.0.ebuild 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 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 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. + + + regebro/svg.path + svg.path + + 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 +} -- cgit v1.2.3-65-gdbad