dev-libs/olm: add python use to 3.1.5 and remove 3.1.4

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2020-09-22 21:29:23 +03:00
parent 6ca288e705
commit 6d5d54e383
No known key found for this signature in database
GPG Key ID: 7211B3F7B598F87A
3 changed files with 35 additions and 3 deletions

View File

@ -1,2 +1 @@
DIST olm-3.1.4.tar.bz2 461540 BLAKE2B fa69b1543330c5da37c04227b51197ba57968ef24def40df621b85c0988eac91f8a155f600ab26849f2cd213059c97c7035be6dcca0943245cd4e4895da314b3 SHA512 87265d835ca7332d162bd3573dffdd09c8337c464dd673f100db9193e8ea4cedd8cb2a92cf2c34ad1b552a55bbbce8f87a47559ccfba03fa69b32fc7ff07f5f0
DIST olm-3.1.5.tar.bz2 461855 BLAKE2B 20412686ea1621de0d45885ae6f44331389cb401410809901187431eb101113f4186dc5b31c055da15143bec70f2251ee506e4fb50b0a8e495bdfa6cdb302b9e SHA512 a41be45e3fadb4e24654a4db8a68dab7fb8b021aeaf48b524d9c2c1e9d48e0b2200b9f1ac8431e79bc620560b16c66fb4c2d3727901b47b78288ea22b3f6ba02

View File

@ -1,4 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email> parona@protonmail.com </email>
<name> Alfred Wingate </name>
</maintainer>
<maintainer type="person">
<email>hedmoo@yahoo.com</email>
<name>Andreas Westman Dorcsak</name>
</maintainer>
</pkgmetadata>

View File

@ -3,7 +3,10 @@
EAPI=7
inherit cmake
PYTHON_COMPAT=( python3_{6,7,8,9} )
DISTUTILS_OPTIONAL=1
inherit cmake distutils-r1
DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
HOMEPAGE="https://git.matrix.org/git/olm/about/"
@ -18,4 +21,26 @@ fi
LICENSE="GPL-3"
SLOT="0/$(ver_cut 1)"
IUSE=""
IUSE="python"
DEPEND="
python? (
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
)
"
src_prepare() {
cmake_src_prepare
use python && (cd python; distutils-r1_src_prepare)
}
src_compile() {
cmake_src_compile
use python && (cd python; distutils-r1_src_compile)
}
src_install() {
cmake_src_install
use python && (cd python; distutils-r1_src_install)
}