Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/go-mtpfs/
Date: Fri, 14 Aug 2020 20:28:35
Message-Id: 1597436819.f67faee656398651831a653abb3774e8655aa08a.williamh@gentoo
1 commit: f67faee656398651831a653abb3774e8655aa08a
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 14 20:23:33 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 14 20:26:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67faee6
7
8 sys-fs/go-mtpfs: remove old live ebuild
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 sys-fs/go-mtpfs/go-mtpfs-9999.ebuild | 48 ------------------------------------
13 1 file changed, 48 deletions(-)
14
15 diff --git a/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild b/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild
16 deleted file mode 100644
17 index e197761b32a..00000000000
18 --- a/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild
19 +++ /dev/null
20 @@ -1,48 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -inherit git-r3 flag-o-matic toolchain-funcs
27 -
28 -DESCRIPTION="a simple FUSE filesystem for mounting Android devices as a MTP device"
29 -HOMEPAGE="https://github.com/hanwen/go-mtpfs"
30 -EGIT_REPO_URI="https://github.com/hanwen/go-mtpfs.git"
31 -
32 -LICENSE="BSD"
33 -SLOT="0"
34 -KEYWORDS=""
35 -IUSE=""
36 -
37 -COMMON_DEPEND="virtual/libusb:1
38 - virtual/udev"
39 -DEPEND="${COMMON_DEPEND}
40 - dev-libs/go-fuse
41 - dev-libs/go-usb
42 - dev-lang/go
43 - media-libs/libmtp"
44 -
45 -RDEPEND="${COMMON_DEPEND}"
46 -
47 -#Tests require a connected mtp device
48 -RESTRICT="test"
49 -
50 -GO_PN="github.com/hanwen/${PN}"
51 -EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
52 -QA_FLAGS_IGNORED=usr/bin/go-mtpfs
53 -
54 -export GOPATH="${S}"
55 -
56 -src_compile() {
57 - go build -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die
58 -}
59 -
60 -src_test() {
61 - go test -ldflags '-extldflags=-fno-PIC' ${GO_PN}/fs || die
62 - go test -ldflags '-extldflags=-fno-PIC' ${GO_PN}/usb || die
63 - go test -ldflags '-extldflags=-fno-PIC' ${GO_PN}/mtp || die
64 -}
65 -
66 -src_install() {
67 - dobin go-mtpfs
68 -}