diff options
author | Tim Harder <radhermit@gentoo.org> | 2020-01-16 04:41:34 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2020-01-16 05:02:59 -0700 |
commit | 0d5554d0842fd4416d5ea3fb7ebce9684a3788d0 (patch) | |
tree | 49e9058e52b41e8a22aa3eb6c321c195d3bf37dc | |
parent | sys-kernel/gentoo-sources: Clean-up of old 4.4.X kernels (diff) | |
download | gentoo-0d5554d0842fd4416d5ea3fb7ebce9684a3788d0.tar.gz gentoo-0d5554d0842fd4416d5ea3fb7ebce9684a3788d0.tar.bz2 gentoo-0d5554d0842fd4416d5ea3fb7ebce9684a3788d0.zip |
dev-python/cairocffi: version bump to 1.1.0
Add py38 support.
Signed-off-by: Tim Harder <radhermit@gentoo.org>
-rw-r--r-- | dev-python/cairocffi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cairocffi/cairocffi-1.1.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 7d70e1bcf90e..604145a342c4 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,3 +1,4 @@ DIST cairocffi-0.8.0.tar.gz 79217 BLAKE2B fefcee32e486c150d089b7d13b046c864b83fcc184f7880e86cfae0afc22c1e712ad7e835d76506b4ab0cefab6629abcc5bd86cd95c417dcc64c9374a8629110 SHA512 70179e05ca4a4efeaa39ade1ee1a96d280d198ecff5ae8c8fc634c24d8922ea6a3e1eb6cf5f55c5fc9d3f5b2fc3131a53051690eb86712762d8b6400df8a630a DIST cairocffi-0.9.0.tar.gz 84652 BLAKE2B 9f09c038619b0f44c568d6636861b0e12ffd7e9ab546f3a65bbd8e77eee7ff5f0c6f4d92a841696492b786d0067af86e25949b723ef6ef73ede370fbf2576d6d SHA512 0d3d54e0d54b3696c8336d8b3a6d745628da51d9d9f8c50f36006c007e1432a95dd9bafd8d865923059d040cc4e9f7989b3670a5318383b357ffc979eeb920d5 DIST cairocffi-1.0.2.tar.gz 68537 BLAKE2B ddaf20e0d878126c86b03aa87663391fad37386b8d2dae790e26c20b9050cd3bc36783a32a5c8ee99f64acb232701316bd8308be7327ce406cd49de4df3f92dc SHA512 0ae63be9d6ca4591d806e259ecb385086b053739de2e5098541078d4c142dd100b593a7712d5410a92ed7dbf6e9a7f7a5287f00425cd8d54ada421dae0cfd762 +DIST cairocffi-1.1.0.tar.gz 68744 BLAKE2B 604812572bb1a39ab52e41e03714acc93ddc7532e07ac36b693f53ad71cf0bcfd5d2f3bceb56b8e352fe7f179b174a244238b9cfcee690cbc0cb96e5b2934c75 SHA512 a9bc9ec5be767388aad9d06cc3b386b474dbacf097d3558b4033834cfb2f5418eede2f4b4080bec7e4725c6821f6e54d6c3366e8c4ee73bd3fa1cf444b395197 diff --git a/dev-python/cairocffi/cairocffi-1.1.0.ebuild b/dev-python/cairocffi/cairocffi-1.1.0.ebuild new file mode 100644 index 000000000000..859430eb4f98 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.1.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 virtualx + +MY_PN="${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="CFFI-based drop-in replacement for Pycairo" +HOMEPAGE="https://github.com/Kozea/cairocffi" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +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]" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-tests.patch + "${FILESDIR}"/${PN}-1.0.2-test-deps.patch +) + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + virtx py.test -v --pyargs cairocffi +} + +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |