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: Wed, 27 Sep 2017 20:41:32
Message-Id: 1506544883.16e85f4c7b2434b9ba034d05b6dcf35d698fe349.billie@gentoo
1 commit: 16e85f4c7b2434b9ba034d05b6dcf35d698fe349
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 27 20:41:23 2017 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 27 20:41:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e85f4c
7
8 net-print/hplip-plugin: Remove old.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.1
11
12 net-print/hplip-plugin/Manifest | 2 -
13 net-print/hplip-plugin/hplip-plugin-3.17.6.ebuild | 69 ----------------------
14 net-print/hplip-plugin/hplip-plugin-3.17.7.ebuild | 70 -----------------------
15 3 files changed, 141 deletions(-)
16
17 diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
18 index 1f5d83b9a31..0cc7f8f6488 100644
19 --- a/net-print/hplip-plugin/Manifest
20 +++ b/net-print/hplip-plugin/Manifest
21 @@ -1,4 +1,2 @@
22 DIST hplip-3.16.3-plugin.run 2084271 SHA256 b7edef2a1c5c0a5e001deb4a18c0ef7202e653596e97144b8908ae093818070f SHA512 2ae8aeb40c2604a2c6b9725700f9addf7a82e819d603631158a5d5feac931248e53e7533178100df1fc12b0dc2340cb3ae0d85f145cd023a311f77bbe67e7c7f WHIRLPOOL 928117f862030eca9c3e5813eb8c4db66570923695b0c7af17df1992f339d2478f42af67ca0e0eb8cfa1d7425b522082fde3b8c829c3f5167e1ec503c95a986b
23 -DIST hplip-3.17.6-plugin.run 2059641 SHA256 7ba9377c6ea4ed2a498963dc53a400e3015374bd376dddb5e3248aeabb3aee28 SHA512 a04145a5512ceecc0d35b06846050507afb0905f865878f166f646de7f75368ea9392cc7daea9a0fbec236f6ea65192915f4be0196b005ce7a28b2807185191e WHIRLPOOL f0a02f1254e849c9b2df58ddcbbc1d91c4e496d41fae909245eb60ed3e2f1ac737b89bb4b7d5dbf75cd465d55d1a1ec2fcb0d3df1597addba9ffabaedc39801d
24 -DIST hplip-3.17.7-plugin.run 2059561 SHA256 3c7acfb8e349332c555c958181c86322a86c33848a11b481040a754d6b5c9db1 SHA512 605cae8ea4433943377e3865b6d0c84bcc0be6f4aa78ab0dbcf2543438fceede8bc0cd2c1a242822b97e173390851e210b0e0c8492d129ea5e7fbcb9c8c505ff WHIRLPOOL 7efc7602bee97f31627152acfa9731d2ebff705d8841f2d6472dc90bd6cd18080f629c46d46564659b0566a6bffeae86452353e2a4fa3b8599b5bb3f8ed09ea9
25 DIST hplip-3.17.9-plugin.run 2059585 SHA256 98f717266340baa15e0385dc4928cc9c127a9403b72749f4899657cef8dfe883 SHA512 a7a9ee8b7edda3641b5c3aa403570aad72ce9cd42cdd4c64904a0be409cefa838712390c7f535482028ac2d494c711baef77f2f601835b01591fa673272c01ba WHIRLPOOL e6615652382d11ddbe646b793d1f5aff61872ab4f30925855be66faa4d8ebace113a43e369e1b4d199bb65d3bd0315de32cd49d264c52f6d47e7f17990f0263f
26
27 diff --git a/net-print/hplip-plugin/hplip-plugin-3.17.6.ebuild b/net-print/hplip-plugin/hplip-plugin-3.17.6.ebuild
28 deleted file mode 100644
29 index ab7649d1961..00000000000
30 --- a/net-print/hplip-plugin/hplip-plugin-3.17.6.ebuild
31 +++ /dev/null
32 @@ -1,69 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -
38 -inherit udev unpacker
39 -
40 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
41 -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
42 -SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
43 -
44 -LICENSE="hplip-plugin"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE=""
48 -
49 -RDEPEND="
50 - ~net-print/hplip-${PV}
51 - virtual/udev
52 -"
53 -DEPEND=""
54 -
55 -S=${WORKDIR}
56 -
57 -HPLIP_HOME=/usr/share/hplip
58 -
59 -# Binary prebuilt package
60 -QA_PRESTRIPPED="
61 - /usr/share/hplip/fax/plugins/fax_marvell.so
62 - /usr/share/hplip/prnt/plugins/hbpl1.so
63 - /usr/share/hplip/prnt/plugins/lj.so
64 - /usr/share/hplip/scan/plugins/bb_escl.so
65 - /usr/share/hplip/scan/plugins/bb_marvell.so
66 - /usr/share/hplip/scan/plugins/bb_soapht.so
67 - /usr/share/hplip/scan/plugins/bb_soap.so
68 -"
69 -
70 -# License does not allow us to redistribute the "source" package
71 -RESTRICT="mirror"
72 -
73 -src_unpack() {
74 - unpack_makeself "hplip-${PV}-plugin.run"
75 -}
76 -
77 -src_install() {
78 - local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
79 -
80 - insinto "${HPLIP_HOME}"/data/firmware
81 - doins *.fw.gz
82 -
83 - for plugin in *-${hplip_arch}.so; do
84 - local plugin_type=prnt
85 - case "${plugin}" in
86 - fax_*) plugin_type=fax ;;
87 - bb_*) plugin_type=scan ;;
88 - esac
89 -
90 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
91 - newexe ${plugin} ${plugin/-${hplip_arch}}
92 - done
93 -
94 - mkdir -p "${ED}/var/lib/hp/"
95 - cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
96 - [plugin]
97 - installed = 1
98 - eula = 1
99 - version = ${PV}
100 - _EOF_
101 -}
102
103 diff --git a/net-print/hplip-plugin/hplip-plugin-3.17.7.ebuild b/net-print/hplip-plugin/hplip-plugin-3.17.7.ebuild
104 deleted file mode 100644
105 index 8617df53c8d..00000000000
106 --- a/net-print/hplip-plugin/hplip-plugin-3.17.7.ebuild
107 +++ /dev/null
108 @@ -1,70 +0,0 @@
109 -# Copyright 1999-2017 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI="6"
113 -
114 -inherit udev unpacker
115 -
116 -DESCRIPTION="Proprietary plugins and firmware for HPLIP"
117 -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
118 -#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
119 -SRC_URI="http://hplipopensource.com/hplip-web/plugin/hplip-${PV}-plugin.run"
120 -
121 -LICENSE="hplip-plugin"
122 -SLOT="0"
123 -KEYWORDS="~amd64 ~x86"
124 -IUSE=""
125 -
126 -RDEPEND="
127 - ~net-print/hplip-${PV}
128 - virtual/udev
129 -"
130 -DEPEND=""
131 -
132 -S=${WORKDIR}
133 -
134 -HPLIP_HOME=/usr/share/hplip
135 -
136 -# Binary prebuilt package
137 -QA_PRESTRIPPED="
138 - /usr/share/hplip/fax/plugins/fax_marvell.so
139 - /usr/share/hplip/prnt/plugins/hbpl1.so
140 - /usr/share/hplip/prnt/plugins/lj.so
141 - /usr/share/hplip/scan/plugins/bb_escl.so
142 - /usr/share/hplip/scan/plugins/bb_marvell.so
143 - /usr/share/hplip/scan/plugins/bb_soapht.so
144 - /usr/share/hplip/scan/plugins/bb_soap.so
145 -"
146 -
147 -# License does not allow us to redistribute the "source" package
148 -RESTRICT="mirror"
149 -
150 -src_unpack() {
151 - unpack_makeself "hplip-${PV}-plugin.run"
152 -}
153 -
154 -src_install() {
155 - local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
156 -
157 - insinto "${HPLIP_HOME}"/data/firmware
158 - doins *.fw.gz
159 -
160 - for plugin in *-${hplip_arch}.so; do
161 - local plugin_type=prnt
162 - case "${plugin}" in
163 - fax_*) plugin_type=fax ;;
164 - bb_*) plugin_type=scan ;;
165 - esac
166 -
167 - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
168 - newexe ${plugin} ${plugin/-${hplip_arch}}
169 - done
170 -
171 - mkdir -p "${ED}/var/lib/hp/"
172 - cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
173 - [plugin]
174 - installed = 1
175 - eula = 1
176 - version = ${PV}
177 - _EOF_
178 -}