Gentoo Archives: gentoo-commits

From: Daniel Pielmeier <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/
Date: Fri, 25 Sep 2020 22:21:58
Message-Id: 1601072501.0fe5854ccdd1c2e0d75243dc0b606f71bfe4f36f.billie@gentoo
1 commit: 0fe5854ccdd1c2e0d75243dc0b606f71bfe4f36f
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 22:21:41 2020 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 22:21:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe5854c
7
8 net-print/hplip-plugin: Remove old.
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
12
13 net-print/hplip-plugin/Manifest | 2 -
14 net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild | 63 ----------------------
15 net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild | 63 ----------------------
16 3 files changed, 128 deletions(-)
17
18 diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
19 index b9a3da1ad60..4764154b084 100644
20 --- a/net-print/hplip-plugin/Manifest
21 +++ b/net-print/hplip-plugin/Manifest
22 @@ -1,3 +1 @@
23 -DIST hplip-3.19.12-plugin.run 11512079 BLAKE2B 534cbba51b2254f8227611b8f0449e100361fb445400f664e43e30412be8eb554bb35c2fe260d45cd5ad742b083af6d551532a9d14585029b0ff93675fab578a SHA512 ac2022d555f5084d5bf1e4519ddbb29828e9ca385aa6dff818ae9e79b60b4b2745e31ad4146cb01bca3747fae0d61b96e4a823b81179d2e2c55a643831165e4b
24 -DIST hplip-3.20.3-plugin.run 11514166 BLAKE2B 15ff8caf13f82256a5e814acf2b0433a6d365cea8b0073ea133f2e8a175796be04b058f44f68fb86c0f43f4a7c0bebf14f486aa93548b5155490e7240d02355a SHA512 3481c852aed773d3b3bcecd203066476a670eb506688381c54bc88f4057ad15da99b128d8a1cc2358985c0b3772b5538e75988dd66221f50dcea78f9bab2e3ce
25 DIST hplip-3.20.6-plugin.run 11514108 BLAKE2B 83e2d26fb397c5c5df1fc4371bfc2798cea049965499b6f1ad5daa05b44b74f51ba9deb933b564dfa47a8d0ef79d4921c3a96b9531730317742e1c5651d7b012 SHA512 6f9e5c92e302f4068abbe9134cf7f8081fcbe98568c9b75d6a668843b76c83afd0f4fbb3d90d3ac775c719ab8e2dca5beedd887ef6d072bd8ee0eb48d42521ed
26
27 diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild
28 deleted file mode 100644
29 index 94c7a5c5514..00000000000
30 --- a/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild
31 +++ /dev/null
32 @@ -1,63 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit unpacker
39 -
40 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
41 -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
42 -SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
43 -LICENSE="hplip-plugin"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~x86"
46 -IUSE=""
47 -
48 -RDEPEND="
49 - ~net-print/hplip-${PV}
50 - virtual/libusb:0
51 - virtual/udev
52 -"
53 -DEPEND=""
54 -
55 -S=${WORKDIR}
56 -
57 -HPLIP_HOME=/usr/share/hplip
58 -
59 -# Binary prebuilt package
60 -QA_PREBUILT="${HPLIP_HOME}/*.so"
61 -
62 -# License does not allow us to redistribute the "source" package
63 -RESTRICT="mirror"
64 -
65 -src_install() {
66 - local hplip_arch
67 - case "${ARCH}" in
68 - amd64) hplip_arch="x86_64" ;;
69 - arm) hplip_arch="arm32" ;;
70 - x86) hplip_arch="x86_32" ;;
71 - *) die "Unsupported architecture." ;;
72 - esac
73 -
74 - insinto "${HPLIP_HOME}"/data/firmware
75 - doins *.fw.gz
76 -
77 - for plugin in *-${hplip_arch}.so; do
78 - local plugin_type=prnt
79 - case "${plugin}" in
80 - fax_*) plugin_type=fax ;;
81 - bb_*) plugin_type=scan ;;
82 - esac
83 -
84 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
85 - newexe ${plugin} ${plugin/-${hplip_arch}}
86 - done
87 -
88 - insinto /var/lib/hp
89 - newins - hplip.state <<-_EOF_
90 - [plugin]
91 - installed = 1
92 - eula = 1
93 - version = ${PV}
94 - _EOF_
95 -}
96
97 diff --git a/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild b/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild
98 deleted file mode 100644
99 index 94c7a5c5514..00000000000
100 --- a/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild
101 +++ /dev/null
102 @@ -1,63 +0,0 @@
103 -# Copyright 1999-2020 Gentoo Authors
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=7
107 -
108 -inherit unpacker
109 -
110 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
111 -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
112 -SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run"
113 -LICENSE="hplip-plugin"
114 -SLOT="0"
115 -KEYWORDS="~amd64 ~arm ~x86"
116 -IUSE=""
117 -
118 -RDEPEND="
119 - ~net-print/hplip-${PV}
120 - virtual/libusb:0
121 - virtual/udev
122 -"
123 -DEPEND=""
124 -
125 -S=${WORKDIR}
126 -
127 -HPLIP_HOME=/usr/share/hplip
128 -
129 -# Binary prebuilt package
130 -QA_PREBUILT="${HPLIP_HOME}/*.so"
131 -
132 -# License does not allow us to redistribute the "source" package
133 -RESTRICT="mirror"
134 -
135 -src_install() {
136 - local hplip_arch
137 - case "${ARCH}" in
138 - amd64) hplip_arch="x86_64" ;;
139 - arm) hplip_arch="arm32" ;;
140 - x86) hplip_arch="x86_32" ;;
141 - *) die "Unsupported architecture." ;;
142 - esac
143 -
144 - insinto "${HPLIP_HOME}"/data/firmware
145 - doins *.fw.gz
146 -
147 - for plugin in *-${hplip_arch}.so; do
148 - local plugin_type=prnt
149 - case "${plugin}" in
150 - fax_*) plugin_type=fax ;;
151 - bb_*) plugin_type=scan ;;
152 - esac
153 -
154 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
155 - newexe ${plugin} ${plugin/-${hplip_arch}}
156 - done
157 -
158 - insinto /var/lib/hp
159 - newins - hplip.state <<-_EOF_
160 - [plugin]
161 - installed = 1
162 - eula = 1
163 - version = ${PV}
164 - _EOF_
165 -}