summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-08-14 15:21:14 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-08-14 15:26:59 -0500
commit2a59ea96f5373c664c9c81ce5a40f36d4dd7a8b4 (patch)
tree14aad9b06bbb5397e7a588175d9a4ecd601e5a4b /sys-fs/go-mtpfs
parentsys-fs/go-mtpfs: take maintainership (diff)
downloadgentoo-2a59ea96f5373c664c9c81ce5a40f36d4dd7a8b4.tar.gz
gentoo-2a59ea96f5373c664c9c81ce5a40f36d4dd7a8b4.tar.bz2
gentoo-2a59ea96f5373c664c9c81ce5a40f36d4dd7a8b4.zip
sys-fs/go-mtpfs: 1.0.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-fs/go-mtpfs')
-rw-r--r--sys-fs/go-mtpfs/Manifest17
-rw-r--r--sys-fs/go-mtpfs/go-mtpfs-1.0.0.ebuild59
2 files changed, 76 insertions, 0 deletions
diff --git a/sys-fs/go-mtpfs/Manifest b/sys-fs/go-mtpfs/Manifest
new file mode 100644
index 000000000000..309ef0e2cfa5
--- /dev/null
+++ b/sys-fs/go-mtpfs/Manifest
@@ -0,0 +1,17 @@
+DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv0.0.0-20190726130028-2f298055551b.mod 165 BLAKE2B 3c00585dfae81a1d3f411bc0bd8f24ed6837fbba75b567195ba611cec746bcc3b560fd2dbef2264d80ba6927af0a822d032356f2b5697012fbd41d43faf24041 SHA512 cb39e8ee3d11d09445bfd47e68c819b0aee04a5616967354833b6d5ae08611199050ee86e3165ae22b03bd85fe8d82985a2f19e515d60145fdca12154eb45ce7
+DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv0.0.0-20190726130028-2f298055551b.zip 296527 BLAKE2B 13b839fed2e680244d4cdb7afd78e8a7d79c9a4d167c9bbd09108bc18c74f0c136d1819e6d4eadfe66591c0e81caef4f6c150c92e2358cc35f6ff341e39e91c9 SHA512 012aa7ea118dd1d627869257d4dd2c0ba40108a0704b908a8b1c6737c67fe305b99e0e214653d9f8352e031c84b10b3846f4404b0b0adbbfcfc1c1e05e9d38cd
+DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv1.0.0.mod 94 BLAKE2B 36f3fb449d60fd88b98ab51277603a6c6aa551a1b15fc01ec289506cbb22fca2d7bc2841dd8574c9cdcc5ef14d70aacd5eecd240060b396c76422326f5e5dcea SHA512 a4ec6bdb7df5b5706be0a19144023042cce1fe54d1fe23d2556fcf1c23fadc112f5c4f16d6b497ab0ddf595fb21550543e65ace43a147747d894c220da346ce2
+DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv1.0.0.zip 219180 BLAKE2B 8b80ef3028be429c025c8b75aaae686cac7fcbd0d6b196311dc77c1079a5c8db5b8b2db602282345bb0fd25037669b00796e7a92a40cfc42a79cd299ebe0940d SHA512 b5a5bea977945d4305b3506e5a6f96d1acce91280e103f1c88f3b2c072437d5bbf84b8ef8760ae073106156342356a763ef0db9339b6e2c72002a73f8187ebf6
+DIST github.com%2Fhanwen%2Fgo-fuse%2Fv2%2F@v%2Fv2.0.1.mod 168 BLAKE2B 0f0c27a9f98a7622d1549ab708bd4fbc12cf7f8e2d5e488a77524d94f105647a4d7125505a45287845e7d557a053462ace845f9244841954b534b31238ce0517 SHA512 3698021f166b89bbe92497f3b278a4683270f6e4887777837bb02f03ca6ece642abcb70bebf5b437bd71a90b0471930654069b83185ba15bac3318b854d0a033
+DIST github.com%2Fhanwen%2Fgo-fuse%2Fv2%2F@v%2Fv2.0.1.zip 286729 BLAKE2B 3a268b05391216041ae50fab09a3a765b0b811b0f05f625c206d114c0feeec4058509616a1a31fbf03dae862baf5565b0234a3da180667f8b9bd0154995504f3 SHA512 cb0b4e22297d390795dc88323c8d71847760a027c5f168b59861b3bb03de5789bae466511b861c809c16b34c6659e2d7f72b36c768af85b0055ee62a48606061
+DIST github.com%2Fhanwen%2Fgo-fuse%2Fv2%2F@v%2Fv2.0.2.mod 202 BLAKE2B 4f6833004dcb52b6d482749e2c5fb9b1be9bb40ae7f46beeee6b6eb026d39e6bddb92b9a99b32735ec1e42f3402f322fea96dc6e46a186719bbf908662e48ced SHA512 d2559ce7fd11ed7e5398e960b7c19038ec9cd2f322886c64d4967580d8fbe7b6d3e9da244c29f0cc080a192fd84bb508b75f29597ef4e09621acafb0e592657d
+DIST github.com%2Fhanwen%2Fgo-fuse%2Fv2%2F@v%2Fv2.0.2.zip 287139 BLAKE2B c67d884c8cbd25a2dccac55dcd3b55fb34b8e07cd517ddd20fac33c5c5c66f466aa44f8b59acc92f39c344cefbe3080596a622925235975aecb3d33bdb5c72d0 SHA512 cd2dcc27bd09fdece5c55ffd946a14e22f3a426a094c8b5e05e3bb5e6e359775304772fa7859f55f2dc1bd0e13d3024a8d3537d1abc00d371f0491bf876bc316
+DIST github.com%2Fhanwen%2Fusb%2F@v%2Fv0.0.0-20141217151552-69aee4530ac7.mod 29 BLAKE2B fa81f7ee7eb868c49bfb7b8c6a527f2c9cf05f28a5322692b916ca755eea0255dcc640963dd002980d09145529a3e56dd6eaa6e714c2268c43b7ae19e17237aa SHA512 73bf0e1253c776a05d7518e4da2c74fc003f3b4a002303d64e1adea08ab157bd161651e647e2415603d5aa400eb12b0bde12ae7786755ea3a3448976f2aac416
+DIST github.com%2Fhanwen%2Fusb%2F@v%2Fv0.0.0-20141217151552-69aee4530ac7.zip 9353 BLAKE2B c00ec955841381512696975ae88f2925d7b81e46b21712e05459a14649130a48cb7ccd8e4daef8094eb3d5d5eb2687c996e7f15a7a678b0d216e37a81229cded SHA512 3ea8f1a5e7b1b03950721a22f89f3c6faa6acac01fca473bfe9b183d9c17fa90dc12cd54ab043534147fc88a3588b6fe2b4e6a994d6148394ee12000f7614d15
+DIST github.com%2Fkylelemons%2Fgodebug%2F@v%2Fv0.0.0-20170820004349-d65d576e9348.mod 37 BLAKE2B 0ff43371511295cc3819b33c0dc26e3d9352a4b931ad3dabdf79561e5ee077ddfdaf5a601827246c0b5cd8992d53d47ef74aab0b7deac6d08ef5f60f44a728ff SHA512 60a202487e693d925ec13186a89ca6b7f322cf53b2bb3d8657d50a0fa0561ef9f2d8416901478fa9783b7a44774511486fcc8735b1d15b558f7ce111f53d5a27
+DIST github.com%2Fkylelemons%2Fgodebug%2F@v%2Fv1.1.0.mod 46 BLAKE2B 1989fd1b186328abc02f8dcd503bf396ee63b55630d3f37f576c7e55b4c48623f62d5f2b16d047afeaa13cd423ab014f254df5f210da52535bb8818a60b375d4 SHA512 4fcffc595708aba2673e895182e695e91d6d239f8feaaaeaf15d75fcff398112af0f0d5ebdb28506d95eae30533dcbb54112ac0b0a4034ee11d7a35b78674915
+DIST go-mtpfs-1.0.0.tar.gz 44589 BLAKE2B 2c5f0c30ae16fb9ded1e2ad405de94cbb7ca598b9c9681dcb2eaf811438c1040b8989afb2102cc97402415accf8e08e76362f697f049b37ae95a718187875154 SHA512 b66d4f3179f95a7137cdc921fc171a260d23c4d003bd680b92791b6aab79484c75dd3a5ec39129d42b52822b95711f98438900033da4aedecc7c6dc5e0f6a834
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20180830151530-49385e6e1522.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20180830151530-49385e6e1522.zip 1346335 BLAKE2B e51789de19eef04b939952b15828675a0ed71c7f7639355cc529ea02e9177a2c2a9f1350567fb514d8d7d6641ccc231dff1920d72c98b1e335eb76c636b3eb67 SHA512 fdb5d6f6f46feb491048048cf76ae94af824664e9f424f5c0fa2938b64bc8bd6ec810cd33bd3b34bf1d3e03bca7e8f067fb8487bb45ce791cf56ed002dc63d1c
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190826190057-c7b8b68b1456.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190826190057-c7b8b68b1456.zip 1818872 BLAKE2B f8bb456d6c12b800b7a572f686788454dc81f4f65f61d2f5f7986e936a7dcd4a57417137df2ff16d229adafe2a2daddd9622cb558454648419fbf293857a0382 SHA512 15544b523ad8b302ab9f9fffaf971decb598f3f7789296125523638d5ebb56218312ba2b0d7d43dd8e786ffb761b012d957c8f123dcdcec8c967bb28a544f84d
diff --git a/sys-fs/go-mtpfs/go-mtpfs-1.0.0.ebuild b/sys-fs/go-mtpfs/go-mtpfs-1.0.0.ebuild
new file mode 100644
index 000000000000..3d539c5fa7ff
--- /dev/null
+++ b/sys-fs/go-mtpfs/go-mtpfs-1.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module
+
+DESCRIPTION="a simple FUSE filesystem for mounting Android devices as a MTP device"
+HOMEPAGE="https://github.com/hanwen/go-mtpfs"
+
+EGO_SUM=(
+ "github.com/hanwen/go-fuse v0.0.0-20190726130028-2f298055551b"
+ "github.com/hanwen/go-fuse v0.0.0-20190726130028-2f298055551b/go.mod"
+ "github.com/hanwen/go-fuse v1.0.0"
+ "github.com/hanwen/go-fuse v1.0.0/go.mod"
+ "github.com/hanwen/go-fuse/v2 v2.0.1"
+ "github.com/hanwen/go-fuse/v2 v2.0.1/go.mod"
+ "github.com/hanwen/go-fuse/v2 v2.0.2"
+ "github.com/hanwen/go-fuse/v2 v2.0.2/go.mod"
+ "github.com/hanwen/usb v0.0.0-20141217151552-69aee4530ac7"
+ "github.com/hanwen/usb v0.0.0-20141217151552-69aee4530ac7/go.mod"
+ "github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod"
+ "github.com/kylelemons/godebug v1.1.0/go.mod"
+ "golang.org/x/sys v0.0.0-20180830151530-49385e6e1522"
+ "golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
+ "golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456"
+ "golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod"
+ )
+go-module_set_globals
+SRC_URI="https://github.com/hanwen/go-mtpfs/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="virtual/libusb:1
+ virtual/udev"
+DEPEND="${COMMON_DEPEND}
+ media-libs/libmtp"
+RDEPEND="${COMMON_DEPEND}"
+
+#Tests require a connected mtp device
+RESTRICT+=" test"
+
+src_compile() {
+ go build -ldflags '-extldflags=-fno-PIC' . || die
+}
+
+src_test() {
+ go test -ldflags '-extldflags=-fno-PIC' fs || die
+ go test -ldflags '-extldflags=-fno-PIC' usb || die
+ go test -ldflags '-extldflags=-fno-PIC' mtp || die
+}
+
+src_install() {
+ dobin go-mtpfs
+dodoc README.md
+}