diff options
Diffstat (limited to 'sys-libs/libnvme/libnvme-1.2-r1.ebuild')
-rw-r--r-- | sys-libs/libnvme/libnvme-1.2-r1.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/sys-libs/libnvme/libnvme-1.2-r1.ebuild b/sys-libs/libnvme/libnvme-1.2-r1.ebuild deleted file mode 100644 index b19e6a86bda7..000000000000 --- a/sys-libs/libnvme/libnvme-1.2-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="+json python ssl +uuid" - -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86" - -DEPEND=" - json? ( dev-libs/json-c:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND="${DEPEND}" - -BDEPEND=" - dev-lang/swig -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -src_configure() { - local emesonargs=( - -Dpython=false - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=true - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} |