1
0
Fork 0

Added package

This commit is contained in:
Horea Christian 2018-10-05 14:46:03 +02:00
parent bd8c48ef42
commit 0ddb7a5bfb
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST svg-path-3.0.tar.gz 17077 BLAKE2B 6fdb51c982575639337d74a6f02f0bb3cc44dac56bd6982dec6493bed52d9caab5ed725ac59bf754f309cc62ef6f77faec462afacc8f93ce9a20b886ef2b5c8e SHA512 73d23f1386bbd4d1c1d805766f7e6fe6f8b7ac731e104020e7d853d7f1b46bc2681f44ef20d9c5343197d9d16b2af49f2c4ef4ba5945f4d25fa0493502203e13

View File

@ -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>

View File

@ -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_{5,6} )
inherit distutils-r1
MY_PN="svg.path"
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 -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
python_test() {
${EPYTHON} setup.py test || die
}
python_install() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
}