summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-10-02 08:45:39 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-10-02 08:45:48 +0200
commit676b1c61f9c8f69b71992e7d34ca415f3018b7f8 (patch)
tree44715ca15e3dbb939245f6de3d7a4a022becccee /dev-libs/serd
parentsys-kernel/pf-sources: add 5.19-pf6 (diff)
downloadgentoo-676b1c61f9c8f69b71992e7d34ca415f3018b7f8.tar.gz
gentoo-676b1c61f9c8f69b71992e7d34ca415f3018b7f8.tar.bz2
gentoo-676b1c61f9c8f69b71992e7d34ca415f3018b7f8.zip
dev-libs/serd: bump to 0.30.16 + updated homepage & dropped python eclass
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-libs/serd')
-rw-r--r--dev-libs/serd/Manifest1
-rw-r--r--dev-libs/serd/serd-0.30.14-r1.ebuild7
-rw-r--r--dev-libs/serd/serd-0.30.16.ebuild51
3 files changed, 54 insertions, 5 deletions
diff --git a/dev-libs/serd/Manifest b/dev-libs/serd/Manifest
index 54c70923eabd..72f7a5749eac 100644
--- a/dev-libs/serd/Manifest
+++ b/dev-libs/serd/Manifest
@@ -1 +1,2 @@
DIST serd-0.30.14.tar.xz 168728 BLAKE2B 42ed92e8eed3564c2625dd2f8e9bff55b65d1c8c993f13f2aa7ea0ab41a4c261b6b8fe9d4c61a915157616df1dba11d37f3813cd7bf7cd4571cb535895cb8f9c SHA512 d753bf60d4ff37220e64fda6a5dc6c69dc1a52ef435ab5b1e698f72dc5a7280ea764bb53b015753c3dc0910f252ca96c0ebafcb902a9956fcbf0a4480ce4e1dc
+DIST serd-0.30.16.tar.xz 173932 BLAKE2B 0021125505bf23565a1cca24dc83eff3496fc11fe6b38dc07b68d800c7bd6a854923bc7c529161b659bd80cb7aa8c3b45e767f0841b57d4803d820e0016e2ed2 SHA512 1bc2e310027d52ea675aa261b52e89c4c1ccb622fa9fef11c874876de7821fe94672918ff58b9edcc7995daa70fc88b7ceb88fae61dd40f601285de1995b39ff
diff --git a/dev-libs/serd/serd-0.30.14-r1.ebuild b/dev-libs/serd/serd-0.30.14-r1.ebuild
index bf8fdd5f506a..2cc25bfd2027 100644
--- a/dev-libs/serd/serd-0.30.14-r1.ebuild
+++ b/dev-libs/serd/serd-0.30.14-r1.ebuild
@@ -3,13 +3,10 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
-PYTHON_REQ_USE='threads(+)'
-
-inherit meson-multilib python-any-r1
+inherit meson-multilib
DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples"
-HOMEPAGE="http://drobilla.net/software/serd/"
+HOMEPAGE="https://drobilla.net/category/serd/"
SRC_URI="http://download.drobilla.net/${P}.tar.xz"
LICENSE="ISC"
diff --git a/dev-libs/serd/serd-0.30.16.ebuild b/dev-libs/serd/serd-0.30.16.ebuild
new file mode 100644
index 000000000000..83cb14957f42
--- /dev/null
+++ b/dev-libs/serd/serd-0.30.16.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples"
+HOMEPAGE="https://drobilla.net/category/serd/"
+SRC_URI="http://download.drobilla.net/${P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc static-libs test +tools"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx
+ dev-python/sphinx_lv2_theme
+)
+"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+"
+
+src_prepare() {
+ default
+
+ # fix doc installation path
+ sed -i "s/versioned_name/'${PF}'/g" doc/c/meson.build || die
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ $(meson_native_use_feature doc docs)
+ $(meson_use static-libs static)
+ $(meson_feature test tests)
+ $(meson_feature tools)
+ )
+
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ local DOCS=( AUTHORS NEWS README.md )
+ einstalldocs
+}