From: "Doug Goldstein" <cardoe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/
Date: Sun, 6 Dec 2015 20:20:11 +0000 (UTC) [thread overview]
Message-ID: <1449433185.9029e1782621cfc4bb0af2dd1e8e0aa955a6cfb1.cardoe@gentoo> (raw)
commit: 9029e1782621cfc4bb0af2dd1e8e0aa955a6cfb1
Author: Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 6 05:59:21 2015 +0000
Commit: Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Sun Dec 6 20:19:45 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9029e178
app-emulation/xen-tools: multiple clean ups
- switch to git from mercurial for live ebuild
- improve description
- add sub-slot to avoid ABI breaks when upgrading/downgrading
- update inherit line
- fix dependency on iproute2
- fix USE=-custom-cflags to not override some FLAGS
- fix up Python dependencies
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>
app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild | 53 ++++++++---------------
1 file changed, 19 insertions(+), 34 deletions(-)
diff --git a/app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild b/app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild
index b35cabe..7e33d7a 100644
--- a/app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.6.0-r3.ebuild
@@ -4,17 +4,20 @@
EAPI=5
-MY_PV=${PV/_/-}
-
PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='xml,threads'
+PYTHON_REQ_USE='ncurses,xml,threads'
+
+inherit eutils bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs versionator
+
+MY_PV=${PV/_/-}
+MAJOR_V="$(get_version_component_range 1-2)"
if [[ $PV == *9999 ]]; then
+ inherit git-r3
KEYWORDS=""
- REPO="xen-unstable.hg"
- EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
+ REPO="xen.git"
+ EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
S="${WORKDIR}/${REPO}"
- live_eclass="mercurial"
else
KEYWORDS="~amd64 ~arm ~arm64 -x86"
UPSTREAM_VER=0
@@ -51,14 +54,12 @@ else
S="${WORKDIR}/xen-${MY_PV}"
fi
-inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs ${live_eclass}
-
-DESCRIPTION="Xend daemon and tools"
+DESCRIPTION="Xen tools including QEMU and xl"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/${MAJOR_V}"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
@@ -85,7 +86,6 @@ DEPEND="${COMMON_DEPEND}
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
- pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
!amd64? ( >=sys-apps/dtc-1.4.0 )
amd64? ( sys-devel/bin86
@@ -120,7 +120,7 @@ DEPEND="${COMMON_DEPEND}
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
- sys-apps/iproute2
+ sys-apps/iproute2[-minimal]
net-misc/bridge-utils
screen? (
app-misc/screen
@@ -263,6 +263,11 @@ src_prepare() {
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
+ else
+ unset CFLAGS
+ unset LDFLAGS
+ unset ASFLAGS
+ unset CPPFLAGS
fi
if ! use pygrub; then
@@ -344,7 +349,9 @@ src_configure() {
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
+ --with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
"
+
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
use amd64 && myconf+=" --enable-qemu-traditional"
@@ -356,13 +363,10 @@ src_compile() {
local myopt
use debug && myopt="${myopt} debug=y"
- use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
- unset LDFLAGS
- unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
@@ -437,19 +441,6 @@ pkg_postinst() {
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
- # TODO: we need to have the current Python slot here.
- if ! has_version "dev-lang/python[ncurses]"; then
- echo
- ewarn "NB: Your dev-lang/python is built without USE=ncurses."
- ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
- fi
-
- if has_version "sys-apps/iproute2[minimal]"; then
- echo
- ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
- ewarn "will not work until you rebuild iproute2 without USE=minimal."
- fi
-
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
@@ -463,10 +454,4 @@ pkg_postinst() {
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
-
- if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
- echo
- elog "xensv is broken upstream (Gentoo bug #142011)."
- elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
- fi
}
next reply other threads:[~2015-12-06 20:20 UTC|newest]
Thread overview: 295+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-06 20:20 Doug Goldstein [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-07 13:51 [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/ Florian Schmaus
2024-12-07 13:51 Florian Schmaus
2024-12-03 10:51 Joonas Niilola
2024-11-29 12:06 Florian Schmaus
2024-11-21 10:57 Florian Schmaus
2024-11-21 10:57 Florian Schmaus
2024-10-14 17:50 Sam James
2024-10-14 17:50 Sam James
2024-10-14 7:16 Florian Schmaus
2024-10-14 7:16 Florian Schmaus
2024-08-02 8:02 Florian Schmaus
2024-08-02 8:02 Florian Schmaus
2024-06-12 19:48 Sam James
2024-06-04 18:23 Arthur Zamarin
2024-05-29 8:32 Florian Schmaus
2024-05-29 8:32 Florian Schmaus
2024-04-11 3:38 Joonas Niilola
2024-04-11 3:35 Joonas Niilola
2024-04-10 6:43 Florian Schmaus
2024-04-10 6:43 Florian Schmaus
2024-04-06 6:05 Joonas Niilola
2024-04-06 5:58 Joonas Niilola
2024-04-05 15:59 Florian Schmaus
2024-04-05 15:59 Florian Schmaus
2024-03-28 17:18 Sam James
2024-03-28 16:44 Sam James
2024-03-28 11:21 Florian Schmaus
2024-03-28 11:21 Florian Schmaus
2024-01-13 20:46 Conrad Kostecki
2024-01-13 20:45 Sam James
2024-01-13 18:34 Sam James
2024-01-09 8:53 Florian Schmaus
2023-12-16 9:28 Joonas Niilola
2023-12-16 8:06 Joonas Niilola
2023-11-13 7:34 Sam James
2023-10-25 18:47 Florian Schmaus
2023-10-20 16:54 Sam James
2023-10-20 16:54 Sam James
2023-10-19 8:22 Florian Schmaus
2023-10-19 8:22 Florian Schmaus
2023-09-09 18:01 Arthur Zamarin
2023-09-05 10:01 Sam James
2023-09-05 10:01 Sam James
2023-09-03 9:40 Florian Schmaus
2023-09-03 9:40 Florian Schmaus
2023-06-08 22:35 Sam James
2023-05-16 9:30 Florian Schmaus
2023-05-16 7:33 Florian Schmaus
2023-05-01 17:14 Sam James
2023-04-19 6:07 Sam James
2023-04-17 20:13 Sam James
2023-04-17 20:13 Sam James
2023-04-17 8:32 Florian Schmaus
2023-04-17 8:32 Florian Schmaus
2023-02-11 2:36 Sam James
2023-02-04 22:50 Sam James
2023-01-25 16:24 Florian Schmaus
2023-01-25 16:24 Florian Schmaus
2022-12-17 16:55 Arthur Zamarin
2022-12-17 16:55 Arthur Zamarin
2022-12-16 4:30 Sam James
2022-12-07 17:05 Florian Schmaus
2022-11-09 9:37 Florian Schmaus
2022-11-09 9:37 Florian Schmaus
2022-10-26 14:27 John Helmert III
2022-10-25 17:55 Sam James
2022-10-19 9:16 Florian Schmaus
2022-10-19 8:51 Florian Schmaus
2022-09-05 7:09 Florian Schmaus
2022-09-03 13:09 Florian Schmaus
2022-09-02 13:46 Florian Schmaus
2022-09-02 9:41 Florian Schmaus
2022-07-16 11:15 Florian Schmaus
2022-07-14 8:36 Florian Schmaus
2022-07-13 7:31 Florian Schmaus
2022-07-13 7:08 Florian Schmaus
2022-07-12 19:48 Florian Schmaus
2022-07-11 7:10 Florian Schmaus
2022-07-11 6:47 Florian Schmaus
2022-07-11 6:45 Florian Schmaus
2022-07-10 6:17 Agostino Sarubbo
2022-07-07 6:56 Florian Schmaus
2022-07-06 18:55 Florian Schmaus
2022-07-05 16:25 Florian Schmaus
2022-07-05 16:23 Florian Schmaus
2022-05-08 12:03 Florian Schmaus
2022-05-06 9:51 Florian Schmaus
2022-05-04 2:48 Sam James
2022-05-04 0:16 Sam James
2022-05-03 18:42 Sam James
2022-05-03 18:41 Sam James
2022-05-03 18:41 Sam James
2022-04-22 7:05 Florian Schmaus
2022-04-18 9:20 Florian Schmaus
2022-04-18 9:20 Florian Schmaus
2022-04-18 9:20 Florian Schmaus
2022-04-17 22:16 Florian Schmaus
2022-04-17 22:16 Florian Schmaus
2022-04-17 22:16 Florian Schmaus
2022-04-17 14:04 Florian Schmaus
2022-04-14 5:54 Florian Schmaus
2022-04-14 5:54 Florian Schmaus
2022-02-18 3:06 Sam James
2022-01-09 1:10 Sam James
2022-01-08 18:03 Jakov Smolić
2021-10-21 4:20 Sam James
2021-10-20 9:59 Sam James
2021-10-20 9:59 Sam James
2021-09-22 6:58 Agostino Sarubbo
2021-09-21 6:35 Agostino Sarubbo
2021-06-12 14:00 Sam James
2021-06-12 14:00 Sam James
2021-06-11 12:53 Thomas Deutschmann
2021-06-11 12:53 Thomas Deutschmann
2021-06-11 12:53 Thomas Deutschmann
2021-05-13 0:34 Thomas Deutschmann
2021-05-11 20:13 Thomas Deutschmann
2021-04-18 1:44 Sam James
2021-04-18 1:41 Sam James
2021-03-30 13:03 Joonas Niilola
2021-03-22 15:33 Joonas Niilola
2021-01-17 4:10 Sam James
2020-12-21 18:26 Sam James
2020-12-21 17:48 Thomas Deutschmann
2020-12-20 19:21 Thomas Deutschmann
2020-11-27 16:55 Thomas Deutschmann
2020-11-18 17:34 Thomas Deutschmann
2020-11-12 16:06 Sam James
2020-11-12 14:03 Sam James
2020-11-11 0:47 Sam James
2020-11-10 18:48 Sam James
2020-10-09 8:31 Agostino Sarubbo
2020-09-29 20:01 Sam James
2020-09-18 15:05 Agostino Sarubbo
2020-09-15 17:22 Thomas Deutschmann
2020-09-12 18:39 Thomas Deutschmann
2020-07-26 16:22 Thomas Deutschmann
2020-07-17 7:44 Agostino Sarubbo
2020-07-17 7:21 Agostino Sarubbo
2020-07-09 13:47 Yixun Lan
2020-06-12 7:55 Agostino Sarubbo
2020-06-12 7:51 Agostino Sarubbo
2020-06-11 9:54 Yixun Lan
2020-04-30 14:46 Yixun Lan
2020-03-13 15:10 Yixun Lan
2020-03-12 16:26 Agostino Sarubbo
2020-03-12 16:21 Agostino Sarubbo
2020-03-01 23:59 Yixun Lan
2020-02-29 14:44 Mikle Kolyada
2020-02-09 16:11 Michał Górny
2019-12-15 13:43 Agostino Sarubbo
2019-12-13 14:37 Agostino Sarubbo
2019-11-04 11:51 Yixun Lan
2019-11-02 8:42 Agostino Sarubbo
2019-11-01 23:51 Thomas Deutschmann
2019-10-31 21:48 Thomas Deutschmann
2019-10-31 21:48 Thomas Deutschmann
2019-10-27 7:44 Yixun Lan
2019-10-24 3:07 Yixun Lan
2019-10-24 3:07 Yixun Lan
2019-10-23 12:45 Agostino Sarubbo
2019-10-23 12:30 Agostino Sarubbo
2019-08-11 14:44 David Seifert
2019-08-11 11:20 David Seifert
2019-07-08 12:10 Thomas Deutschmann
2019-07-07 21:15 Thomas Deutschmann
2019-06-20 18:04 Mikle Kolyada
2019-05-22 2:35 Yixun Lan
2019-05-17 8:48 Yixun Lan
2019-05-17 8:48 Yixun Lan
2019-04-17 13:10 Yixun Lan
2019-04-04 4:55 Yixun Lan
2019-04-03 7:07 Yixun Lan
2019-04-03 4:55 Yixun Lan
2019-03-27 23:44 Thomas Deutschmann
2019-03-17 23:03 Mikle Kolyada
2019-03-15 22:49 Thomas Deutschmann
2019-03-08 12:39 Mikle Kolyada
2019-03-07 13:35 Yixun Lan
2019-03-07 13:35 Yixun Lan
2019-03-07 6:00 Yixun Lan
2019-02-16 13:59 Yixun Lan
2019-01-19 3:22 Thomas Deutschmann
2018-11-21 22:55 Yixun Lan
2018-11-12 1:14 Thomas Deutschmann
2018-11-11 10:55 Mikle Kolyada
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-09-19 17:35 Thomas Deutschmann
2018-09-18 7:24 Agostino Sarubbo
2018-09-10 11:09 Thomas Deutschmann
2018-09-10 10:11 Thomas Deutschmann
2018-09-10 9:36 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-08-14 1:20 Yixun Lan
2018-07-17 11:07 Mikle Kolyada
2018-04-26 21:07 Mikle Kolyada
2018-04-23 4:43 Yixun Lan
2018-04-09 0:03 Aaron Bauman
2018-01-14 16:23 Thomas Deutschmann
2018-01-14 15:30 Agostino Sarubbo
2017-12-05 2:24 Yixun Lan
2017-11-08 13:38 Agostino Sarubbo
2017-11-03 18:05 Yixun Lan
2017-11-03 18:05 Yixun Lan
2017-11-03 10:08 Yixun Lan
2017-11-03 10:08 Yixun Lan
2017-11-02 21:16 Thomas Deutschmann
2017-10-17 7:24 Yixun Lan
2017-10-17 7:24 Yixun Lan
2017-10-17 7:24 Yixun Lan
2017-10-17 7:24 Yixun Lan
2017-10-13 8:05 Yixun Lan
2017-10-13 8:05 Yixun Lan
2017-07-31 9:01 Tobias Klausmann
2017-06-20 13:15 Alexis Ballier
2017-05-10 15:44 Agostino Sarubbo
2017-05-10 9:32 Agostino Sarubbo
2017-05-02 9:01 Yixun Lan
2017-05-02 9:01 Yixun Lan
2017-04-20 7:59 David Seifert
2017-02-24 9:35 Yixun Lan
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2017-02-23 4:11 Yixun Lan
2017-02-23 4:11 Yixun Lan
2017-02-22 9:08 Yixun Lan
2017-02-16 18:35 Yixun Lan
2017-02-16 17:16 Agostino Sarubbo
2017-02-15 7:54 Yixun Lan
2016-12-28 9:06 Yixun Lan
2016-12-26 19:10 Thomas Deutschmann
2016-12-13 15:23 Yixun Lan
2016-12-13 15:23 Yixun Lan
2016-12-13 15:09 Yixun Lan
2016-12-13 11:30 Agostino Sarubbo
2016-12-13 11:05 Agostino Sarubbo
2016-12-08 3:19 Yixun Lan
2016-12-07 1:45 Yixun Lan
2016-11-28 4:13 Yixun Lan
2016-11-26 10:44 Agostino Sarubbo
2016-11-26 10:36 Agostino Sarubbo
2016-11-22 14:52 Yixun Lan
2016-11-22 12:41 Yixun Lan
2016-11-04 10:15 Yixun Lan
2016-11-04 8:24 Agostino Sarubbo
2016-11-04 8:21 Agostino Sarubbo
2016-10-05 9:48 Yixun Lan
2016-07-28 16:50 Yixun Lan
2016-07-28 14:56 Agostino Sarubbo
2016-07-28 14:51 Agostino Sarubbo
2016-07-27 18:28 Yixun Lan
2016-06-07 5:47 Yixun Lan
2016-05-20 4:41 Ian Delaney
2016-05-15 3:13 Ian Delaney
2016-05-15 3:13 Ian Delaney
2016-04-23 10:05 Ian Delaney
2016-04-14 12:07 Ian Delaney
2016-03-15 13:39 Ian Delaney
2016-03-15 8:13 Agostino Sarubbo
2016-03-15 8:11 Agostino Sarubbo
2016-02-19 16:08 Ian Delaney
2016-02-19 1:28 Yixun Lan
2016-02-18 20:57 Jason Donenfeld
2016-02-18 3:17 Yixun Lan
2016-02-16 16:19 Doug Goldstein
2016-02-15 15:55 Doug Goldstein
2016-01-22 10:01 Agostino Sarubbo
2016-01-22 9:31 Agostino Sarubbo
2016-01-21 14:16 Ian Delaney
2016-01-12 14:24 Ian Delaney
2016-01-07 2:33 Doug Goldstein
2016-01-06 4:42 Ian Delaney
2016-01-05 14:21 Agostino Sarubbo
2016-01-05 11:23 Agostino Sarubbo
2016-01-05 1:00 Ian Delaney
2015-12-31 14:52 Michał Górny
2015-12-23 2:21 Ian Delaney
2015-12-22 9:01 Agostino Sarubbo
2015-12-17 13:59 Ian Delaney
2015-12-09 7:06 Ian Delaney
2015-12-09 5:31 Ian Delaney
2015-12-09 5:31 Ian Delaney
2015-12-04 6:41 Doug Goldstein
2015-12-04 6:29 Doug Goldstein
2015-12-03 13:58 Ian Delaney
2015-12-03 13:13 Ian Delaney
2015-12-01 9:38 Agostino Sarubbo
2015-11-30 16:01 Ian Delaney
2015-11-29 7:57 Ian Delaney
2015-11-25 3:29 Yixun Lan
2015-11-10 8:56 Agostino Sarubbo
2015-11-10 8:50 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449433185.9029e1782621cfc4bb0af2dd1e8e0aa955a6cfb1.cardoe@gentoo \
--to=cardoe@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox