1 |
commit: 99af30bdb87c3935c1f1a007fd439cb697f5bf95 |
2 |
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 21 17:19:33 2020 +0000 |
4 |
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 21 17:19:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99af30bd |
7 |
|
8 |
net-print/foo2zjs: add stable candidate |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> |
12 |
|
13 |
net-print/foo2zjs/Manifest | 1 + |
14 |
...zjs-99999999.ebuild => foo2zjs-20200221.ebuild} | 30 ++++++---------------- |
15 |
net-print/foo2zjs/foo2zjs-99999999.ebuild | 8 +++--- |
16 |
3 files changed, 14 insertions(+), 25 deletions(-) |
17 |
|
18 |
diff --git a/net-print/foo2zjs/Manifest b/net-print/foo2zjs/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..1a03fc0a744 |
21 |
--- /dev/null |
22 |
+++ b/net-print/foo2zjs/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST foo2zjs-20200221.tar.xz 6330264 BLAKE2B 71e290cbb76d4975d72627270406a8479437adc3e94d334827d5c219dc0269708ddc559f847f881076f40515396931a2b4a4f4604b121e6a7007a5b2fc5b3432 SHA512 8d992b48157189b800a2ba2f8e528f0c3d59a532e6172f2979c4b3f6fa9a3ac7167e0e28195019b70e260d2459ebd17aba118735d5a2c8e5c7603c750ea8dfaf |
25 |
|
26 |
diff --git a/net-print/foo2zjs/foo2zjs-99999999.ebuild b/net-print/foo2zjs/foo2zjs-20200221.ebuild |
27 |
similarity index 74% |
28 |
copy from net-print/foo2zjs/foo2zjs-99999999.ebuild |
29 |
copy to net-print/foo2zjs/foo2zjs-20200221.ebuild |
30 |
index 53f4e1dcf6a..a3a8fb5c6d1 100644 |
31 |
--- a/net-print/foo2zjs/foo2zjs-99999999.ebuild |
32 |
+++ b/net-print/foo2zjs/foo2zjs-20200221.ebuild |
33 |
@@ -1,7 +1,7 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
-EAPI=5 |
39 |
+EAPI=7 |
40 |
|
41 |
inherit toolchain-funcs eutils |
42 |
|
43 |
@@ -10,7 +10,7 @@ HOMEPAGE="http://foo2zjs.rkkda.com/" |
44 |
|
45 |
LICENSE="GPL-2" |
46 |
SLOT="0" |
47 |
-KEYWORDS="" |
48 |
+KEYWORDS="~amd64" |
49 |
IUSE="test" |
50 |
|
51 |
RESTRICT="bindist !test? ( test )" |
52 |
@@ -27,28 +27,12 @@ DEPEND="${RDEPEND} |
53 |
sys-devel/bc |
54 |
test? ( sys-process/time )" |
55 |
|
56 |
-S="${WORKDIR}/${PN}" |
57 |
+SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" |
58 |
|
59 |
-src_unpack() { |
60 |
- einfo "Fetching ${PN} tarball" |
61 |
- wget "http://foo2zjs.rkkda.com/${PN}.tar.gz" || die |
62 |
- tar zxf "${WORKDIR}/${PN}.tar.gz" || die |
63 |
- |
64 |
- epatch "${FILESDIR}/${PN}-udev.patch"\ |
65 |
+src_prepare() { |
66 |
+ eapply "${FILESDIR}/${PN}-udev.patch"\ |
67 |
"${FILESDIR}/${PN}-usbbackend.patch" |
68 |
|
69 |
- cd "${S}" || die |
70 |
- |
71 |
- einfo "Fetching additional files (firmware, etc)" |
72 |
- emake getweb |
73 |
- |
74 |
- # Display wget output, downloading takes some time. |
75 |
- sed -e '/^WGETOPTS/s/-q//g' -i getweb || die |
76 |
- |
77 |
- ./getweb all || die |
78 |
-} |
79 |
- |
80 |
-src_prepare() { |
81 |
# Prevent an access violation. |
82 |
sed -e "s~/etc~${D}/etc~g" -i Makefile || die |
83 |
sed -e "s~/etc~${D}/etc~g" -i hplj1000 || die |
84 |
@@ -61,6 +45,8 @@ src_prepare() { |
85 |
# during make install |
86 |
sed -e '/rm .*LIBUDEVDIR)\//d' -i Makefile || die |
87 |
sed -e '/rm .*lib\/udev\/rules.d\//d' -i hplj1000 || die |
88 |
+ |
89 |
+ default |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
|
94 |
diff --git a/net-print/foo2zjs/foo2zjs-99999999.ebuild b/net-print/foo2zjs/foo2zjs-99999999.ebuild |
95 |
index 53f4e1dcf6a..630ce3d9e59 100644 |
96 |
--- a/net-print/foo2zjs/foo2zjs-99999999.ebuild |
97 |
+++ b/net-print/foo2zjs/foo2zjs-99999999.ebuild |
98 |
@@ -1,7 +1,7 @@ |
99 |
-# Copyright 1999-2019 Gentoo Authors |
100 |
+# Copyright 1999-2020 Gentoo Authors |
101 |
# Distributed under the terms of the GNU General Public License v2 |
102 |
|
103 |
-EAPI=5 |
104 |
+EAPI=7 |
105 |
|
106 |
inherit toolchain-funcs eutils |
107 |
|
108 |
@@ -34,7 +34,7 @@ src_unpack() { |
109 |
wget "http://foo2zjs.rkkda.com/${PN}.tar.gz" || die |
110 |
tar zxf "${WORKDIR}/${PN}.tar.gz" || die |
111 |
|
112 |
- epatch "${FILESDIR}/${PN}-udev.patch"\ |
113 |
+ eapply "${FILESDIR}/${PN}-udev.patch"\ |
114 |
"${FILESDIR}/${PN}-usbbackend.patch" |
115 |
|
116 |
cd "${S}" || die |
117 |
@@ -61,6 +61,8 @@ src_prepare() { |
118 |
# during make install |
119 |
sed -e '/rm .*LIBUDEVDIR)\//d' -i Makefile || die |
120 |
sed -e '/rm .*lib\/udev\/rules.d\//d' -i hplj1000 || die |
121 |
+ |
122 |
+ default |
123 |
} |
124 |
|
125 |
src_compile() { |