From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 59BAB15808B for ; Mon, 4 Apr 2022 14:49:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E8C3E08F2; Mon, 4 Apr 2022 14:49:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D9A7E08F1 for ; Mon, 4 Apr 2022 14:49:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7964E34149B for ; Mon, 4 Apr 2022 14:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B648F392 for ; Mon, 4 Apr 2022 14:49:24 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1649029568.558e5df45f1a83dd66e637770b73f5d2ae381370.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/XenAPI/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/XenAPI/Manifest dev-python/XenAPI/XenAPI-22.14.0.ebuild X-VCS-Directories: dev-python/XenAPI/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 558e5df45f1a83dd66e637770b73f5d2ae381370 X-VCS-Branch: master Date: Mon, 4 Apr 2022 14:49:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ed2eddae-f1a4-4351-a444-78a6a4c69181 X-Archives-Hash: effe3c5768fc30ca98c6152a6688188c commit: 558e5df45f1a83dd66e637770b73f5d2ae381370 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Apr 3 08:24:44 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Apr 3 23:46:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=558e5df4 dev-python/XenAPI: add 22.14.0 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/XenAPI/Manifest | 1 + dev-python/XenAPI/XenAPI-22.14.0.ebuild | 83 +++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-python/XenAPI/Manifest b/dev-python/XenAPI/Manifest index 430c88992..7f5dd3349 100644 --- a/dev-python/XenAPI/Manifest +++ b/dev-python/XenAPI/Manifest @@ -1 +1,2 @@ DIST XenAPI-2.14.tar.gz 5110 BLAKE2B 0391ccfffe8c2a264360eef4057a666e92bcbc8b31e7848f15704fff4d554db9758b1aa0b5210d1bfc41c4df261096b04961a4ff6722a8ea25305971b70f8562 SHA512 a56245b617fa049bcc62ee78e85167e322b632e53d2a6bc3e042e1cb0541ea0004aee4b957f9190c30685cef935f236d980a224322ac593896abd7a31e36abd2 +DIST XenAPI-22.14.0.tar.gz 3124877 BLAKE2B 2b073e0f713b45b51af1e221aa278841c4a5515c72859c7c95601edeb32ec2b8415c11dec86f79a2ab88265d4303675cf9f0432091c884346a25630a503b5244 SHA512 cc048ede21748e6e60b9e432bb68e0754590e3846277c8bf1fa9000916897353db1b5b39bd7120e7d6c894fc859c8a34129824399cfca0a07c5edf937a6e18ec diff --git a/dev-python/XenAPI/XenAPI-22.14.0.ebuild b/dev-python/XenAPI/XenAPI-22.14.0.ebuild new file mode 100644 index 000000000..ff82bbb1d --- /dev/null +++ b/dev-python/XenAPI/XenAPI-22.14.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{8..9} ) + +inherit bash-completion-r1 distutils-r1 dune pam systemd + +DESCRIPTION="Xen API SDK, for communication with Citrix XenServer and Xen Cloud Platform" +HOMEPAGE=" + https://xenproject.org/developers/teams/xen-api + https://github.com/xapi-project/xen-api + https://pypi.org/project/XenAPI +" +SRC_URI="https://github.com/xapi-project/xen-api/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/xen-api-${PV}" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="" +IUSE="ocamlopt pam python" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + + dev-libs/xxhash + dev-ml/cstruct + dev-ml/ezjsonm + dev-ml/ezxenstore + dev-ml/mtime + dev-ml/rpc + dev-ml/uuidm + dev-ml/xapi-backtrace + dev-ml/xapi-stdext + dev-ml/xcp-inventory + dev-ml/xcp-rrd + dev-ml/xen-gnt + dev-ml/xenctrl + dev-ml/xenstore + dev-ml/xenstore-clients + dev-ml/xmlm +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_compile() { + dune_src_compile + if use python; then + pushd scripts/examples/python || die + python_foreach_impl distutil-r1_python_compile + popd || die + fi +} + +src_install() { + for p in *.opam ; do + dune_src_install "${p/.opam/}" + done + + pushd scripts || die + emake install + popd || die + + if use python; then + pushd scripts/examples/python || die + python_foreach_impl distutils-r1_python_install + popd || die + fi + +# newbashcomp scripts/xe-switch-network-backend-bash-completion xe-switch-network-backend +# +# insinto /etc/logrotate +# newins scripts/audit-logrotate audit.conf +# +# for s in scripts/*.service ; do +# systemd_dounit "${s}" +# done +# +# use pam && newpamd scripts/pam.d-xapi xapi +}