diff options
Diffstat (limited to 'dev-embedded/arduino-builder')
4 files changed, 0 insertions, 116 deletions
diff --git a/dev-embedded/arduino-builder/Manifest b/dev-embedded/arduino-builder/Manifest deleted file mode 100644 index d275e2c9bb50..000000000000 --- a/dev-embedded/arduino-builder/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX arduino-builder-1.3.25-platform-paths.patch 982 BLAKE2B 9bc9d1d7cb12fe4f1e0539a2a548bbeb9ecc596e03fd9e7757d2d011e15b72a176095311063f0c58db2572db5912f6fbf8da493a83395f16f806ccd8a1c8de7a SHA512 8a2055cb6fdc0141701db908ca26c390d1f5992234eae5410b828a84972fcb0c2645b4062242064e37118ed20bad75b08fe044110a65a7b10c9662f62c3f44e7 -DIST arduino-builder-1.3.25.tar.gz 206905 BLAKE2B 6770b89607c1563b68a79d34e6e214586106c63a4b3c854b4f85a4b9eb2fc24ce5d4a97c29b0c05c19b6834e103f3c3c574bd8cefed0eb684d8aab7e4c71ee7f SHA512 3740530800f8a3cfe1fe20a91579e6b632b76c2c4ace68c7b178a2d234032d5887abee3d0360c3039f2fec912a0d5cabe948bf930a7d9ea23221625456ad5357 -DIST github.com-go-errors-errors-a41850380601eeb43f4350f7d17c6bbd8944aaf8.tar.gz 7835 BLAKE2B f4092b4ef5ebf996cb3c20183868dbdd154ea7cf02a4fd5a3375a3193e9ccacad08f0b6681b456786524b729ffb8c0b5c8af6ceec630eec22326d0fe1e00eb22 SHA512 b1d5e7c6f30f94f8a41b10d32b7f4ce7de8394f74ede6c14fb1f267a0514b24bc3bc7659c3baf6eacf424cea8451e7e57f5f72acc568342e90a447bd02f3e262 -DIST github.com-jstemmer-go-junit-report-833f8ea2b99d36d5f018698333834f3df200a0c2.tar.gz 6901 BLAKE2B 6138ac40810ad000a4336ffbca3bc5c1d0e96854c7918fb2aad9f7b2596ac66f285ac8c519e30b6e97cdb0009b31ab73b83ff2e1db2f464c2d88f2c1045a6bd9 SHA512 00f38f51c5f761b5a3e60a6e6b602f1246a746f081f2d8946d01387234270544692c6af54d0e69919c1af8aa753f848eeecc4421f2ddf881f21522ccf5545d75 -DIST github.com-stretchr-testify-1661650f989674e3e5bcdcb805536e5d31481526.tar.gz 81099 BLAKE2B 592a7c114b01bc5b1982135f310aa8619c2888ac36ccb5d876a38655a13f7dc4d468a7a42a44cf9cf69fc7bd6769a9ba010b48089d5ce866dcd564e20487e04a SHA512 f10255b0f47237c7583626a3bb213ca67d0db92c2a1531cc31dac089cdb13139b01647809503313a26f3e53a64a98cebc3bf9c4e1bd1ed975d9b81aa516ab5af -EBUILD arduino-builder-1.3.25.ebuild 2767 BLAKE2B c8ac8f94cffe79ff009aee2dbcefba7a5e282bde90c58f4254fe9dec7564e8e41fa56c61071f475ae5db660f090134cf7f55a0810b940952c78d9a6402820e0b SHA512 adda2529e4cf3fd8be368d3c026ca52970d5e30be7ec0233108a943715c014dadb4e37be79109b7cfdb6ab5746d83aa353afcddc6f1349475c83a48614f7eebe -MISC metadata.xml 339 BLAKE2B 8353146b638f77f9846c37e1717f19e9d3eff24a88a8299bb43d6118e47c5159a53ed8612681f5f849269a8d250d99b9dc57030452d96ed81975196b3faedfb1 SHA512 3a107172d306efee35994af117181d4a08388883d4efeb48dd270f8a711deae39d68e1bd38423e0a71d91f708d4c1877d300ed4823e43fda8a924bd98b8f37c7 diff --git a/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild b/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild deleted file mode 100644 index 0930e5240c01..000000000000 --- a/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_PN="arduino.cc/arduino-builder/..." - -EGO_VENDOR=( - "github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8" - "github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2" - "github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526" -) - -inherit golang-build golang-vcs-snapshot - -DESCRIPTION="A command line tool for compiling Arduino sketches" -HOMEPAGE="https://github.com/arduino/arduino-builder" -SRC_URI="https://github.com/arduino/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - ${EGO_VENDOR_URI}" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="sys-devel/crossdev - dev-embedded/avrdude - dev-embedded/arduino-ctags" - -DEPEND=">=dev-lang/go-1.9.2" - -src_unpack() { - golang-vcs-snapshot_src_unpack -} - -src_prepare() { - # As we know, golang packages have to be compiled from namespace-aware paths which is the whole - # point of the EGO_PN dance. arduino-builder goes a step further by re-creating its own - # namespace inside its source package, messing up with our build process which can't find - # packages. Also, our source package contains multiple namespaces which further messes with - # messes with our vendoring process (each namespace needs its own vendor directory). - # We do the following to try to work around this mess. It looks like upstream reworked this - # in its master branch so we should be able to remove this in the upcoming major release. - - local deeppath="${S}/src/${EGO_PN%/...}" - for pkgname in builder properties timeutils; do - ln -s "${deeppath}/src/arduino.cc/${pkgname}" "${S}/src/arduino.cc/${pkgname}" - done - ln -s "${deeppath}/vendor/github.com" "${S}/src/github.com" - - # path paths so that they point to system ctags and avrdude - eapply "${FILESDIR}/arduino-builder-1.3.25-platform-paths.patch" - - default -} - -src_install() { - # we unfortunately have to copy/paste the contents of golang-build_src_install() here because - # we *don't* want to call golang_install_pkgs() which installs all static libraries we've - # built. All we want is to install the final executable. - - set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" - echo "$@" - "$@" || die - - # END OF COPY/PASTE - - dobin bin/arduino-builder - - # In addition to the binary, we also want to install these two files below. They are needed by - # the dev-embedded/arduino which copies those files in its "hardware" folder. - insinto "/usr/share/${PN}" - cd "src/arduino.cc/builder/hardware" || die - doins "platform.txt" - doins "platform.keys.rewrite.txt" -} - -pkg_postinst() { - [ ! -x /usr/bin/avr-gcc ] && ewarn "Missing avr-gcc; you need to crossdev -s4 avr" -} 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 deleted file mode 100644 index 854dc886af01..000000000000 --- a/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-platform-paths.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt -index ca8df1f..17ce03f 100644 ---- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt -+++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/hardware/platform.txt -@@ -1,11 +1,11 @@ - # ctags - # ------------------------------ --tools.ctags.path={runtime.tools.ctags.path} --tools.ctags.cmd.path={path}/ctags -+tools.ctags.path=/usr/bin -+tools.ctags.cmd.path={path}/arduino-ctags - tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}" - - # additional entries --tools.avrdude.path={runtime.tools.avrdude.path} -+tools.avrdude.path=/usr/bin - - preproc.macros.flags=-w -x c++ -E -CC - #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} diff --git a/dev-embedded/arduino-builder/metadata.xml b/dev-embedded/arduino-builder/metadata.xml deleted file mode 100644 index c6ee565672f5..000000000000 --- a/dev-embedded/arduino-builder/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>embedded@gentoo.org</email> - <name>Embedded Gentoo</name> - </maintainer> - <upstream> - <remote-id type="github">arduino/arduino-builder</remote-id> - </upstream> -</pkgmetadata> |