diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest index d9d8eea..e5ecd0a 100644 --- a/dev-libs/olm/Manifest +++ b/dev-libs/olm/Manifest @@ -1,3 +1 @@ -DIST olm-3.2.1.tar.bz2 462729 BLAKE2B 63d4c33eb79f4d0b4950ad8970d3e4a84d015193df72e4e88ad34d5d82e4c9d3c8677392ba2e12f8a80a67cff5c203b3116a0edf13798a7af3cc4fd8b6312e93 SHA512 adb9cff6148d19df4b83a287723219d4da9efd162f7a2824bee63d824d22c20a10fd2c2d8ce74aff5ec006c6dc8828bd6851cc82be93bc6c4524cf7067080412 -DIST olm-3.2.2.tar.bz2 475682 BLAKE2B f6588281ef236c36c4a678eb02250e6b0d496719dc8736b1bdcbc346a16c3b579d988d6cbe99749473e53bbc03830e90c666ced112cd5a85b63f7ebe0704b6cb SHA512 a541299f2fbdaa2be5698a690cd753142311a3206011d70186e1122d575478f91e7feba207fe5d09ce506330dd1f9fbb71dccb3de7014c5333427fdd3b77b668 DIST olm-3.2.4.tar.bz2 479336 BLAKE2B 9de6b869c94a7f47b269b55526408ce6930ac5354495608038888f13efe72a6fab498c85c6ffe073a1f76391cbe4a83cfc6c65382d593bc487dafe64894ca0ed SHA512 94f661a2c9fe22f7dfefc89e488be37da2fe19dedd3ba296e09c55e63886ed82b71a30d84ecbdfa5dee820b1b6a918daefab248536c137459b8f244dc514920b diff --git a/dev-libs/olm/olm-3.2.1.ebuild b/dev-libs/olm/olm-3.2.1.ebuild deleted file mode 100644 index d58a6d9..0000000 --- a/dev-libs/olm/olm-3.2.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..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/" - -if [[ "${PV}" == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.matrix.org/matrix-org/${PN}.git" -else - SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -IUSE="python" - -DEPEND=" - python? ( - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - ) -" - -CMAKE_IN_SOURCE_BUILD=1 - -src_prepare() { - cmake_src_prepare - use python && (cd python; distutils-r1_src_prepare) -} - -src_configure() { - local mycmakeargs=( - -DOLM_TESTS=OFF - -DBUILD_SHARED_LIBS=ON - ) - cmake_src_configure - use python && (cd python; distutils-r1_src_configure) -} - -src_compile() { - cmake_src_compile - export LIBRARY_PATH="${S}/$(get_libdir)/" # Let python build find the already built libolm - use python && (cd python; distutils-r1_src_compile) -} - -src_install() { - cmake_src_install - use python && (cd python; distutils-r1_src_install) -} - -src_test(){ - emake test -} diff --git a/dev-libs/olm/olm-3.2.2-r1.ebuild b/dev-libs/olm/olm-3.2.2-r1.ebuild deleted file mode 100644 index 7ea86d6..0000000 --- a/dev-libs/olm/olm-3.2.2-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{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/" - -if [[ "${PV}" == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.matrix.org/matrix-org/${PN}.git" -else - SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -IUSE="python test" -REQUIRED_USE="doc? ( python )" - -DEPEND=" - python? ( - >=dev-python/cffi-1.0.0[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - test? ( - dev-python/aspectlib[${PYTHON_USEDEP}] - dev-python/pytest-benchmark[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/pytest-flake8[${PYTHON_USEDEP}] - dev-python/pytest-isort[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx "${S}"/python/docs - -DOCS=( "${S}/docs/" ) - -src_prepare() { - cmake_src_prepare - if use python; then - pushd python || die - distutils-r1_src_prepare - popd || die - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DOLM_TESTS=$(usex test ON OFF) - ) - cmake_src_configure - if use python; then - pushd python || die - distutils-r1_src_configure - popd || die - fi -} - -src_compile() { - cmake_src_compile - if use python; then - pushd python || die - # Let python build find the already built libolm - export LIBRARY_PATH="${BUILD_DIR}/" - distutils-r1_src_compile - popd || die - fi -} - -src_install() { - cmake_src_install - if use python; then - pushd python || die - distutils-r1_src_install - popd || die - fi - einstalldocs -} - -src_test() { - emake test - if use python; then - pushd python || die - distutils-r1_src_test - popd || die - fi -} diff --git a/dev-libs/olm/olm-3.2.2.ebuild b/dev-libs/olm/olm-3.2.2.ebuild deleted file mode 100644 index f7e72eb..0000000 --- a/dev-libs/olm/olm-3.2.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..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/" - -if [[ "${PV}" == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.matrix.org/matrix-org/${PN}.git" -else - SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -IUSE="python" - -DEPEND=" - python? ( - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - ) -" - -CMAKE_IN_SOURCE_BUILD=1 - -src_prepare() { - cmake_src_prepare - use python && (cd python; distutils-r1_src_prepare) -} - -src_configure() { - local mycmakeargs=( - -DOLM_TESTS=OFF - -DBUILD_SHARED_LIBS=ON - ) - cmake_src_configure - use python && (cd python; distutils-r1_src_configure) -} - -src_compile() { - cmake_src_compile - export LIBRARY_PATH="${S}" # Let python build find the already built libolm - use python && (cd python; distutils-r1_src_compile) -} - -src_install() { - cmake_src_install - use python && (cd python; distutils-r1_src_install) -} - -src_test(){ - emake test -}