Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libixion/
Date: Tue, 12 Mar 2019 07:10:21
Message-Id: 1552374458.b65514cb8356aa124e564f6b82b0e60c9862c41d.asturm@gentoo
1 commit: b65514cb8356aa124e564f6b82b0e60c9862c41d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 23:22:50 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 12 07:07:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65514cb
7
8 dev-libs/libixion: EAPI-7 bump, python3_7, restore KEYWORDS
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/libixion/libixion-0.14.1.ebuild | 36 +++++++++++++++-----------------
14 dev-libs/libixion/libixion-9999.ebuild | 35 +++++++++++++++----------------
15 2 files changed, 34 insertions(+), 37 deletions(-)
16
17 diff --git a/dev-libs/libixion/libixion-0.14.1.ebuild b/dev-libs/libixion/libixion-0.14.1.ebuild
18 index 51e6e3935b8..e962aadc35e 100644
19 --- a/dev-libs/libixion/libixion-0.14.1.ebuild
20 +++ b/dev-libs/libixion/libixion-0.14.1.ebuild
21 @@ -1,36 +1,34 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 -EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
30 -
31 -PYTHON_COMPAT=( python{3_4,3_5,3_6} )
32 -
33 -[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
34 -inherit python-single-r1 ${GITECLASS}
35 -unset GITECLASS
36 +PYTHON_COMPAT=( python3_{5,6,7} )
37 +inherit python-single-r1
38
39 DESCRIPTION="General purpose formula parser & interpreter"
40 HOMEPAGE="https://gitlab.com/ixion/ixion"
41 -[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz"
42 +
43 +if [[ ${PV} == 9999 ]]; then
44 + EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
45 + inherit git-r3 autotools
46 +else
47 + SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz"
48 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
49 +fi
50
51 LICENSE="MIT"
52 SLOT="0/0.14" # based on SONAME of libixion.so
53 -[[ ${PV} == 9999 ]] || \
54 -KEYWORDS=""
55 -# KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
56 IUSE="debug python static-libs +threads"
57
58 -RDEPEND="
59 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
60 +
61 +DEPEND="
62 dev-libs/boost:=
63 - python? ( ${PYTHON_DEPS} )
64 -"
65 -DEPEND="${RDEPEND}
66 >=dev-util/mdds-1.4.1:1=
67 + python? ( ${PYTHON_DEPS} )
68 "
69 -
70 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
71 +RDEPEND="${DEPEND}"
72
73 pkg_setup() {
74 use python && python-single-r1_pkg_setup
75
76 diff --git a/dev-libs/libixion/libixion-9999.ebuild b/dev-libs/libixion/libixion-9999.ebuild
77 index 9dbcab360b8..860c13488fc 100644
78 --- a/dev-libs/libixion/libixion-9999.ebuild
79 +++ b/dev-libs/libixion/libixion-9999.ebuild
80 @@ -1,35 +1,34 @@
81 -# Copyright 1999-2018 Gentoo Foundation
82 +# Copyright 1999-2019 Gentoo Authors
83 # Distributed under the terms of the GNU General Public License v2
84
85 -EAPI=6
86 +EAPI=7
87
88 -EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
89 -
90 -PYTHON_COMPAT=( python{3_4,3_5,3_6} )
91 -
92 -[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
93 -inherit python-single-r1 ${GITECLASS}
94 -unset GITECLASS
95 +PYTHON_COMPAT=( python3_{5,6,7} )
96 +inherit python-single-r1
97
98 DESCRIPTION="General purpose formula parser & interpreter"
99 HOMEPAGE="https://gitlab.com/ixion/ixion"
100 -[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz"
101 +
102 +if [[ ${PV} == 9999 ]]; then
103 + EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
104 + inherit git-r3 autotools
105 +else
106 + SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz"
107 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
108 +fi
109
110 LICENSE="MIT"
111 SLOT="0/0.15" # based on SONAME of libixion.so
112 -[[ ${PV} == 9999 ]] || \
113 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
114 IUSE="debug python static-libs +threads"
115
116 -RDEPEND="
117 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
118 +
119 +DEPEND="
120 dev-libs/boost:=
121 - python? ( ${PYTHON_DEPS} )
122 -"
123 -DEPEND="${RDEPEND}
124 >=dev-util/mdds-1.4.1:1=
125 + python? ( ${PYTHON_DEPS} )
126 "
127 -
128 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
129 +RDEPEND="${DEPEND}"
130
131 pkg_setup() {
132 use python && python-single-r1_pkg_setup