mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-python/skia-pathops: now working
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
47
dev-python/skia-pathops/skia-pathops-0.4.1.ebuild
Normal file
47
dev-python/skia-pathops/skia-pathops-0.4.1.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="Python bindings for the Skia Path Ops"
|
||||
HOMEPAGE="
|
||||
https://github.com/fonttools/skia-pathops
|
||||
https://skia.org/dev/present/pathops
|
||||
"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
~media-libs/skia-80_p20191220:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest-cython[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-randomly[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
# dev-python/setuptools_git_ls_files[${PYTHON_USEDEP}]
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_setup() {
|
||||
export BUILD_SKIA_FROM_SOURCE=0
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/doctest-cython/d' -i tox.ini
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user