summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-calculators/units/units-2.13.ebuild13
-rw-r--r--sci-calculators/units/units-2.14-r1.ebuild3
-rw-r--r--sci-calculators/units/units-2.14.ebuild13
3 files changed, 9 insertions, 20 deletions
diff --git a/sci-calculators/units/units-2.13.ebuild b/sci-calculators/units/units-2.13.ebuild
index afe012c7e4ed..50f5c4487c71 100644
--- a/sci-calculators/units/units-2.13.ebuild
+++ b/sci-calculators/units/units-2.13.ebuild
@@ -14,20 +14,15 @@ LICENSE="FDL-1.3 GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="+units_cur"
+REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )"
-DEPEND="
- sys-libs/readline:=
- units_cur? (
- dev-lang/python-exec:2
- )
-"
RDEPEND="
- ${DEPEND}
+ sys-libs/readline:=
units_cur? (
dev-python/unidecode[${PYTHON_USEDEP}]
${PYTHON_DEPS}
- )
-"
+ )"
+DEPEND=${RDEPEND}
units_cur_prepare() {
local UNITS_PYTHON_MAJOR
diff --git a/sci-calculators/units/units-2.14-r1.ebuild b/sci-calculators/units/units-2.14-r1.ebuild
index 7050f31710f1..e49ef8fd68ee 100644
--- a/sci-calculators/units/units-2.14-r1.ebuild
+++ b/sci-calculators/units/units-2.14-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="FDL-1.3 GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="+units_cur"
+REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
sys-libs/readline:=
@@ -23,8 +24,6 @@ RDEPEND="
)"
DEPEND=${RDEPEND}
-REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )"
-
pkg_setup() {
use units_cur && python-single-r1_pkg_setup
}
diff --git a/sci-calculators/units/units-2.14.ebuild b/sci-calculators/units/units-2.14.ebuild
index 907add868515..8050ca85d339 100644
--- a/sci-calculators/units/units-2.14.ebuild
+++ b/sci-calculators/units/units-2.14.ebuild
@@ -14,20 +14,15 @@ LICENSE="FDL-1.3 GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="+units_cur"
+REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )"
-DEPEND="
- sys-libs/readline:=
- units_cur? (
- dev-lang/python-exec:2
- )
-"
RDEPEND="
- ${DEPEND}
+ sys-libs/readline:=
units_cur? (
dev-python/unidecode[${PYTHON_USEDEP}]
${PYTHON_DEPS}
- )
-"
+ )"
+DEPEND=${RDEPEND}
units_cur_prepare() {
local UNITS_PYTHON_MAJOR