Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/units/
Date: Fri, 01 Jan 2021 13:11:24
Message-Id: 1609506558.ba4fe3d5841688ae7cc2aa26f931e74893481aaa.mgorny@gentoo
1 commit: ba4fe3d5841688ae7cc2aa26f931e74893481aaa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 13:06:36 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 13:09:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4fe3d5
7
8 sci-calculators/units: Remove old (py3.6)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sci-calculators/units/Manifest | 2 -
13 sci-calculators/units/units-2.16-r1.ebuild | 60 ---------------------------
14 sci-calculators/units/units-2.18.ebuild | 65 ------------------------------
15 3 files changed, 127 deletions(-)
16
17 diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest
18 index a40be723533..258e6b73ae9 100644
19 --- a/sci-calculators/units/Manifest
20 +++ b/sci-calculators/units/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST units-2.16.tar.gz 1178197 BLAKE2B 6de569cd70c8067be053c5acb0885f898b76252bf6bafbea5f8b4972eca0acb13adfb4b2bc70ef0a3df747ee31084076fea3d3199922f0c44fc8c6d08232192b SHA512 afca2bf313208db2d0a3f4e96fed7bb86a3e96030b420e1cfa68a140499b9a8f2ef8c166c1d608d03c9ca6260199569a67c67c623d8c6a4b8d52e9d5cb6e3091
23 -DIST units-2.18.tar.gz 1248892 BLAKE2B b1dd86907ba6af3251577c533d6c39705ff4a8cdf099c15c61efaf7876ee9a4131212e09b3e9ca0f2355fc547256e33be4fcb9efc552b38e3e990e76b9465992 SHA512 2ae9f08acb03f2f443514800dafb454434d7d1a43497d2a937c2e9e8429f63d821be11ae3090693e8cadbd2f9cdeafba8f80c1671d84a9cceb0f72ad75d8cad7
24 DIST units-2.19.tar.gz 1271288 BLAKE2B b6d61661d88e8221d5689e7f1cdba357479d4e34c4c6fd51c336e76850521b3ad7d8f1bfd9ff8173917931151c8da2180928879be940358e35ae3e96a6e30765 SHA512 f28df8f0b95b53620d4d21ed369551b8510663ff3658293ba62de2722e7dc2d87506db7c65dc192e35f3c3a20842e8ed09ddaa7352532f7e3eaeab4c001061c8
25 DIST units-2.20.tar.gz 1309242 BLAKE2B 5321e6234cfe4514d1ebccec490e472ff64a0428bb2721f51e3ff626ddef7eec4b4e8822aa947da1f4ddca414078b617ba34308c86a71788f6d8a9ba20dd6846 SHA512 5292588fb7ea0ab12e45e5521a115a0eaba4e37378011677cbd80e6e17a6ffa5f388a57859c590b6d65460fc91a4ff33e6603e27d4909b8122d4ad3696c8600d
26 DIST units-2.21.tar.gz 1308533 BLAKE2B 0a02979eafa21af759128ec72b11e1f532640c9d0e88ae8f389a1beb52d5a400cbd6294042aa4c7d8786c06c8ac4106a77c302805b8c5e3bb84d4134805fd517 SHA512 34bacff606f12aa5b2e59170f6b2142277aa1121d79610a51b57f07f17ae2dbdfbbb0e60be34522f367679cc152408f77c1ebb551016224d23f81c21f4b3ba62
27
28 diff --git a/sci-calculators/units/units-2.16-r1.ebuild b/sci-calculators/units/units-2.16-r1.ebuild
29 deleted file mode 100644
30 index 1ad5ab191b3..00000000000
31 --- a/sci-calculators/units/units-2.16-r1.ebuild
32 +++ /dev/null
33 @@ -1,60 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -PYTHON_COMPAT=( python3_6 )
39 -inherit eutils python-single-r1
40 -
41 -DESCRIPTION="Unit conversion program"
42 -HOMEPAGE="https://www.gnu.org/software/units/units.html"
43 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="FDL-1.3 GPL-3"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
48 -IUSE="+units-cur"
49 -REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )"
50 -
51 -RDEPEND="
52 - sys-libs/readline:=
53 - units-cur? (
54 - ${PYTHON_DEPS}
55 - $(python_gen_cond_dep '
56 - dev-python/future[${PYTHON_MULTI_USEDEP}]
57 - dev-python/requests[${PYTHON_MULTI_USEDEP}]
58 - ')
59 - )
60 -"
61 -DEPEND="
62 - ${RDEPEND}
63 -"
64 -
65 -pkg_setup() {
66 - use units-cur && python-single-r1_pkg_setup
67 -}
68 -
69 -src_configure() {
70 - econf ac_cv_path_PYTHON=no
71 -}
72 -
73 -src_compile() {
74 - emake ${PN}
75 -}
76 -
77 -src_install() {
78 - emake DESTDIR="${D}" install
79 -
80 - dodoc ChangeLog NEWS README
81 -
82 - # we're intentionally delaying this since 'make install' would
83 - # get confused if we shove 'units_cur' there, and there is no real
84 - # need to add more complexity for it
85 - if use units-cur; then
86 - sed \
87 - -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \
88 - -e 's|^#!|&/usr/bin/python|g' \
89 - units_cur_inst > units_cur || die
90 - python_fix_shebang units_cur
91 - python_doscript units_cur
92 - fi
93 -}
94
95 diff --git a/sci-calculators/units/units-2.18.ebuild b/sci-calculators/units/units-2.18.ebuild
96 deleted file mode 100644
97 index ba5ed4ef521..00000000000
98 --- a/sci-calculators/units/units-2.18.ebuild
99 +++ /dev/null
100 @@ -1,65 +0,0 @@
101 -# Copyright 1999-2020 Gentoo Authors
102 -# Distributed under the terms of the GNU General Public License v2
103 -
104 -EAPI=6
105 -PYTHON_COMPAT=( python3_6 )
106 -inherit eutils python-single-r1
107 -
108 -DESCRIPTION="Unit conversion program"
109 -HOMEPAGE="https://www.gnu.org/software/units/units.html"
110 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
111 -
112 -LICENSE="FDL-1.3 GPL-3"
113 -SLOT="0"
114 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
115 -IUSE="+units-cur"
116 -REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )"
117 -
118 -RDEPEND="
119 - sys-libs/readline:=
120 - units-cur? (
121 - ${PYTHON_DEPS}
122 - $(python_gen_cond_dep '
123 - dev-python/future[${PYTHON_MULTI_USEDEP}]
124 - dev-python/requests[${PYTHON_MULTI_USEDEP}]
125 - ')
126 - )
127 -"
128 -DEPEND="
129 - ${RDEPEND}
130 -"
131 -PATCHES=(
132 - "${FILESDIR}"/${PN}-2.17-network-sandbox.patch
133 -)
134 -
135 -pkg_setup() {
136 - use units-cur && python-single-r1_pkg_setup
137 -}
138 -
139 -src_configure() {
140 - econf \
141 - --sharedstatedir="${EPREFIX}"/var/lib \
142 - ac_cv_path_PYTHON=no
143 -}
144 -
145 -src_compile() {
146 - emake ${PN}
147 -}
148 -
149 -src_install() {
150 - emake DESTDIR="${D}" install
151 -
152 - dodoc ChangeLog NEWS README
153 -
154 - # we're intentionally delaying this since 'make install' would
155 - # get confused if we shove 'units_cur' there, and there is no real
156 - # need to add more complexity for it
157 - if use units-cur; then
158 - sed \
159 - -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \
160 - -e 's|^#!|&/usr/bin/python|g' \
161 - units_cur_inst > units_cur || die
162 - python_fix_shebang units_cur
163 - python_doscript units_cur
164 - fi
165 -}