Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/units/
Date: Thu, 07 Jan 2021 19:04:06
Message-Id: 1610045882.1b854ed34aaf7b803763f4c5b5c9cba75b0a6bc0.sam@gentoo
1 commit: 1b854ed34aaf7b803763f4c5b5c9cba75b0a6bc0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 18:58:02 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 18:58:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b854ed3
7
8 sci-calculators/units: cleanup old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sci-calculators/units/Manifest | 1 -
14 sci-calculators/units/units-2.19-r1.ebuild | 66 ------------------------------
15 2 files changed, 67 deletions(-)
16
17 diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest
18 index 258e6b73ae9..551e57acabc 100644
19 --- a/sci-calculators/units/Manifest
20 +++ b/sci-calculators/units/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST units-2.19.tar.gz 1271288 BLAKE2B b6d61661d88e8221d5689e7f1cdba357479d4e34c4c6fd51c336e76850521b3ad7d8f1bfd9ff8173917931151c8da2180928879be940358e35ae3e96a6e30765 SHA512 f28df8f0b95b53620d4d21ed369551b8510663ff3658293ba62de2722e7dc2d87506db7c65dc192e35f3c3a20842e8ed09ddaa7352532f7e3eaeab4c001061c8
23 DIST units-2.20.tar.gz 1309242 BLAKE2B 5321e6234cfe4514d1ebccec490e472ff64a0428bb2721f51e3ff626ddef7eec4b4e8822aa947da1f4ddca414078b617ba34308c86a71788f6d8a9ba20dd6846 SHA512 5292588fb7ea0ab12e45e5521a115a0eaba4e37378011677cbd80e6e17a6ffa5f388a57859c590b6d65460fc91a4ff33e6603e27d4909b8122d4ad3696c8600d
24 DIST units-2.21.tar.gz 1308533 BLAKE2B 0a02979eafa21af759128ec72b11e1f532640c9d0e88ae8f389a1beb52d5a400cbd6294042aa4c7d8786c06c8ac4106a77c302805b8c5e3bb84d4134805fd517 SHA512 34bacff606f12aa5b2e59170f6b2142277aa1121d79610a51b57f07f17ae2dbdfbbb0e60be34522f367679cc152408f77c1ebb551016224d23f81c21f4b3ba62
25
26 diff --git a/sci-calculators/units/units-2.19-r1.ebuild b/sci-calculators/units/units-2.19-r1.ebuild
27 deleted file mode 100644
28 index 9463f1bd5b2..00000000000
29 --- a/sci-calculators/units/units-2.19-r1.ebuild
30 +++ /dev/null
31 @@ -1,66 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{6,7,8} )
37 -inherit python-single-r1
38 -
39 -DESCRIPTION="Unit conversion program"
40 -HOMEPAGE="https://www.gnu.org/software/units/units.html"
41 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="FDL-1.3 GPL-3"
44 -SLOT="0"
45 -KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
46 -IUSE="+units-cur"
47 -REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )"
48 -
49 -RDEPEND="
50 - sys-libs/readline:=
51 - units-cur? (
52 - ${PYTHON_DEPS}
53 - $(python_gen_cond_dep '
54 - dev-python/future[${PYTHON_MULTI_USEDEP}]
55 - dev-python/requests[${PYTHON_MULTI_USEDEP}]
56 - ')
57 - )
58 -"
59 -DEPEND="
60 - ${RDEPEND}
61 -"
62 -PATCHES=(
63 - "${FILESDIR}"/${PN}-2.17-network-sandbox.patch
64 -)
65 -DOCS=(
66 - ChangeLog NEWS README
67 -)
68 -
69 -pkg_setup() {
70 - use units-cur && python-single-r1_pkg_setup
71 -}
72 -
73 -src_configure() {
74 - econf \
75 - --sharedstatedir="${EPREFIX}"/var/lib \
76 - ac_cv_path_PYTHON=no
77 -}
78 -
79 -src_compile() {
80 - emake ${PN}
81 -}
82 -
83 -src_install() {
84 - default
85 -
86 - # we're intentionally delaying this since 'make install' would
87 - # get confused if we shove 'units_cur' there, and there is no real
88 - # need to add more complexity for it
89 - if use units-cur; then
90 - sed \
91 - -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \
92 - -e 's|^#!|&/usr/bin/python|g' \
93 - units_cur_inst > units_cur || die
94 - python_fix_shebang units_cur
95 - python_doscript units_cur
96 - fi
97 -}