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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F2AB138350 for ; Thu, 27 Feb 2020 08:16:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10E6AE0896; Thu, 27 Feb 2020 08:16:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBDECE0896 for ; Thu, 27 Feb 2020 08:16:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13DC534F3D3 for ; Thu, 27 Feb 2020 08:16:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8766514E for ; Thu, 27 Feb 2020 08:16:03 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1582790520.134a5f9d345c533ca442890c23e82bad60391e4e.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/xgboost/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/xgboost/metadata.xml dev-python/xgboost/xgboost-1.0.1.ebuild X-VCS-Directories: dev-python/xgboost/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 134a5f9d345c533ca442890c23e82bad60391e4e X-VCS-Branch: master Date: Thu, 27 Feb 2020 08:16:03 +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: fbb67e0d-9f03-4362-a9f8-28b6edc76b50 X-Archives-Hash: 28d523cff28ea03a8b89554d9632819d commit: 134a5f9d345c533ca442890c23e82bad60391e4e Author: Benda Xu gentoo org> AuthorDate: Thu Feb 27 08:00:00 2020 +0000 Commit: Benda XU gentoo org> CommitDate: Thu Feb 27 08:02:00 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=134a5f9d dev-python/xgboost: initial commit. Package-Manager: Portage-2.3.88, Repoman-2.3.18 Signed-off-by: Benda Xu gentoo.org> dev-python/xgboost/metadata.xml | 8 ++++++++ dev-python/xgboost/xgboost-1.0.1.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/xgboost/metadata.xml b/dev-python/xgboost/metadata.xml new file mode 100644 index 000000000..d6ee47b30 --- /dev/null +++ b/dev-python/xgboost/metadata.xml @@ -0,0 +1,8 @@ + + + + + heroxbd@gentoo.org + + diff --git a/dev-python/xgboost/xgboost-1.0.1.ebuild b/dev-python/xgboost/xgboost-1.0.1.ebuild new file mode 100644 index 000000000..8a0dec405 --- /dev/null +++ b/dev-python/xgboost/xgboost-1.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz" +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="XGBoost Python Package" + +HOMEPAGE="https://xgboost.readthedocs.io" +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_prepare_all() { + sed -e "/ADD_CFLAGS/s:=:=${CFLAGS/-O?/}:" \ + -e "/ADD_LDFLAGS/s:=:=${LDFLAGS}:" \ + -i ${PN}/make/config.mk || die + + distutils-r1_python_prepare_all +}