Files
gentoo/dev-python/svg-path/svg-path-3.0.ebuild
T
Horea Christian a27c87e27b 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>
2018-10-19 09:03:56 +02:00

34 lines
634 B
Bash

# 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
}