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 A1C42138335 for ; Thu, 10 Oct 2019 07:55:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF11BE0855; Thu, 10 Oct 2019 07:55:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 AC099E0855 for ; Thu, 10 Oct 2019 07:55:41 +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 61A8E34B9D0 for ; Thu, 10 Oct 2019 07:55:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD28983E for ; Thu, 10 Oct 2019 07:55:38 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1570694137.249a76e82566d2597d8a5f5c1445f49bce6e54e4.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/units/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-calculators/units/metadata.xml sci-calculators/units/units-2.16.ebuild sci-calculators/units/units-2.18.ebuild sci-calculators/units/units-2.19.ebuild X-VCS-Directories: sci-calculators/units/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 249a76e82566d2597d8a5f5c1445f49bce6e54e4 X-VCS-Branch: master Date: Thu, 10 Oct 2019 07:55:38 +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: 91521b4a-fbab-42f3-b2a0-0835ab273873 X-Archives-Hash: 9dce41f4c87cf74392dcc82d8ee5fed8 commit: 249a76e82566d2597d8a5f5c1445f49bce6e54e4 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Oct 10 07:49:39 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Oct 10 07:55:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249a76e8 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 gentoo.org> sci-calculators/units/metadata.xml | 2 +- sci-calculators/units/units-2.16.ebuild | 10 +++++----- sci-calculators/units/units-2.18.ebuild | 10 +++++----- sci-calculators/units/units-2.19.ebuild | 17 +++++++++-------- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/sci-calculators/units/metadata.xml b/sci-calculators/units/metadata.xml index 9aa83b1ef40..f0a40a93849 100644 --- a/sci-calculators/units/metadata.xml +++ b/sci-calculators/units/metadata.xml @@ -6,6 +6,6 @@ Jeroen Roovers -Install the units_cur python script that updates currencies +Install the units_cur python script that updates currencies diff --git a/sci-calculators/units/units-2.16.ebuild b/sci-calculators/units/units-2.16.ebuild index 0d30fa56ad0..f72ff8ee12f 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' \ diff --git a/sci-calculators/units/units-2.18.ebuild b/sci-calculators/units/units-2.18.ebuild index 4d61f6f6676..3df5a8826c2 100644 --- a/sci-calculators/units/units-2.18.ebuild +++ b/sci-calculators/units/units-2.18.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}] @@ -31,7 +31,7 @@ PATCHES=( ) pkg_setup() { - use units_cur && python-single-r1_pkg_setup + use units--cur && python-single-r1_pkg_setup } src_configure() { @@ -52,7 +52,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' \ diff --git a/sci-calculators/units/units-2.19.ebuild b/sci-calculators/units/units-2.19.ebuild index 9e35768509d..5bbc862db24 100644 --- a/sci-calculators/units/units-2.19.ebuild +++ b/sci-calculators/units/units-2.19.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}] @@ -29,9 +29,12 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-2.17-network-sandbox.patch ) +DOCS=( + ChangeLog NEWS README +) pkg_setup() { - use units_cur && python-single-r1_pkg_setup + use units--cur && python-single-r1_pkg_setup } src_configure() { @@ -45,14 +48,12 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install - - dodoc ChangeLog NEWS README + default # 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' \