diff options
author | 2019-10-10 09:49:39 +0200 | |
---|---|---|
committer | 2019-10-10 09:55:37 +0200 | |
commit | 249a76e82566d2597d8a5f5c1445f49bce6e54e4 (patch) | |
tree | 08b6f73f661033bad449436e2839e20232a70507 /sci-calculators/units/units-2.16.ebuild | |
parent | net-misc/olsrd: ${ED%/} unnecessary slash strip (diff) | |
download | gentoo-249a76e82566d2597d8a5f5c1445f49bce6e54e4.tar.gz gentoo-249a76e82566d2597d8a5f5c1445f49bce6e54e4.tar.bz2 gentoo-249a76e82566d2597d8a5f5c1445f49bce6e54e4.zip |
sci-calculators/units: USE flag 'units_cur' uses reserved underscore character
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'sci-calculators/units/units-2.16.ebuild')
-rw-r--r-- | sci-calculators/units/units-2.16.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sci-calculators/units/units-2.16.ebuild b/sci-calculators/units/units-2.16.ebuild index 0d30fa56ad00..f72ff8ee12f4 100644 --- a/sci-calculators/units/units-2.16.ebuild +++ b/sci-calculators/units/units-2.16.ebuild @@ -12,12 +12,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" 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} )" +IUSE="+units--cur" +REQUIRED_USE="units--cur? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" sys-libs/readline:= - units_cur? ( + units--cur? ( ${PYTHON_DEPS} dev-python/future[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] @@ -28,7 +28,7 @@ DEPEND=" " pkg_setup() { - use units_cur && python-single-r1_pkg_setup + use units--cur && python-single-r1_pkg_setup } src_configure() { @@ -47,7 +47,7 @@ src_install() { # we're intentionally delaying this since 'make install' would # get confused if we shove 'units_cur' there, and there is no real # need to add more complexity for it - if use units_cur; then + if use units--cur; then sed \ -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ -e 's|^#!|&/usr/bin/python|g' \ |