Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/svg-path/
Date: Fri, 19 Oct 2018 07:06:36
Message-Id: 1539932636.a27c87e27b8e09dd5f4578b382a52fc12465d2f7.mgorny@gentoo
1 commit: a27c87e27b8e09dd5f4578b382a52fc12465d2f7
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Tue Oct 2 20:39:48 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 19 07:03:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27c87e2
7
8 dev-python/svg-path: new package
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11 Signed-off-by: Horea Christian <horea.christ <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/10048
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-python/svg-path/Manifest | 1 +
16 dev-python/svg-path/metadata.xml | 21 +++++++++++++++++++++
17 dev-python/svg-path/svg-path-3.0.ebuild | 33 +++++++++++++++++++++++++++++++++
18 3 files changed, 55 insertions(+)
19
20 diff --git a/dev-python/svg-path/Manifest b/dev-python/svg-path/Manifest
21 new file mode 100644
22 index 00000000000..e510a64cce0
23 --- /dev/null
24 +++ b/dev-python/svg-path/Manifest
25 @@ -0,0 +1 @@
26 +DIST svg.path-3.0.tar.gz 17077 BLAKE2B 6fdb51c982575639337d74a6f02f0bb3cc44dac56bd6982dec6493bed52d9caab5ed725ac59bf754f309cc62ef6f77faec462afacc8f93ce9a20b886ef2b5c8e SHA512 73d23f1386bbd4d1c1d805766f7e6fe6f8b7ac731e104020e7d853d7f1b46bc2681f44ef20d9c5343197d9d16b2af49f2c4ef4ba5945f4d25fa0493502203e13
27
28 diff --git a/dev-python/svg-path/metadata.xml b/dev-python/svg-path/metadata.xml
29 new file mode 100644
30 index 00000000000..e87a1113f92
31 --- /dev/null
32 +++ b/dev-python/svg-path/metadata.xml
33 @@ -0,0 +1,21 @@
34 +<?xml version='1.0' encoding='UTF-8'?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="person">
38 + <email>horea.christ@×××××.com</email>
39 + <name>Horea Christian</name>
40 + </maintainer>
41 + <maintainer type="project">
42 + <email>proxy-maint@g.o</email>
43 + <name>Proxy Maintainers</name>
44 + </maintainer>
45 + <longdescription lang="en">
46 + The svg.path package provides a collection of Python objects that
47 + implement the different path commands in SVG, as well as a parser for
48 + SVG path definitions.
49 + </longdescription>
50 + <upstream>
51 + <remote-id type="github">regebro/svg.path</remote-id>
52 + <remote-id type="pypi">svg.path</remote-id>
53 + </upstream>
54 +</pkgmetadata>
55
56 diff --git a/dev-python/svg-path/svg-path-3.0.ebuild b/dev-python/svg-path/svg-path-3.0.ebuild
57 new file mode 100644
58 index 00000000000..7856e482578
59 --- /dev/null
60 +++ b/dev-python/svg-path/svg-path-3.0.ebuild
61 @@ -0,0 +1,33 @@
62 +# Copyright 1999-2018 Gentoo Authors
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI=7
66 +
67 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
68 +
69 +inherit distutils-r1
70 +
71 +MY_PN="svg.path"
72 +MY_P="${MY_PN}-${PV}"
73 +
74 +DESCRIPTION="SVG path objects and parser"
75 +HOMEPAGE="https://github.com/regebro/svg.path"
76 +SRC_URI="https://github.com/regebro/svg.path/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
77 +
78 +LICENSE="MIT"
79 +SLOT="0"
80 +KEYWORDS="~amd64 ~x86"
81 +IUSE=""
82 +
83 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
84 +RDEPEND="${DEPEND}"
85 +
86 +S="${WORKDIR}/${MY_P}"
87 +
88 +python_test() {
89 + esetup.py test || die
90 +}
91 +
92 +python_install() {
93 + python_domodule src/svg
94 +}