dev-python/resvg-py - 0.3.4 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/resvg-py-0.3.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/resvg-py-0.3.4

Or alternatively:

emerge --autounmask-write -a =dev-python/resvg-py-0.3.4

Package Information

Description:
Python bindings for resvg, a high-performance SVG rendering library written in Rust
Homepage:
https://pypi.org/project/resvg-py/ https://github.com/baseplate-admin/resvg-py
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
0.3.4 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="
	adler2@2.0.1
	arrayref@0.3.9
	arrayvec@0.7.8
	autocfg@1.5.1
	base64@0.23.0
	bitflags@2.13.1
	bytemuck@1.25.2
	bytemuck_derive@1.11.0
	byteorder-lite@0.1.0
	cfg-if@1.0.4
	color_quant@1.1.0
	crc32fast@1.5.0
	data-url@0.3.2
	euclid@0.22.14
	fdeflate@0.3.7
	flate2@1.1.9
	float-cmp@0.9.0
	font-types@0.12.2
	fontconfig-parser@0.5.8
	fontdb@0.24.0
	gif@0.14.2
	harfrust@0.12.0
	heck@0.5.0
	image-webp@0.2.4
	imagesize@0.15.0
	kurbo@0.13.1
	libc@0.2.189
	log@0.4.33
	memchr@2.8.3
	memmap2@0.9.11
	miniz_oxide@0.8.9
	num-traits@0.2.19
	once_cell@1.21.4
	pico-args@0.5.0
	png@0.18.1
	polycool@0.4.0
	portable-atomic@1.14.0
	proc-macro2@1.0.107
	pyo3-build-config@0.29.0
	pyo3-ffi@0.29.0
	pyo3-macros-backend@0.29.0
	pyo3-macros@0.29.0
	pyo3@0.29.0
	quick-error@2.0.1
	quote@1.0.47
	read-fonts@0.41.0
	resvg@0.48.1
	rgb@0.8.53
	roxmltree@0.20.0
	roxmltree@0.21.1
	simd-adler32@0.3.10
	simplecss@0.2.2
	siphasher@1.0.3
	skrifa@0.44.0
	slotmap@1.1.1
	smallvec@1.15.2
	strict-num@0.1.1
	svgtypes@0.16.1
	syn@2.0.119
	target-lexicon@0.13.5
	tiny-skia-path@0.12.0
	tiny-skia@0.12.0
	tinyvec@1.12.0
	tinyvec_macros@0.1.1
	unicode-bidi@0.3.18
	unicode-ident@1.0.24
	unicode-script@0.5.8
	unicode-vo@0.1.0
	usvg@0.48.1
	version_check@0.9.5
	weezl@0.1.12
	xmlwriter@0.1.0
	zune-core@0.5.1
	zune-jpeg@0.5.15
"



PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=maturin
PYPI_NO_NORMALIZE=1
PYPI_PN="resvg_py"
RUST_MIN_VER="1.80.0"

inherit cargo distutils-r1 pypi

DESCRIPTION="Python bindings for resvg, a high-performance SVG rendering library written in Rust"
HOMEPAGE="https://pypi.org/project/resvg-py/
          https://github.com/baseplate-admin/resvg-py"  # Primary active repo; alternative forks exist
SRC_URI+="
	${CARGO_CRATE_URIS}
"

LICENSE="MPL-2.0"  # Inherited from resvg
SLOT="0"
KEYWORDS="~amd64 ~arm64"  # Prebuilt wheels available for common arches; add others as needed

RDEPEND=""

BDEPEND="
	${RDEPEND}
	>=dev-util/maturin-1.0[${PYTHON_USEDEP}]
"

# The package is built with maturin (PyO3), bundling the Rust library → no system Rust libs needed at runtime
# Tests require additional setup; disabled by default to avoid failures on minimal systems
RESTRICT="test"

distutils_enable_tests pytest

Inherited Eclasses

Dependencies

BDEPEND

	
	>=dev-util/maturin-1.0[]