media-libs/sratom: bump to 0.6.10, added python3_11

Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2022-05-29 08:46:21 +02:00
parent 4ac912eb86
commit e04f10ea4d
2 changed files with 65 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sratom-0.6.10.tar.bz2 327047 BLAKE2B 6205a0269216099556556cd251649eba58fdf1a2c8a80611367f3b9564fe410ed7ff1c565ab7b628743fa99ca893eb7a86fed631872eff86e19de9ba534fae49 SHA512 cc5d2848d61de45a37d1f844b2c741016decf065bcac975214dd01108171ba332f0a51526f2f1078d5f501055af0a48716704515cbe7a9f73526fd878621ca4b
DIST sratom-0.6.8.tar.bz2 327027 BLAKE2B 8e11e03e6a66e9c96f90a0f31f4a65c660ed44304600caa2daad09b955a4829b266f7495b8ed85c62c34adfbc3e7f97790096bd721b51e1038986ac2e3926e60 SHA512 49ec4b230a72005ab7a7a3de0bfa630a27a16f9f811ca8e7f6da7fcf6b34526577217075d428a993f95b813dd2a82a9b6892eeb2e36b66b122ada778fbb3fb95

View File

@@ -0,0 +1,64 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE='threads(+)'
inherit python-any-r1 waf-utils multilib-build multilib-minimal
DESCRIPTION="Library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax"
HOMEPAGE="http://drobilla.net/software/sratom/"
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc static-libs test"
RESTRICT="!test? ( test )"
BDEPEND="
virtual/pkgconfig
doc? (
app-doc/doxygen
dev-python/sphinx
dev-python/sphinx_lv2_theme
)
"
RDEPEND="
dev-libs/serd
dev-libs/sord
media-libs/lv2
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
"
DOCS=( "NEWS" "README.md" )
src_prepare() {
sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
default
multilib_copy_sources
}
multilib_src_configure() {
waf-utils_src_configure \
--docdir=/usr/share/doc/${PF} \
$(multilib_native_usex doc --docs "") \
$(usex test --test "") \
$(usex static-libs --static "")
}
multilib_src_test() {
./waf test || die
}
multilib_src_compile() {
waf-utils_src_compile
default
}
multilib_src_install() {
waf-utils_src_install
default
}