diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-libs/go-usb | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-libs/go-usb')
-rw-r--r-- | dev-libs/go-usb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/go-usb/go-usb-9999.ebuild | 15 |
2 files changed, 7 insertions, 10 deletions
diff --git a/dev-libs/go-usb/Manifest b/dev-libs/go-usb/Manifest index 4022d53e3ece..25a03afdb643 100644 --- a/dev-libs/go-usb/Manifest +++ b/dev-libs/go-usb/Manifest @@ -1,2 +1,2 @@ -EBUILD go-usb-9999.ebuild 588 BLAKE2B d114ce899e91535cc0fcd3f72e485c97dc92f2bca5f95a6333ac97e8d976675041335808cc3a52bdaa3a541d65ef6118aefccde2e23a1cbaf95f2537e7c21bc2 SHA512 47cf595cff1e86834df60a21f5bb729d664ae8b111c807d440a5d54904b4bc4a9e19b4b83005d33b973451dbae687f642de32221f8ea94f9e56ff5d090806068 +EBUILD go-usb-9999.ebuild 545 BLAKE2B bfc1e00d0a4f9d6b5d950fe4551bb639e47745d798626e36bd65e3f0d01ddeb87795a77fa4466f8546c9f7e089425d6dd8aa75ce89dbf6e736e5536fa716ca05 SHA512 3f525110b6a6657fd0559442725270323c21d27ba9c410c45c0fb4c39d4dd93407fd4a22c47410b02676e698cfd50fe0d54674ee9960438f49f201ca9ae1119d MISC metadata.xml 332 BLAKE2B 5015b049d96897d2a7969096f0ed50a6606139d982a16ab849d0a908576f4c5bd2f2c17b7fd1c26f5ba4161a9140e9126c531974d57c2cf899e44736253ff4df SHA512 72d224af53ac4c93a252eae5a518d76abf05052e9a268ee007cc7e03f96ec5e673b6c7e83e4de15ea9f6e1a2222f7fe687fd10834b45edb7e638d75f61bb9cb9 diff --git a/dev-libs/go-usb/go-usb-9999.ebuild b/dev-libs/go-usb/go-usb-9999.ebuild index 7c84be80dbe4..1cc0b177b86e 100644 --- a/dev-libs/go-usb/go-usb-9999.ebuild +++ b/dev-libs/go-usb/go-usb-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit git-r3 multilib +inherit git-r3 DESCRIPTION="CGO bindings for libusb" HOMEPAGE="https://github.com/hanwen/usb" @@ -11,22 +11,19 @@ EGIT_REPO_URI="https://github.com/hanwen/usb.git" LICENSE="BSD" SLOT="0" -KEYWORDS="" -IUSE="" DEPEND=">=dev-lang/go-1.4" -RDEPEND="" # Tests require a connected mtp device RESTRICT="test" GO_PN="/usr/lib/go/src/github.com/hanwen/usb" +src_test() { + go test -ldflags '-extldflags=-fno-PIC' ${GO_PN} || die +} + src_install() { insinto "${GO_PN}" doins *.go LICENSE } - -src_test() { - go test -ldflags '-extldflags=-fno-PIC' ${GO_PN} || die -} |