commit: a27c87e27b8e09dd5f4578b382a52fc12465d2f7 Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Tue Oct 2 20:39:48 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Oct 19 07:03:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27c87e2
dev-python/svg-path: new package Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Horea Christian <horea.christ <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10048 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> 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(+) diff --git a/dev-python/svg-path/Manifest b/dev-python/svg-path/Manifest new file mode 100644 index 00000000000..e510a64cce0 --- /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 00000000000..e87a1113f92 --- /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.chr...@gmail.com</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>proxy-ma...@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 00000000000..7856e482578 --- /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 +}