diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-09-18 11:56:22 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-09-18 11:56:35 +0200 |
commit | 83b3bcd831b37c486ee24ef99b48d43013288440 (patch) | |
tree | efbe4392ca0a44fa37f7bcb081bdf06d667633de /dev-libs | |
parent | sys-apps/gcp: Add python 3.8/3.9 (diff) | |
download | gentoo-83b3bcd831b37c486ee24ef99b48d43013288440.tar.gz gentoo-83b3bcd831b37c486ee24ef99b48d43013288440.tar.bz2 gentoo-83b3bcd831b37c486ee24ef99b48d43013288440.zip |
dev-libs/sord: bump to 0.16.4_p20200803 to fix crash in sord_find()
Bug: https://bugs.gentoo.org/742707
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/sord/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/sord/sord-0.16.4_p20200803.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/sord/Manifest b/dev-libs/sord/Manifest index ca0d396d2286..edf099aea83f 100644 --- a/dev-libs/sord/Manifest +++ b/dev-libs/sord/Manifest @@ -1 +1,3 @@ +DIST drobilla-autowaf-6c6c1d29bfe4c28dd26b5cde7ea4a1a148ee700d.tar.gz 384589 BLAKE2B d643df2e133c2b70e00d85562d1c30f8a01190b4c1e1a512b732d016db3ae77ff543d4acafc00309edb173e7bbaaf17b0c2844bef2ffe786c02a51930f03f29a SHA512 50b2d063866630c7c566af9da07c9ac0da2cf86e70f76ad6af57973ae0b346d4687c0b4263cefa90f0c0ba9e853a60583457c9f8b1313db3f4298ca2f0cfc4d3 DIST sord-0.16.4.tar.bz2 510920 BLAKE2B e52b659e8070dc63188225741d1bfa31480214e47b53b4834dd0bccc5dcd688b93fc65c894b25540d89dbb20b04d8fd1952dcc65999c2ae7b650065c80b387dc SHA512 98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576 +DIST sord-81e138633076c2d7ef7e1691845757208d02f478.tar.gz 293332 BLAKE2B 794aed020b14f0cd4bae851de12f24fe54c87202b69c3f21cc26a86f0da092b05ea2244279be16ab3231431a8a5fb0cbab7236c2e761715e9a1759bb5b3ab54b SHA512 ba0dd8a8434a04be3548b959789b5b81491cd2f91f6125d3620fa17d4d38ae18015db7cd72af71900a0a17331c6b5400756719a25e09e596590ff943798a5991 diff --git a/dev-libs/sord/sord-0.16.4_p20200803.ebuild b/dev-libs/sord/sord-0.16.4_p20200803.ebuild new file mode 100644 index 000000000000..b6f12aeed771 --- /dev/null +++ b/dev-libs/sord/sord-0.16.4_p20200803.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE='threads(+)' +inherit python-any-r1 waf-utils multilib-build multilib-minimal + +DESCRIPTION="Library for storing RDF data in memory" +HOMEPAGE="http://drobilla.net/software/sord/" +COMMIT="81e138633076c2d7ef7e1691845757208d02f478" +COMMIT_AUTOWAF="6c6c1d29bfe4c28dd26b5cde7ea4a1a148ee700d" +SRC_URI="https://gitlab.com/drobilla/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz + https://github.com/drobilla/autowaf/archive/${COMMIT_AUTOWAF}.tar.gz -> drobilla-autowaf-${COMMIT_AUTOWAF}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/serd-0.30.0 +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" + +S="${WORKDIR}/${PN}-${COMMIT}" + +DOCS=( "AUTHORS" "NEWS" "README.md" ) + +src_prepare() { + # link in downloaded waf + rm -r "${S}/waflib" || die + ln -s "${WORKDIR}/autowaf-${COMMIT_AUTOWAF}" "${S}/waflib" || die + + 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 +} |