Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-embedded/arduino-builder/
Date: Sun, 31 May 2020 10:25:30
Message-Id: 1590920691.8a0e4cb7ea22bc61323ce483bd9d784b7e125b1e.mgorny@gentoo
1 commit: 8a0e4cb7ea22bc61323ce483bd9d784b7e125b1e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 10:23:44 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 10:24:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0e4cb7
7
8 dev-embedded/arduino-builder: Remove masked version
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../arduino-builder/arduino-builder-1.4.1.ebuild | 71 ----------------------
13 profiles/package.mask | 1 -
14 2 files changed, 72 deletions(-)
15
16 diff --git a/dev-embedded/arduino-builder/arduino-builder-1.4.1.ebuild b/dev-embedded/arduino-builder/arduino-builder-1.4.1.ebuild
17 deleted file mode 100644
18 index 078347f5234..00000000000
19 --- a/dev-embedded/arduino-builder/arduino-builder-1.4.1.ebuild
20 +++ /dev/null
21 @@ -1,71 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -EGO_PN="github.com/arduino/arduino-builder/..."
28 -
29 -EGO_VENDOR=(
30 - "github.com/arduino/go-properties-map ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41"
31 - "github.com/arduino/go-timeutils d1dd9e313b1bfede35fe0bbf46d612e16a50e04e"
32 - "github.com/arduino/go-paths-helper 751652ddd9f0a98650e681673c2c73937002e889"
33 - "github.com/fsnotify/fsnotify c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
34 - "github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8"
35 - "github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5"
36 - "github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2"
37 - "github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526"
38 - "google.golang.org/grpc 8dea3dc473e90c8179e519d91302d0597c0ca1d1 github.com/grpc/grpc-go"
39 - "google.golang.org/genproto af9cb2a35e7f169ec875002c1829c9b315cddc04 github.com/google/go-genproto"
40 -)
41 -
42 -inherit golang-build golang-vcs-snapshot
43 -
44 -DESCRIPTION="A command line tool for compiling Arduino sketches"
45 -HOMEPAGE="https://github.com/arduino/arduino-builder"
46 -SRC_URI="https://github.com/arduino/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
47 - ${EGO_VENDOR_URI}"
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -
52 -RDEPEND="sys-devel/crossdev
53 - dev-embedded/avrdude
54 - dev-embedded/arduino-ctags"
55 -
56 -DEPEND=">=dev-lang/go-1.9.2
57 - dev-go/go-net
58 - dev-go/go-text"
59 -
60 -PATCHES=(
61 - "${FILESDIR}/arduino-builder-1.4.1-platform-paths.patch"
62 - "${FILESDIR}/arduino-builder-1.4.1-skip-tests.patch"
63 -)
64 -
65 -src_unpack() {
66 - golang-vcs-snapshot_src_unpack
67 -}
68 -
69 -src_install() {
70 - # we unfortunately have to copy/paste the contents of golang-build_src_install() here because
71 - # we *don't* want to call golang_install_pkgs() which installs all static libraries we've
72 - # built. All we want is to install the final executable.
73 -
74 - set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
75 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
76 - echo "$@"
77 - "$@" || die
78 -
79 - # END OF COPY/PASTE
80 -
81 - dobin bin/arduino-builder
82 - # In addition to the binary, we also want to install these two files below. They are needed by
83 - # the dev-embedded/arduino which copies those files in its "hardware" folder.
84 - insinto "/usr/share/${PN}"
85 - cd "src/github.com/arduino/arduino-builder/hardware" || die
86 - doins "platform.txt"
87 - doins "platform.keys.rewrite.txt"
88 -}
89 -
90 -pkg_postinst() {
91 - [ ! -x /usr/bin/avr-gcc ] && ewarn "Missing avr-gcc; you need to crossdev -s4 avr"
92 -}
93
94 diff --git a/profiles/package.mask b/profiles/package.mask
95 index a33f57f4580..13df6a891c0 100644
96 --- a/profiles/package.mask
97 +++ b/profiles/package.mask
98 @@ -268,7 +268,6 @@ www-client/seamonkey-bin
99 dev-go/go-crypto
100 dev-go/go-net
101 dev-go/go-sys
102 -=dev-embedded/arduino-builder-1.4.1
103
104 # Michał Górny <mgorny@g.o> (2020-04-26)
105 # Unmaintained. Stuck on Python 3.6. No revdeps.