mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/cairocffi: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cairocffi-1.1.0.tar.gz 68744 BLAKE2B 604812572bb1a39ab52e41e03714acc93ddc7532e07ac36b693f53ad71cf0bcfd5d2f3bceb56b8e352fe7f179b174a244238b9cfcee690cbc0cb96e5b2934c75 SHA512 a9bc9ec5be767388aad9d06cc3b386b474dbacf097d3558b4033834cfb2f5418eede2f4b4080bec7e4725c6821f6e54d6c3366e8c4ee73bd3fa1cf444b395197
|
||||
DIST cairocffi-1.2.0.tar.gz 70393 BLAKE2B b5cc69ec2805524e8f66a6234c4e19502181fad18c754379d91b05c2d2a88c82742f2b2057afcaac93f4d23ee64b41b2e84f029b6cb4ce2e7b3fa81ae0e8a485 SHA512 0f5b58ae85b2cc880bfb8ede6cbfe4905737211dab5b080815eb59f7cdd9c580367b9e00e7216d68ea9cbb84bda3f21ddcbccb2e744b86d6da8b991cffb96caf
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
|
||||
HOMEPAGE="https://github.com/Kozea/cairocffi"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
>=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo:0=[X,xcb(+)]
|
||||
x11-libs/gdk-pixbuf[jpeg]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.8.0-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.0.2-test-deps.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
virtx pytest -vv --pyargs cairocffi
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
Remove unnecessary test deps.
|
||||
|
||||
--- cairocffi-1.0.2/setup.cfg
|
||||
+++ cairocffi-1.0.2/setup.cfg
|
||||
@@ -36,16 +36,10 @@
|
||||
packages = find:
|
||||
setup_requires =
|
||||
cffi >= 1.1.0
|
||||
- pytest-runner
|
||||
setuptools
|
||||
install_requires =
|
||||
cffi >= 1.1.0
|
||||
setuptools >= 39.2.0
|
||||
-tests_require =
|
||||
- pytest-cov
|
||||
- pytest-flake8
|
||||
- pytest-isort
|
||||
- pytest-runner
|
||||
python_requires = >= 3.5
|
||||
|
||||
[options.package_data]
|
||||
@@ -58,11 +52,6 @@
|
||||
doc =
|
||||
sphinx
|
||||
sphinx_rtd_theme
|
||||
-test =
|
||||
- pytest-runner
|
||||
- pytest-cov
|
||||
- pytest-flake8
|
||||
- pytest-isort
|
||||
xcb =
|
||||
xcffib >= 0.3.2
|
||||
|
||||
@@ -74,7 +63,6 @@
|
||||
test = pytest
|
||||
|
||||
[tool:pytest]
|
||||
-addopts = --flake8 --isort
|
||||
norecursedirs = build dist .cache .eggs .git
|
||||
|
||||
[flake8]
|
||||
Reference in New Issue
Block a user