1 |
commit: 134a5f9d345c533ca442890c23e82bad60391e4e |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 27 08:00:00 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 08:02:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=134a5f9d |
7 |
|
8 |
dev-python/xgboost: initial commit. |
9 |
|
10 |
Package-Manager: Portage-2.3.88, Repoman-2.3.18 |
11 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
12 |
|
13 |
dev-python/xgboost/metadata.xml | 8 ++++++++ |
14 |
dev-python/xgboost/xgboost-1.0.1.ebuild | 26 ++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/xgboost/metadata.xml b/dev-python/xgboost/metadata.xml |
18 |
new file mode 100644 |
19 |
index 000000000..d6ee47b30 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/xgboost/metadata.xml |
22 |
@@ -0,0 +1,8 @@ |
23 |
+<?xml version="1.0" encoding="UTF-8"?> |
24 |
+<!DOCTYPE pkgmetadata |
25 |
+ SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> |
26 |
+<pkgmetadata> |
27 |
+ <maintainer type="person"> |
28 |
+ <email>heroxbd@g.o</email> |
29 |
+ </maintainer> |
30 |
+</pkgmetadata> |
31 |
|
32 |
diff --git a/dev-python/xgboost/xgboost-1.0.1.ebuild b/dev-python/xgboost/xgboost-1.0.1.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000..8a0dec405 |
35 |
--- /dev/null |
36 |
+++ b/dev-python/xgboost/xgboost-1.0.1.ebuild |
37 |
@@ -0,0 +1,26 @@ |
38 |
+# Copyright 1999-2020 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz" |
44 |
+PYTHON_COMPAT=( python3_6 ) |
45 |
+ |
46 |
+inherit distutils-r1 |
47 |
+ |
48 |
+DESCRIPTION="XGBoost Python Package" |
49 |
+ |
50 |
+HOMEPAGE="https://xgboost.readthedocs.io" |
51 |
+LICENSE="Apache-2.0" |
52 |
+ |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64" |
55 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
56 |
+ |
57 |
+python_prepare_all() { |
58 |
+ sed -e "/ADD_CFLAGS/s:=:=${CFLAGS/-O?/}:" \ |
59 |
+ -e "/ADD_LDFLAGS/s:=:=${LDFLAGS}:" \ |
60 |
+ -i ${PN}/make/config.mk || die |
61 |
+ |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |