1 |
commit: 2c2c12c62e3b9396f718f50191c0691f0d5eb93a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 29 18:50:35 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 19:23:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2c12c6 |
7 |
|
8 |
dev-embedded/arduino-builder: drop 1.3.25, 1.4.1-r1, EAPI-6-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/865449 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-embedded/arduino-builder/Manifest | 15 --- |
14 |
.../arduino-builder/arduino-builder-1.3.25.ebuild | 80 ------------- |
15 |
.../arduino-builder-1.4.1-r1.ebuild | 68 ----------- |
16 |
.../arduino-builder-1.3.25-platform-paths.patch | 19 --- |
17 |
.../files/arduino-builder-1.3.25-skip-tests.patch | 109 ----------------- |
18 |
.../arduino-builder-1.4.1-platform-paths.patch | 19 --- |
19 |
.../files/arduino-builder-1.4.1-skip-tests.patch | 129 --------------------- |
20 |
7 files changed, 439 deletions(-) |
21 |
|
22 |
diff --git a/dev-embedded/arduino-builder/Manifest b/dev-embedded/arduino-builder/Manifest |
23 |
index 40bc6880ebf0..18865c3359aa 100644 |
24 |
--- a/dev-embedded/arduino-builder/Manifest |
25 |
+++ b/dev-embedded/arduino-builder/Manifest |
26 |
@@ -1,5 +1,3 @@ |
27 |
-DIST arduino-builder-1.3.25.tar.gz 206905 BLAKE2B 6770b89607c1563b68a79d34e6e214586106c63a4b3c854b4f85a4b9eb2fc24ce5d4a97c29b0c05c19b6834e103f3c3c574bd8cefed0eb684d8aab7e4c71ee7f SHA512 3740530800f8a3cfe1fe20a91579e6b632b76c2c4ace68c7b178a2d234032d5887abee3d0360c3039f2fec912a0d5cabe948bf930a7d9ea23221625456ad5357 |
28 |
-DIST arduino-builder-1.4.1.tar.gz 220058 BLAKE2B b993ad508b81b3f05bb24747a63ac7b826739265aabc0437be403ca7154e6f3b580dacf235979fa4b395c6cc8c978e2cbdcab072822bd8fe61e42074ca4323e8 SHA512 d72f63d4235531310c412b096d154977d7d6ea2746e8703c8208e33e7bf3cac416817ccb5fbc47248bfe4a5858fa3a91117919b8cb636261c5cec28b8bc415bc |
29 |
DIST arduino-builder-1.5.4.tar.gz 38550 BLAKE2B 0dcf6097be6b42e52a74e8feeaa44f54c77a780a8fd0a2d046342b160d3eb6ef586e8b98c3058f11693991883acc83e3fd68f381cdab13c5fac410b2b0b8a27e SHA512 a5d117018e9eb3587564cfe49bbee95ac93eef742ce21ca49e4f1037b51fd64f1f2ffbac6fed282dfc79f307d6499222fab94f6c5472030cbb2a134fc553ea00 |
30 |
DIST bou.ke%2Fmonkey%2F@v%2Fv1.0.1.mod 21 BLAKE2B cb370d962525feda03a1308de4d483ee6c5c21dd20dc9a364e4b62f3a5bbf4c01c4d02ba328a71648415cd00d2008b889067d9f5bebb24bb799049bd4aa3267c SHA512 bbfba4d582bb53a1d5bf3e73864937ffa7a8ab810b7daf2959f58fd369f88b62a02321b0a4d26b117ffe4a4f488180586613ddbabb342df077a72a7208528da3 |
31 |
DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273 |
32 |
@@ -330,19 +328,6 @@ DIST github.com%2Fvalyala%2Fbytebufferpool%2F@v%2Fv1.0.0.mod 41 BLAKE2B b7c7dfaa |
33 |
DIST github.com%2Fvalyala%2Ffasttemplate%2F@v%2Fv1.0.1.mod 89 BLAKE2B 6dd7632179015369088b8e1271127271daac6a3af65032e723691e1d19ae50428b705a8f417950dd1b86c6aae63a0518636029f589eb4ef722e1c21ef0d0aa9a SHA512 02820d9107d43b1d41e74fb2281edb421bd95f852ae1062536d3f2ad9d6e97e2154b90a831f4618a0f83f9c4a828c176759132c0565a7a4d99dfe3b76e5f6d10 |
34 |
DIST github.com%2Fxiang90%2Fprobing%2F@v%2Fv0.0.0-20190116061207-43a291ad63a2.mod 34 BLAKE2B da6bd307f61b08eb749a0b2d9a9f445dfc057c8cafaa13f4a7c6d2d2324f7812c9c8269d9747cc21db9c3478f73558da05035b3f1ce9940f5c5befb16dcdd159 SHA512 b9773f617e5b48c6767051fc7dd2faa63a8a9d537ee42fb51efe6db5b3d24060dea0a264568bb5324915de8917a334f3563dc49d35651a4ee7c15042faad2964 |
35 |
DIST github.com%2Fxordataexchange%2Fcrypt%2F@v%2Fv0.0.3-0.20170626215501-b2862e3d0a77.mod 40 BLAKE2B 844d63d9c10c55eb74504d88d5e6e85641f2c4bdbbc9b4f6728cd6b1e750d1eb333e91b6eadac635a80abf328c9423fa106b18337e89dc592876cd3f04a803e2 SHA512 daffe8f4148becee3a32c90ad21454cd48255409f3edff8681ea2074623c8aa02cbb4620b7ba52aabe4ac3c24a5f256b56fd71de1da45dcd7e4e8376699a422a |
36 |
-DIST github.com-arduino-go-paths-helper-751652ddd9f0a98650e681673c2c73937002e889.tar.gz 14609 BLAKE2B f8a5b54f9898db7ea02d8aad779fc32cb6b21e430c84c5f77b985f9a23dc62de95a6a366956b7861b6b4b261ff5f30d3b20c92e51b256ed6f223a309a644302d SHA512 6116531448270b502187cd91d2a0847a8791c53b65729766291f1ddaa9bc2ce95b0d24a54dc895ad62e2d04c092081ce46300101b9f371db78b0204a541c8252 |
37 |
-DIST github.com-arduino-go-properties-map-ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41.tar.gz 16406 BLAKE2B f6afeb160114bfb221c882d1b2c8e7f6d6841585affbf349c82c421500d28cf2b09b28bef960048c357fac69ef5432cecc0a0098f7a4929aa0d3d566cbe56bd1 SHA512 5327e207b4a1a978585345d498f4af39bdd716686c058dacebada113cc07066834ebe19eb8f4d8388d400755dca7e8656bc053e7d8804a1d7e04a1cc6c4414ea |
38 |
-DIST github.com-arduino-go-timeutils-d1dd9e313b1bfede35fe0bbf46d612e16a50e04e.tar.gz 8086 BLAKE2B d2e558b3c88e084c99cd0dd0ccaa0859e21b53671d4d28f57cce505f7fda0f89fdde7a08bcf7d2e4d8b57e4a760bdc608e97f0c27542fd0a396a548494bb7351 SHA512 e573f448c4b0b17882be98516abcdbbc4174e3ab041ce1390bc7e3e365932f1a4c7fe63cebf4e82b43bec5d5f4748511fa608a777a0cbc18b29e224041884fb8 |
39 |
-DIST github.com-fsnotify-fsnotify-c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9.tar.gz 31164 BLAKE2B 8ed43520ed7df3f52585b41358e2c89c55cd9bcea78affbf76d11cb2d3660e2de63d2debd91cd4da7c1a1fde3afac1086e616ab632460389cd4f10cc633a3e81 SHA512 809a90dcfbf565d335514257b577150a367e16ef871e2f44584a13fe3bc3ac87cbd789f7c7882a76cf7a7c546740c6552ec7382b4a6d18c4f0e845bcc3a7b0c8 |
40 |
-DIST github.com-go-errors-errors-a41850380601eeb43f4350f7d17c6bbd8944aaf8.tar.gz 7835 BLAKE2B f4092b4ef5ebf996cb3c20183868dbdd154ea7cf02a4fd5a3375a3193e9ccacad08f0b6681b456786524b729ffb8c0b5c8af6ceec630eec22326d0fe1e00eb22 SHA512 b1d5e7c6f30f94f8a41b10d32b7f4ce7de8394f74ede6c14fb1f267a0514b24bc3bc7659c3baf6eacf424cea8451e7e57f5f72acc568342e90a447bd02f3e262 |
41 |
-DIST github.com-golang-net-ed066c81e75eba56dd9bd2139ade88125b855585.tar.gz 968328 BLAKE2B 14d5542bd808b9571a8305a5d2054df3205419249724851e976e354dab653de2266b0b9d7b46b4fd846a7d810bbd510be54d0d98e6d6c5cfea5d19e8df5ae528 SHA512 f63654665e7221b089f1dd9b9603670481b1a59137cf0b5c4cbe7c77a6a66b7537dc03b7c412328d9186edb8a661e66a82ee9839b594d176bee6e7377f13cca4 |
42 |
-DIST github.com-golang-protobuf-aa810b61a9c79d51363740d207bb46cf8e620ed5.tar.gz 332903 BLAKE2B b05fa3e3316bd6adbad623ab239795172ee70c38380873ee52a32c10f8f3e750c26b27fc43da4a290d82eda5723fd56063bffe01fdedb2d3a65bf5349abdb376 SHA512 80407835aef3553f655c35e89aa884038c90a3667460af1db60b069ae31e870efc59d6907743ee080d85e167c20d778440b9a6d19ff79f9055bc666c8314fe30 |
43 |
-DIST github.com-golang-sys-11f53e03133963fb11ae0588e08b5e0b85be8be5.tar.gz 1222479 BLAKE2B a84f877365823217fa52d1e31b40016109b18816f2c53539278b217c92f877b4a0553f59904eb3e6a9286919dc5472fa8efeaac65a0662b9b88d866e75284df0 SHA512 46a1b9d4d48f808d2658b796ef84f4e6fe2469bd5ab6327715b47a44b28154bbe503dca8d0932a234ea554febe97025e4da7543bd3aca4342458d082567187a1 |
44 |
-DIST github.com-golang-text-e6919f6577db79269a6443b9dc46d18f2238fb5d.tar.gz 6588337 BLAKE2B f182e9a40157c43aa749fae5fd6aacadf994a7c2051fc23dfef8031b243f691446d4e5c93c9b363ab22df38f533b1635aa45e23f4d8de7947ad7ab0aa8e5898a SHA512 caae52905ffdaa8e712f6b92a03a8cf9d9eba227e04ee795977c2b76bd79bc16457f846c11e45525f3e3df557fab5e0279fe098c0145b5807c0e580dd339f452 |
45 |
-DIST github.com-google-go-genproto-af9cb2a35e7f169ec875002c1829c9b315cddc04.tar.gz 2323831 BLAKE2B a614c74b60f8e347b47c8686807228ea76b021a918fc732b69293c8b59c1bc5396e320cbce6db87ab43b9a4fd649d19779874934bdd667f7cabf03165439c54a SHA512 a6524f31e8c4775195c245ffbe54c7f770591d46663ea86b8120ffd8efb3cf9269569fbf457b0d0272dc47177ccf3b413e858c2b437ee9892b5ac6698d07ed4d |
46 |
-DIST github.com-grpc-grpc-go-8dea3dc473e90c8179e519d91302d0597c0ca1d1.tar.gz 506815 BLAKE2B 498909d0704b46d54571ad1f87d7636fafdf48f11fbf53e5e8ec6cd16aa6cd57cdfaedd8a7c00cd33ff60c99b0ab0dbf3f9c8df28155c75b2ceeaada3afabf92 SHA512 37970d20ce358d5186a9a152b1a0b1af816f7d53de8f2c35c901e8533e8191125e08ca60e1177bbab5e2585a1fa6e0fa9785ac70caadc5aa0fa58c189d26ca95 |
47 |
-DIST github.com-jstemmer-go-junit-report-833f8ea2b99d36d5f018698333834f3df200a0c2.tar.gz 6901 BLAKE2B 6138ac40810ad000a4336ffbca3bc5c1d0e96854c7918fb2aad9f7b2596ac66f285ac8c519e30b6e97cdb0009b31ab73b83ff2e1db2f464c2d88f2c1045a6bd9 SHA512 00f38f51c5f761b5a3e60a6e6b602f1246a746f081f2d8946d01387234270544692c6af54d0e69919c1af8aa753f848eeecc4421f2ddf881f21522ccf5545d75 |
48 |
-DIST github.com-stretchr-testify-1661650f989674e3e5bcdcb805536e5d31481526.tar.gz 81099 BLAKE2B 592a7c114b01bc5b1982135f310aa8619c2888ac36ccb5d876a38655a13f7dc4d468a7a42a44cf9cf69fc7bd6769a9ba010b48089d5ce866dcd564e20487e04a SHA512 f10255b0f47237c7583626a3bb213ca67d0db92c2a1531cc31dac089cdb13139b01647809503313a26f3e53a64a98cebc3bf9c4e1bd1ed975d9b81aa516ab5af |
49 |
DIST go.bug.st%2Fcleanup%2F@v%2Fv1.0.0.mod 171 BLAKE2B adb6afc74e58dbcfd7ed6d7b39ada2572791c2ea2a172e19c6668fc22a04be7bc434469f6508b5bc90b6e3e1d35a017b2b2accc59bc4b47fba234352d803824b SHA512 6009e40829e12a205fb4438d55a3c9856d0f9dcf675dad5099890ec9c89c82e1dde1e3b110eee85ab8838c2f2fa52bae67ff6b747dc7d768b5a7d97d3b9b4278 |
50 |
DIST go.bug.st%2Fcleanup%2F@v%2Fv1.0.0.zip 3020 BLAKE2B 8addff8d095084fbfe64fae5c1ea15867e6c3b011db8c353913d1a5bd8a8f8ae55a6fdf252247ff771523a27fc635b6d223c2b78f7021c4923ab35ada0fb9c9a SHA512 06b5f5d9e4c36df5bd477ebc65b4661070c70391fdcf8d660ae558fef28f25fe635cc920d6ec2ee96f5b2b7d0af7cf65bb329db02543ec7ab6ff9b8a25e70e6f |
51 |
DIST go.bug.st%2Fdownloader%2Fv2%2F@v%2Fv2.0.1.mod 84 BLAKE2B ac7fbc551428259c64af58eea7024fd0777113d25e506b8ec73d50d9970548ce22eca9519db10ce4bbe01c84d9a149c27ca914f53cb2a0ac366d97095b07444c SHA512 8568f0a6835234576316a0d8ee5a136aa684007729e4f9e2223300db3c886695e41f9df1c3d46b30ac83beca8d6ab7efd99da9d1891a4084f22237d108e43472 |
52 |
|
53 |
diff --git a/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild b/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild |
54 |
deleted file mode 100644 |
55 |
index 9eea737b208b..000000000000 |
56 |
--- a/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild |
57 |
+++ /dev/null |
58 |
@@ -1,80 +0,0 @@ |
59 |
-# Copyright 1999-2018 Gentoo Authors |
60 |
-# Distributed under the terms of the GNU General Public License v2 |
61 |
- |
62 |
-EAPI=6 |
63 |
- |
64 |
-EGO_PN="arduino.cc/arduino-builder/..." |
65 |
- |
66 |
-EGO_VENDOR=( |
67 |
- "github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8" |
68 |
- "github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2" |
69 |
- "github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526" |
70 |
-) |
71 |
- |
72 |
-inherit golang-build golang-vcs-snapshot |
73 |
- |
74 |
-DESCRIPTION="A command line tool for compiling Arduino sketches" |
75 |
-HOMEPAGE="https://github.com/arduino/arduino-builder" |
76 |
-SRC_URI="https://github.com/arduino/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
77 |
- ${EGO_VENDOR_URI}" |
78 |
-LICENSE="GPL-2" |
79 |
-SLOT="0" |
80 |
-KEYWORDS="amd64 x86" |
81 |
- |
82 |
-RDEPEND="sys-devel/crossdev |
83 |
- dev-embedded/avrdude |
84 |
- dev-embedded/arduino-ctags" |
85 |
- |
86 |
-DEPEND=">=dev-lang/go-1.9.2" |
87 |
- |
88 |
-src_unpack() { |
89 |
- golang-vcs-snapshot_src_unpack |
90 |
-} |
91 |
- |
92 |
-src_prepare() { |
93 |
- # As we know, golang packages have to be compiled from namespace-aware paths which is the whole |
94 |
- # point of the EGO_PN dance. arduino-builder goes a step further by re-creating its own |
95 |
- # namespace inside its source package, messing up with our build process which can't find |
96 |
- # packages. Also, our source package contains multiple namespaces which further messes with |
97 |
- # messes with our vendoring process (each namespace needs its own vendor directory). |
98 |
- # We do the following to try to work around this mess. It looks like upstream reworked this |
99 |
- # in its master branch so we should be able to remove this in the upcoming major release. |
100 |
- |
101 |
- local deeppath="${S}/src/${EGO_PN%/...}" |
102 |
- for pkgname in builder properties timeutils; do |
103 |
- ln -s "${deeppath}/src/arduino.cc/${pkgname}" "${S}/src/arduino.cc/${pkgname}" |
104 |
- done |
105 |
- ln -s "${deeppath}/vendor/github.com" "${S}/src/github.com" |
106 |
- |
107 |
- # path paths so that they point to system ctags and avrdude |
108 |
- eapply "${FILESDIR}/arduino-builder-1.3.25-platform-paths.patch" |
109 |
- eapply "${FILESDIR}/arduino-builder-1.3.25-skip-tests.patch" |
110 |
- |
111 |
- default |
112 |
-} |
113 |
- |
114 |
-src_install() { |
115 |
- # we unfortunately have to copy/paste the contents of golang-build_src_install() here because |
116 |
- # we *don't* want to call golang_install_pkgs() which installs all static libraries we've |
117 |
- # built. All we want is to install the final executable. |
118 |
- |
119 |
- set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ |
120 |
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" |
121 |
- echo "$@" |
122 |
- "$@" || die |
123 |
- |
124 |
- # END OF COPY/PASTE |
125 |
- |
126 |
- dobin bin/arduino-builder |
127 |
- |
128 |
- # In addition to the binary, we also want to install these two files below. They are needed by |
129 |
- # the dev-embedded/arduino which copies those files in its "hardware" folder. |
130 |
- insinto "/usr/share/${PN}" |
131 |
- cd "src/arduino.cc/builder/hardware" || die |
132 |
- doins "platform.txt" |
133 |
- doins "platform.keys.rewrite.txt" |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- [ ! -x /usr/bin/avr-gcc ] && ewarn "Missing avr-gcc; you need to crossdev -s4 avr" |
138 |
-} |
139 |
|
140 |
diff --git a/dev-embedded/arduino-builder/arduino-builder-1.4.1-r1.ebuild b/dev-embedded/arduino-builder/arduino-builder-1.4.1-r1.ebuild |
141 |
deleted file mode 100644 |
142 |
index b47674849f04..000000000000 |
143 |
--- a/dev-embedded/arduino-builder/arduino-builder-1.4.1-r1.ebuild |
144 |
+++ /dev/null |
145 |
@@ -1,68 +0,0 @@ |
146 |
-# Copyright 1999-2019 Gentoo Authors |
147 |
-# Distributed under the terms of the GNU General Public License v2 |
148 |
- |
149 |
-EAPI=6 |
150 |
- |
151 |
-EGO_PN="github.com/arduino/arduino-builder/..." |
152 |
- |
153 |
-EGO_VENDOR=( |
154 |
- "github.com/arduino/go-properties-map ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41" |
155 |
- "github.com/arduino/go-timeutils d1dd9e313b1bfede35fe0bbf46d612e16a50e04e" |
156 |
- "github.com/arduino/go-paths-helper 751652ddd9f0a98650e681673c2c73937002e889" |
157 |
- "github.com/fsnotify/fsnotify c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9" |
158 |
- "github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8" |
159 |
- "github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5" |
160 |
- "github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2" |
161 |
- "github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526" |
162 |
- "google.golang.org/grpc 8dea3dc473e90c8179e519d91302d0597c0ca1d1 github.com/grpc/grpc-go" |
163 |
- "google.golang.org/genproto af9cb2a35e7f169ec875002c1829c9b315cddc04 github.com/google/go-genproto" |
164 |
- "golang.org/x/net ed066c81e75eba56dd9bd2139ade88125b855585 github.com/golang/net" |
165 |
- "golang.org/x/text e6919f6577db79269a6443b9dc46d18f2238fb5d github.com/golang/text" |
166 |
- "golang.org/x/sys 11f53e03133963fb11ae0588e08b5e0b85be8be5 github.com/golang/sys" |
167 |
-) |
168 |
- |
169 |
-inherit golang-build golang-vcs-snapshot |
170 |
- |
171 |
-DESCRIPTION="A command line tool for compiling Arduino sketches" |
172 |
-HOMEPAGE="https://github.com/arduino/arduino-builder" |
173 |
-SRC_URI="https://github.com/arduino/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
174 |
- ${EGO_VENDOR_URI}" |
175 |
-LICENSE="GPL-2" |
176 |
-SLOT="0" |
177 |
-KEYWORDS="~amd64 ~x86" |
178 |
- |
179 |
-RDEPEND="sys-devel/crossdev |
180 |
- dev-embedded/avrdude |
181 |
- dev-embedded/arduino-ctags" |
182 |
- |
183 |
-DEPEND=">=dev-lang/go-1.9.2" |
184 |
- |
185 |
-PATCHES=( |
186 |
- "${FILESDIR}/arduino-builder-1.4.1-platform-paths.patch" |
187 |
- "${FILESDIR}/arduino-builder-1.4.1-skip-tests.patch" |
188 |
-) |
189 |
- |
190 |
-src_install() { |
191 |
- # we unfortunately have to copy/paste the contents of golang-build_src_install() here because |
192 |
- # we *don't* want to call golang_install_pkgs() which installs all static libraries we've |
193 |
- # built. All we want is to install the final executable. |
194 |
- |
195 |
- set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ |
196 |
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" |
197 |
- echo "$@" |
198 |
- "$@" || die |
199 |
- |
200 |
- # END OF COPY/PASTE |
201 |
- |
202 |
- dobin bin/arduino-builder |
203 |
- # In addition to the binary, we also want to install these two files below. They are needed by |
204 |
- # the dev-embedded/arduino which copies those files in its "hardware" folder. |
205 |
- insinto "/usr/share/${PN}" |
206 |
- cd "src/github.com/arduino/arduino-builder/hardware" || die |
207 |
- doins "platform.txt" |
208 |
- doins "platform.keys.rewrite.txt" |
209 |
-} |
210 |
- |
211 |
-pkg_postinst() { |
212 |
- [ ! -x /usr/bin/avr-gcc ] && ewarn "Missing avr-gcc; you need to crossdev -s4 avr" |
213 |
-} |
214 |
|
215 |
diff --git a/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch |
216 |
deleted file mode 100644 |
217 |
index 854dc886af01..000000000000 |
218 |
--- a/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch |
219 |
+++ /dev/null |
220 |
@@ -1,19 +0,0 @@ |
221 |
-diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt |
222 |
-index ca8df1f..17ce03f 100644 |
223 |
---- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt |
224 |
-+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt |
225 |
-@@ -1,11 +1,11 @@ |
226 |
- # ctags |
227 |
- # ------------------------------ |
228 |
--tools.ctags.path={runtime.tools.ctags.path} |
229 |
--tools.ctags.cmd.path={path}/ctags |
230 |
-+tools.ctags.path=/usr/bin |
231 |
-+tools.ctags.cmd.path={path}/arduino-ctags |
232 |
- tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}" |
233 |
- |
234 |
- # additional entries |
235 |
--tools.avrdude.path={runtime.tools.avrdude.path} |
236 |
-+tools.avrdude.path=/usr/bin |
237 |
- |
238 |
- preproc.macros.flags=-w -x c++ -E -CC |
239 |
- #preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include} |
240 |
|
241 |
diff --git a/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-skip-tests.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-skip-tests.patch |
242 |
deleted file mode 100644 |
243 |
index 4ed170061c16..000000000000 |
244 |
--- a/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-skip-tests.patch |
245 |
+++ /dev/null |
246 |
@@ -1,109 +0,0 @@ |
247 |
-Skip tests that can't run on Gentoo because of the network sandbox |
248 |
-diff --git a/src/arduino.cc/builder/test/hardware_loader_test.go b/src/arduino.cc/builder/test/hardware_loader_test.go |
249 |
-index c9ea1d5..e7c68d2 100644 |
250 |
---- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go |
251 |
-+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go |
252 |
-@@ -41,6 +41,7 @@ import ( |
253 |
- ) |
254 |
- |
255 |
- func TestLoadHardware(t *testing.T) { |
256 |
-+ t.Skip("Can't run on Gentoo") |
257 |
- ctx := &types.Context{ |
258 |
- HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"}, |
259 |
- } |
260 |
-@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) { |
261 |
- } |
262 |
- |
263 |
- func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { |
264 |
-+ t.Skip("Can't run on Gentoo") |
265 |
- ctx := &types.Context{ |
266 |
- HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, |
267 |
- } |
268 |
-@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { |
269 |
- } |
270 |
- |
271 |
- func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { |
272 |
-+ t.Skip("Can't run on Gentoo") |
273 |
- ctx := &types.Context{ |
274 |
- HardwareFolders: []string{"downloaded_board_manager_stuff"}, |
275 |
- } |
276 |
-@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { |
277 |
- } |
278 |
- |
279 |
- func TestLoadLotsOfHardware(t *testing.T) { |
280 |
-+ t.Skip("Can't run on Gentoo") |
281 |
- ctx := &types.Context{ |
282 |
- HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, |
283 |
- } |
284 |
-diff --git a/src/arduino.cc/builder/test/helper_tools_downloader.go b/src/arduino.cc/builder/test/helper_tools_downloader.go |
285 |
-index 3642510..e6391b6 100644 |
286 |
---- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go |
287 |
-+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go |
288 |
-@@ -83,6 +83,7 @@ type Core struct { |
289 |
- } |
290 |
- |
291 |
- func DownloadCoresAndToolsAndLibraries(t *testing.T) { |
292 |
-+ t.Skip("Gentoo skips tests requiring network"); |
293 |
- cores := []Core{ |
294 |
- Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"}, |
295 |
- Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"}, |
296 |
-@@ -165,6 +166,7 @@ func patchFiles(t *testing.T) { |
297 |
- } |
298 |
- |
299 |
- func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) { |
300 |
-+ t.Skip("Gentoo skips tests requiring network"); |
301 |
- allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores) |
302 |
- NoError(t, err) |
303 |
- if allCoresDownloaded && |
304 |
-diff --git a/src/arduino.cc/builder/test/target_board_resolver_test.go b/src/arduino.cc/builder/test/target_board_resolver_test.go |
305 |
-index 274eb92..d6973e3 100644 |
306 |
---- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go |
307 |
-+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go |
308 |
-@@ -39,6 +39,7 @@ import ( |
309 |
- ) |
310 |
- |
311 |
- func TestTargetBoardResolverUno(t *testing.T) { |
312 |
-+ t.Skip("Can't run on Gentoo") |
313 |
- ctx := &types.Context{ |
314 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
315 |
- FQBN: "arduino:avr:uno", |
316 |
-@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) { |
317 |
- } |
318 |
- |
319 |
- func TestTargetBoardResolverDue(t *testing.T) { |
320 |
-+ t.Skip("Can't run on Gentoo") |
321 |
- ctx := &types.Context{ |
322 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
323 |
- FQBN: "arduino:sam:arduino_due_x", |
324 |
-@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) { |
325 |
- } |
326 |
- |
327 |
- func TestTargetBoardResolverMega1280(t *testing.T) { |
328 |
-+ t.Skip("Can't run on Gentoo") |
329 |
- ctx := &types.Context{ |
330 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
331 |
- FQBN: "arduino:avr:mega:cpu=atmega1280", |
332 |
-@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) { |
333 |
- } |
334 |
- |
335 |
- func TestTargetBoardResolverMega2560(t *testing.T) { |
336 |
-+ t.Skip("Can't run on Gentoo") |
337 |
- ctx := &types.Context{ |
338 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
339 |
- FQBN: "arduino:avr:mega:cpu=atmega2560", |
340 |
-@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) { |
341 |
- } |
342 |
- |
343 |
- func TestTargetBoardResolverCustomYun(t *testing.T) { |
344 |
-+ t.Skip("Can't run on Gentoo") |
345 |
- ctx := &types.Context{ |
346 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, |
347 |
- FQBN: "my_avr_platform:avr:custom_yun", |
348 |
-@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) { |
349 |
- } |
350 |
- |
351 |
- func TestTargetBoardResolverCustomCore(t *testing.T) { |
352 |
-+ t.Skip("Can't run on Gentoo") |
353 |
- ctx := &types.Context{ |
354 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, |
355 |
- FQBN: "watterott:avr:attiny841:core=spencekonde,info=info", |
356 |
|
357 |
diff --git a/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-platform-paths.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-platform-paths.patch |
358 |
deleted file mode 100644 |
359 |
index be1f2b5edda1..000000000000 |
360 |
--- a/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-platform-paths.patch |
361 |
+++ /dev/null |
362 |
@@ -1,19 +0,0 @@ |
363 |
-diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt |
364 |
-index ca8df1f..17ce03f 100644 |
365 |
---- a/src/github.com/arduino/arduino-builder/hardware/platform.txt |
366 |
-+++ b/src/github.com/arduino/arduino-builder/hardware/platform.txt |
367 |
-@@ -1,11 +1,11 @@ |
368 |
- # ctags |
369 |
- # ------------------------------ |
370 |
--tools.ctags.path={runtime.tools.ctags.path} |
371 |
--tools.ctags.cmd.path={path}/ctags |
372 |
-+tools.ctags.path=/usr/bin |
373 |
-+tools.ctags.cmd.path={path}/arduino-ctags |
374 |
- tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}" |
375 |
- |
376 |
- # additional entries |
377 |
--tools.avrdude.path={runtime.tools.avrdude.path} |
378 |
-+tools.avrdude.path=/usr/bin |
379 |
- |
380 |
- preproc.macros.flags=-w -x c++ -E -CC |
381 |
- #preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include} |
382 |
|
383 |
diff --git a/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-skip-tests.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-skip-tests.patch |
384 |
deleted file mode 100644 |
385 |
index f66e829e4b01..000000000000 |
386 |
--- a/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-skip-tests.patch |
387 |
+++ /dev/null |
388 |
@@ -1,129 +0,0 @@ |
389 |
-Skip tests that can't run on Gentoo because of the network sandbox |
390 |
-diff --git a/test/hardware_loader_test.go b/test/hardware_loader_test.go |
391 |
-index 147396e..da6c8ef 100644 |
392 |
---- a/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go |
393 |
-+++ b/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go |
394 |
-@@ -41,6 +41,7 @@ import ( |
395 |
- ) |
396 |
- |
397 |
- func TestLoadHardware(t *testing.T) { |
398 |
-+ t.Skip("Can't run on Gentoo") |
399 |
- ctx := &types.Context{ |
400 |
- HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"}, |
401 |
- } |
402 |
-@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) { |
403 |
- } |
404 |
- |
405 |
- func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { |
406 |
-+ t.Skip("Can't run on Gentoo") |
407 |
- ctx := &types.Context{ |
408 |
- HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, |
409 |
- } |
410 |
-@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { |
411 |
- } |
412 |
- |
413 |
- func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { |
414 |
-+ t.Skip("Can't run on Gentoo") |
415 |
- ctx := &types.Context{ |
416 |
- HardwareFolders: []string{"downloaded_board_manager_stuff"}, |
417 |
- } |
418 |
-@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { |
419 |
- } |
420 |
- |
421 |
- func TestLoadLotsOfHardware(t *testing.T) { |
422 |
-+ t.Skip("Can't run on Gentoo") |
423 |
- ctx := &types.Context{ |
424 |
- HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, |
425 |
- } |
426 |
-diff --git a/test/helper_tools_downloader.go b/test/helper_tools_downloader.go |
427 |
-index 49aa847..ba77a57 100644 |
428 |
---- a/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go |
429 |
-+++ b/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go |
430 |
-@@ -83,6 +83,7 @@ type Core struct { |
431 |
- } |
432 |
- |
433 |
- func DownloadCoresAndToolsAndLibraries(t *testing.T) { |
434 |
-+ t.Skip("Gentoo skips tests requiring network"); |
435 |
- cores := []Core{ |
436 |
- Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"}, |
437 |
- Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"}, |
438 |
-@@ -177,6 +178,7 @@ func patchFiles(t *testing.T) { |
439 |
- } |
440 |
- |
441 |
- func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) { |
442 |
-+ t.Skip("Gentoo skips tests requiring network"); |
443 |
- allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores) |
444 |
- NoError(t, err) |
445 |
- if allCoresDownloaded && |
446 |
-diff --git a/test/target_board_resolver_test.go b/test/target_board_resolver_test.go |
447 |
-index 49e0abe..7a50fe1 100644 |
448 |
---- a/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go |
449 |
-+++ b/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go |
450 |
-@@ -39,6 +39,7 @@ import ( |
451 |
- ) |
452 |
- |
453 |
- func TestTargetBoardResolverUno(t *testing.T) { |
454 |
-+ t.Skip("Can't run on Gentoo") |
455 |
- ctx := &types.Context{ |
456 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
457 |
- FQBN: "arduino:avr:uno", |
458 |
-@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) { |
459 |
- } |
460 |
- |
461 |
- func TestTargetBoardResolverDue(t *testing.T) { |
462 |
-+ t.Skip("Can't run on Gentoo") |
463 |
- ctx := &types.Context{ |
464 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
465 |
- FQBN: "arduino:sam:arduino_due_x", |
466 |
-@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) { |
467 |
- } |
468 |
- |
469 |
- func TestTargetBoardResolverMega1280(t *testing.T) { |
470 |
-+ t.Skip("Can't run on Gentoo") |
471 |
- ctx := &types.Context{ |
472 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
473 |
- FQBN: "arduino:avr:mega:cpu=atmega1280", |
474 |
-@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) { |
475 |
- } |
476 |
- |
477 |
- func TestTargetBoardResolverMega2560(t *testing.T) { |
478 |
-+ t.Skip("Can't run on Gentoo") |
479 |
- ctx := &types.Context{ |
480 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, |
481 |
- FQBN: "arduino:avr:mega:cpu=atmega2560", |
482 |
-@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) { |
483 |
- } |
484 |
- |
485 |
- func TestTargetBoardResolverCustomYun(t *testing.T) { |
486 |
-+ t.Skip("Can't run on Gentoo") |
487 |
- ctx := &types.Context{ |
488 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, |
489 |
- FQBN: "my_avr_platform:avr:custom_yun", |
490 |
-@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) { |
491 |
- } |
492 |
- |
493 |
- func TestTargetBoardResolverCustomCore(t *testing.T) { |
494 |
-+ t.Skip("Can't run on Gentoo") |
495 |
- ctx := &types.Context{ |
496 |
- HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, |
497 |
- FQBN: "watterott:avr:attiny841:core=spencekonde,info=info", |
498 |
-diff --git a/test/wipeout_build_path_if_build_options_changed_test.go b/test/wipeout_build_path_if_build_options_changed_test.go |
499 |
-index 51bfe80..8501fb6 100644 |
500 |
---- a/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go |
501 |
-+++ b/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go |
502 |
-@@ -42,6 +42,7 @@ import ( |
503 |
- ) |
504 |
- |
505 |
- func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) { |
506 |
-+ t.Skip("Can't run in Gentoo") |
507 |
- ctx := &types.Context{} |
508 |
- |
509 |
- buildPath := SetupBuildPath(t, ctx) |
510 |
-@@ -73,6 +74,7 @@ func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) { |
511 |
- } |
512 |
- |
513 |
- func TestWipeoutBuildPathIfBuildOptionsChangedNoPreviousBuildOptions(t *testing.T) { |
514 |
-+ t.Skip("Can't run in Gentoo") |
515 |
- ctx := &types.Context{} |
516 |
- |
517 |
- buildPath := SetupBuildPath(t, ctx) |