diff options
Diffstat (limited to 'dev-embedded')
18 files changed, 454 insertions, 30 deletions
diff --git a/dev-embedded/Manifest.gz b/dev-embedded/Manifest.gz Binary files differindex e820c1761a85..fa928385a7fc 100644 --- a/dev-embedded/Manifest.gz +++ b/dev-embedded/Manifest.gz diff --git a/dev-embedded/arduino-builder/Manifest b/dev-embedded/arduino-builder/Manifest index d275e2c9bb50..eda424cb8d2c 100644 --- a/dev-embedded/arduino-builder/Manifest +++ b/dev-embedded/arduino-builder/Manifest @@ -1,7 +1,19 @@ AUX arduino-builder-1.3.25-platform-paths.patch 982 BLAKE2B 9bc9d1d7cb12fe4f1e0539a2a548bbeb9ecc596e03fd9e7757d2d011e15b72a176095311063f0c58db2572db5912f6fbf8da493a83395f16f806ccd8a1c8de7a SHA512 8a2055cb6fdc0141701db908ca26c390d1f5992234eae5410b828a84972fcb0c2645b4062242064e37118ed20bad75b08fe044110a65a7b10c9662f62c3f44e7 +AUX arduino-builder-1.3.25-skip-tests.patch 5030 BLAKE2B ab80714f3168a61cb8d0787014e9710328319448e68f7d39758aa36227337a0f1609ffe43dc9c8104a831e96bccb81e4045c61a00137f4471ac9a575ecb797b8 SHA512 fe5730a5ff1bed4b214096840498613cf41e95fd700690bc1f45596b290c360b53458aab43d4a6bb6e3402724e6debcce8be47aa8e1d55731b9b213324d2fdfe +AUX arduino-builder-1.4.1-platform-paths.patch 952 BLAKE2B 806ac4d6a0c1b2319d8ac3e76034893b809d21b84bf984c2ea73a935aa9c24613f2f48b11825611d6dac5c1c7ae413eae27bb1ba3b3144b8747bd3fa91e3090c SHA512 7d2acbaf5c4efd9773da7bf8e513cae4f013ffd016b84189981af839e1f4d518b8522049f07daf3e08c787d5f72ca307566bb1fd60ac3da86947f36ad29e8c27 +AUX arduino-builder-1.4.1-skip-tests.patch 5635 BLAKE2B 1aa9cd5a6826df30172cdb34b4bf71c553579c3f891abc4f630662e530d2b959f73225b0022e26b01b35306901e05498e11430a392115f53212959f2ebf7ac8e SHA512 09acfb0abfb02dba7d76641c7056a2f6b9e151cd43ffd8d8ceb0e0d692f35b372c9271456a6095b21dafd7971f64d9afb11af52720fffdc81e6035efc1e922d3 DIST arduino-builder-1.3.25.tar.gz 206905 BLAKE2B 6770b89607c1563b68a79d34e6e214586106c63a4b3c854b4f85a4b9eb2fc24ce5d4a97c29b0c05c19b6834e103f3c3c574bd8cefed0eb684d8aab7e4c71ee7f SHA512 3740530800f8a3cfe1fe20a91579e6b632b76c2c4ace68c7b178a2d234032d5887abee3d0360c3039f2fec912a0d5cabe948bf930a7d9ea23221625456ad5357 +DIST arduino-builder-1.4.1.tar.gz 220058 BLAKE2B b993ad508b81b3f05bb24747a63ac7b826739265aabc0437be403ca7154e6f3b580dacf235979fa4b395c6cc8c978e2cbdcab072822bd8fe61e42074ca4323e8 SHA512 d72f63d4235531310c412b096d154977d7d6ea2746e8703c8208e33e7bf3cac416817ccb5fbc47248bfe4a5858fa3a91117919b8cb636261c5cec28b8bc415bc +DIST github.com-arduino-go-paths-helper-751652ddd9f0a98650e681673c2c73937002e889.tar.gz 14609 BLAKE2B f8a5b54f9898db7ea02d8aad779fc32cb6b21e430c84c5f77b985f9a23dc62de95a6a366956b7861b6b4b261ff5f30d3b20c92e51b256ed6f223a309a644302d SHA512 6116531448270b502187cd91d2a0847a8791c53b65729766291f1ddaa9bc2ce95b0d24a54dc895ad62e2d04c092081ce46300101b9f371db78b0204a541c8252 +DIST github.com-arduino-go-properties-map-ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41.tar.gz 16406 BLAKE2B f6afeb160114bfb221c882d1b2c8e7f6d6841585affbf349c82c421500d28cf2b09b28bef960048c357fac69ef5432cecc0a0098f7a4929aa0d3d566cbe56bd1 SHA512 5327e207b4a1a978585345d498f4af39bdd716686c058dacebada113cc07066834ebe19eb8f4d8388d400755dca7e8656bc053e7d8804a1d7e04a1cc6c4414ea +DIST github.com-arduino-go-timeutils-d1dd9e313b1bfede35fe0bbf46d612e16a50e04e.tar.gz 8086 BLAKE2B d2e558b3c88e084c99cd0dd0ccaa0859e21b53671d4d28f57cce505f7fda0f89fdde7a08bcf7d2e4d8b57e4a760bdc608e97f0c27542fd0a396a548494bb7351 SHA512 e573f448c4b0b17882be98516abcdbbc4174e3ab041ce1390bc7e3e365932f1a4c7fe63cebf4e82b43bec5d5f4748511fa608a777a0cbc18b29e224041884fb8 +DIST github.com-fsnotify-fsnotify-c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9.tar.gz 31164 BLAKE2B 8ed43520ed7df3f52585b41358e2c89c55cd9bcea78affbf76d11cb2d3660e2de63d2debd91cd4da7c1a1fde3afac1086e616ab632460389cd4f10cc633a3e81 SHA512 809a90dcfbf565d335514257b577150a367e16ef871e2f44584a13fe3bc3ac87cbd789f7c7882a76cf7a7c546740c6552ec7382b4a6d18c4f0e845bcc3a7b0c8 DIST github.com-go-errors-errors-a41850380601eeb43f4350f7d17c6bbd8944aaf8.tar.gz 7835 BLAKE2B f4092b4ef5ebf996cb3c20183868dbdd154ea7cf02a4fd5a3375a3193e9ccacad08f0b6681b456786524b729ffb8c0b5c8af6ceec630eec22326d0fe1e00eb22 SHA512 b1d5e7c6f30f94f8a41b10d32b7f4ce7de8394f74ede6c14fb1f267a0514b24bc3bc7659c3baf6eacf424cea8451e7e57f5f72acc568342e90a447bd02f3e262 +DIST github.com-golang-protobuf-aa810b61a9c79d51363740d207bb46cf8e620ed5.tar.gz 332903 BLAKE2B b05fa3e3316bd6adbad623ab239795172ee70c38380873ee52a32c10f8f3e750c26b27fc43da4a290d82eda5723fd56063bffe01fdedb2d3a65bf5349abdb376 SHA512 80407835aef3553f655c35e89aa884038c90a3667460af1db60b069ae31e870efc59d6907743ee080d85e167c20d778440b9a6d19ff79f9055bc666c8314fe30 +DIST github.com-google-go-genproto-af9cb2a35e7f169ec875002c1829c9b315cddc04.tar.gz 2323831 BLAKE2B a614c74b60f8e347b47c8686807228ea76b021a918fc732b69293c8b59c1bc5396e320cbce6db87ab43b9a4fd649d19779874934bdd667f7cabf03165439c54a SHA512 a6524f31e8c4775195c245ffbe54c7f770591d46663ea86b8120ffd8efb3cf9269569fbf457b0d0272dc47177ccf3b413e858c2b437ee9892b5ac6698d07ed4d +DIST github.com-grpc-grpc-go-8dea3dc473e90c8179e519d91302d0597c0ca1d1.tar.gz 506815 BLAKE2B 498909d0704b46d54571ad1f87d7636fafdf48f11fbf53e5e8ec6cd16aa6cd57cdfaedd8a7c00cd33ff60c99b0ab0dbf3f9c8df28155c75b2ceeaada3afabf92 SHA512 37970d20ce358d5186a9a152b1a0b1af816f7d53de8f2c35c901e8533e8191125e08ca60e1177bbab5e2585a1fa6e0fa9785ac70caadc5aa0fa58c189d26ca95 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 +EBUILD arduino-builder-1.3.25.ebuild 2825 BLAKE2B cc4ec18475e9ecf08e317356bd613b0706e5aa455a22b2d6d1807228609afeb1e95e1e45e0fea2ae5e7651f2db163632d27a5d7212bbbe30b14e25cb61e5c358 SHA512 b121e4c06899ed675897cfa29d12f6b2879a43402bd2c02135e9ae5f54615385e55ec315492ebc43af7ad8ab9c0e2252b743abb5a76d7b53c46b98a784e22bc6 +EBUILD arduino-builder-1.4.1.ebuild 2478 BLAKE2B 85a284b161b9e98260c52fd5338db7c8f3afe1063f00306fa73e1ef7f0ce2cbf0cdfc07ec75729d89b8ceed995671dc96c62c0c90581edccb38a52ae367b1533 SHA512 0deb62c9ebaa1089f0b2e021e871a29a2994edc167a6f9cdb01ddb9fab38f2bd8a640759627adfa2c5d068b47afd0d6ac77520c5c40f6245aaaed0fef33d7233 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 index 0930e5240c01..fbf0e5e82916 100644 --- a/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild +++ b/dev-embedded/arduino-builder/arduino-builder-1.3.25.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,7 +19,7 @@ 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" +KEYWORDS="~amd64 x86" RDEPEND="sys-devel/crossdev dev-embedded/avrdude @@ -48,6 +48,7 @@ src_prepare() { # path paths so that they point to system ctags and avrdude eapply "${FILESDIR}/arduino-builder-1.3.25-platform-paths.patch" + eapply "${FILESDIR}/arduino-builder-1.3.25-skip-tests.patch" default } diff --git a/dev-embedded/arduino-builder/arduino-builder-1.4.1.ebuild b/dev-embedded/arduino-builder/arduino-builder-1.4.1.ebuild new file mode 100644 index 000000000000..078347f52348 --- /dev/null +++ b/dev-embedded/arduino-builder/arduino-builder-1.4.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/arduino/arduino-builder/..." + +EGO_VENDOR=( + "github.com/arduino/go-properties-map ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41" + "github.com/arduino/go-timeutils d1dd9e313b1bfede35fe0bbf46d612e16a50e04e" + "github.com/arduino/go-paths-helper 751652ddd9f0a98650e681673c2c73937002e889" + "github.com/fsnotify/fsnotify c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9" + "github.com/go-errors/errors a41850380601eeb43f4350f7d17c6bbd8944aaf8" + "github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5" + "github.com/jstemmer/go-junit-report 833f8ea2b99d36d5f018698333834f3df200a0c2" + "github.com/stretchr/testify 1661650f989674e3e5bcdcb805536e5d31481526" + "google.golang.org/grpc 8dea3dc473e90c8179e519d91302d0597c0ca1d1 github.com/grpc/grpc-go" + "google.golang.org/genproto af9cb2a35e7f169ec875002c1829c9b315cddc04 github.com/google/go-genproto" +) + +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 + dev-go/go-net + dev-go/go-text" + +PATCHES=( + "${FILESDIR}/arduino-builder-1.4.1-platform-paths.patch" + "${FILESDIR}/arduino-builder-1.4.1-skip-tests.patch" +) + +src_unpack() { + golang-vcs-snapshot_src_unpack +} + +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/github.com/arduino/arduino-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-skip-tests.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-skip-tests.patch new file mode 100644 index 000000000000..4ed170061c16 --- /dev/null +++ b/dev-embedded/arduino-builder/files/arduino-builder-1.3.25-skip-tests.patch @@ -0,0 +1,109 @@ +Skip tests that can't run on Gentoo because of the network sandbox +diff --git a/src/arduino.cc/builder/test/hardware_loader_test.go b/src/arduino.cc/builder/test/hardware_loader_test.go +index c9ea1d5..e7c68d2 100644 +--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go ++++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/hardware_loader_test.go +@@ -41,6 +41,7 @@ import ( + ) + + func TestLoadHardware(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"}, + } +@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) { + } + + func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, + } +@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { + } + + func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_board_manager_stuff"}, + } +@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { + } + + func TestLoadLotsOfHardware(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, + } +diff --git a/src/arduino.cc/builder/test/helper_tools_downloader.go b/src/arduino.cc/builder/test/helper_tools_downloader.go +index 3642510..e6391b6 100644 +--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go ++++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/helper_tools_downloader.go +@@ -83,6 +83,7 @@ type Core struct { + } + + func DownloadCoresAndToolsAndLibraries(t *testing.T) { ++ t.Skip("Gentoo skips tests requiring network"); + cores := []Core{ + Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"}, + Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"}, +@@ -165,6 +166,7 @@ func patchFiles(t *testing.T) { + } + + func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) { ++ t.Skip("Gentoo skips tests requiring network"); + allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores) + NoError(t, err) + if allCoresDownloaded && +diff --git a/src/arduino.cc/builder/test/target_board_resolver_test.go b/src/arduino.cc/builder/test/target_board_resolver_test.go +index 274eb92..d6973e3 100644 +--- a/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go ++++ b/src/arduino.cc/arduino-builder/src/arduino.cc/builder/test/target_board_resolver_test.go +@@ -39,6 +39,7 @@ import ( + ) + + func TestTargetBoardResolverUno(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:avr:uno", +@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) { + } + + func TestTargetBoardResolverDue(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:sam:arduino_due_x", +@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) { + } + + func TestTargetBoardResolverMega1280(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:avr:mega:cpu=atmega1280", +@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) { + } + + func TestTargetBoardResolverMega2560(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:avr:mega:cpu=atmega2560", +@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) { + } + + func TestTargetBoardResolverCustomYun(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, + FQBN: "my_avr_platform:avr:custom_yun", +@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) { + } + + func TestTargetBoardResolverCustomCore(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, + FQBN: "watterott:avr:attiny841:core=spencekonde,info=info", diff --git a/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-platform-paths.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-platform-paths.patch new file mode 100644 index 000000000000..be1f2b5edda1 --- /dev/null +++ b/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-platform-paths.patch @@ -0,0 +1,19 @@ +diff --git a/src/arduino.cc/builder/hardware/platform.txt b/src/arduino.cc/builder/hardware/platform.txt +index ca8df1f..17ce03f 100644 +--- a/src/github.com/arduino/arduino-builder/hardware/platform.txt ++++ b/src/github.com/arduino/arduino-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/files/arduino-builder-1.4.1-skip-tests.patch b/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-skip-tests.patch new file mode 100644 index 000000000000..f66e829e4b01 --- /dev/null +++ b/dev-embedded/arduino-builder/files/arduino-builder-1.4.1-skip-tests.patch @@ -0,0 +1,129 @@ +Skip tests that can't run on Gentoo because of the network sandbox +diff --git a/test/hardware_loader_test.go b/test/hardware_loader_test.go +index 147396e..da6c8ef 100644 +--- a/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go ++++ b/src/github.com/arduino/arduino-builder/test/hardware_loader_test.go +@@ -41,6 +41,7 @@ import ( + ) + + func TestLoadHardware(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware"}, + } +@@ -85,6 +86,7 @@ func TestLoadHardware(t *testing.T) { + } + + func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, + } +@@ -155,6 +157,7 @@ func TestLoadHardwareMixingUserHardwareFolder(t *testing.T) { + } + + func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_board_manager_stuff"}, + } +@@ -203,6 +206,7 @@ func TestLoadHardwareWithBoardManagerFolderStructure(t *testing.T) { + } + + func TestLoadLotsOfHardware(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{"downloaded_board_manager_stuff", "downloaded_hardware", filepath.Join("..", "hardware"), "hardware", "user_hardware"}, + } +diff --git a/test/helper_tools_downloader.go b/test/helper_tools_downloader.go +index 49aa847..ba77a57 100644 +--- a/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go ++++ b/src/github.com/arduino/arduino-builder/test/helper_tools_downloader.go +@@ -83,6 +83,7 @@ type Core struct { + } + + func DownloadCoresAndToolsAndLibraries(t *testing.T) { ++ t.Skip("Gentoo skips tests requiring network"); + cores := []Core{ + Core{Maintainer: "arduino", Arch: "avr", Version: "1.6.10"}, + Core{Maintainer: "arduino", Arch: "sam", Version: "1.6.7"}, +@@ -177,6 +178,7 @@ func patchFiles(t *testing.T) { + } + + func download(t *testing.T, cores, boardsManagerCores, boardsManagerRedBearCores []Core, tools, toolsMultipleVersions, boardsManagerTools, boardsManagerRFduinoTools []Tool, libraries []Library) { ++ t.Skip("Gentoo skips tests requiring network"); + allCoresDownloaded, err := allCoresAlreadyDownloadedAndUnpacked(HARDWARE_FOLDER, cores) + NoError(t, err) + if allCoresDownloaded && +diff --git a/test/target_board_resolver_test.go b/test/target_board_resolver_test.go +index 49e0abe..7a50fe1 100644 +--- a/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go ++++ b/src/github.com/arduino/arduino-builder/test/target_board_resolver_test.go +@@ -39,6 +39,7 @@ import ( + ) + + func TestTargetBoardResolverUno(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:avr:uno", +@@ -64,6 +65,7 @@ func TestTargetBoardResolverUno(t *testing.T) { + } + + func TestTargetBoardResolverDue(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:sam:arduino_due_x", +@@ -89,6 +91,7 @@ func TestTargetBoardResolverDue(t *testing.T) { + } + + func TestTargetBoardResolverMega1280(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:avr:mega:cpu=atmega1280", +@@ -115,6 +118,7 @@ func TestTargetBoardResolverMega1280(t *testing.T) { + } + + func TestTargetBoardResolverMega2560(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware"}, + FQBN: "arduino:avr:mega:cpu=atmega2560", +@@ -141,6 +145,7 @@ func TestTargetBoardResolverMega2560(t *testing.T) { + } + + func TestTargetBoardResolverCustomYun(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, + FQBN: "my_avr_platform:avr:custom_yun", +@@ -167,6 +172,7 @@ func TestTargetBoardResolverCustomYun(t *testing.T) { + } + + func TestTargetBoardResolverCustomCore(t *testing.T) { ++ t.Skip("Can't run on Gentoo") + ctx := &types.Context{ + HardwareFolders: []string{filepath.Join("..", "hardware"), "hardware", "downloaded_hardware", "user_hardware"}, + FQBN: "watterott:avr:attiny841:core=spencekonde,info=info", +diff --git a/test/wipeout_build_path_if_build_options_changed_test.go b/test/wipeout_build_path_if_build_options_changed_test.go +index 51bfe80..8501fb6 100644 +--- a/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go ++++ b/src/github.com/arduino/arduino-builder/test/wipeout_build_path_if_build_options_changed_test.go +@@ -42,6 +42,7 @@ import ( + ) + + func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) { ++ t.Skip("Can't run in Gentoo") + ctx := &types.Context{} + + buildPath := SetupBuildPath(t, ctx) +@@ -73,6 +74,7 @@ func TestWipeoutBuildPathIfBuildOptionsChanged(t *testing.T) { + } + + func TestWipeoutBuildPathIfBuildOptionsChangedNoPreviousBuildOptions(t *testing.T) { ++ t.Skip("Can't run in Gentoo") + ctx := &types.Context{} + + buildPath := SetupBuildPath(t, ctx) diff --git a/dev-embedded/arduino-ctags/Manifest b/dev-embedded/arduino-ctags/Manifest index 7d78925654ef..e6000e5707a0 100644 --- a/dev-embedded/arduino-ctags/Manifest +++ b/dev-embedded/arduino-ctags/Manifest @@ -1,3 +1,3 @@ DIST arduino-ctags-20161123.tar.gz 490200 BLAKE2B f51b18a0db420124c5fed2b320c16d9eeb96fce6d0f118cf43a8177f88400daaeb83437c3993353c16b73781961c7476e782e66891582f4b3dc5301c73da64dc SHA512 ae5bde92c3dd0b9a179bc1df998f20312c4ab8b2c9c1840dbe543d23fb4531b9e5524f1399d9922ed9b2de4582bdb74635f7ec576a42c808d152c3fbb84f9687 -EBUILD arduino-ctags-20161123.ebuild 738 BLAKE2B d1819283886e1c211496388632a5573c0f55db9d89b047314acdb4a77eee379e5a488a3a374598dd57a53f246a4753d2cb3bebadcdc619e0105cb078cd324aeb SHA512 5b1e043f0ce8b3472be0f05b1e2601c7822db932d1e5c02fecf5f4cb4b4b3adb3b0d7e3cbb99c8d06123df4c1cabc7538ab5844fcb3102e7573991f2186380a9 +EBUILD arduino-ctags-20161123.ebuild 734 BLAKE2B 255520788f2d2e133bf01a233623fbdf5d8dd275a81fcfc7e14026a3d1f50a548a193e13c3726e6ca943a4e977ec92d24eb573ab615d84b31ca304f81909e4e9 SHA512 1cdd8a481ad8d7f02ada234df6e3da3baa63e879924e757bf83958e0ad44e131549f622ce2bb6b68a3c9015587a4a100ce12cce4cc5166cc84fa89b68b3417c3 MISC metadata.xml 626 BLAKE2B 723945b93e97337df1fc85a27c7fb937d624372a1732ef026d0541ab6179806aaa8416e3e973873d7b2b2d5c39a32391158a1d0e172b02aa35b9c20aa1619ee7 SHA512 e129f6dec30edb56b3a85f26c171d314445c8bbe44cfb7e5fdd7f4d18a763fa13a79a6af95b7d0195bbc33b51d67fe84e33f402d30bf5672a7e7262738fba72f diff --git a/dev-embedded/arduino-ctags/arduino-ctags-20161123.ebuild b/dev-embedded/arduino-ctags/arduino-ctags-20161123.ebuild index e2bcd0810ab1..5fdb6990c1fe 100644 --- a/dev-embedded/arduino-ctags/arduino-ctags-20161123.ebuild +++ b/dev-embedded/arduino-ctags/arduino-ctags-20161123.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/arduino/ctags/archive/${COMMITHASH}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" S="${WORKDIR}/ctags-${COMMITHASH}" diff --git a/dev-embedded/arduino-listserialportsc/Manifest b/dev-embedded/arduino-listserialportsc/Manifest index f034a951bb3e..6ebb5e050db9 100644 --- a/dev-embedded/arduino-listserialportsc/Manifest +++ b/dev-embedded/arduino-listserialportsc/Manifest @@ -1,3 +1,3 @@ DIST arduino-listserialportsc-1.4.0.tar.gz 5448 BLAKE2B a1b5256c9e9ece7ec4de8b1481b6e20769fe07fd94b73d099922074ff20d251896d992aba1e3680dc7e667ff2897fec05812a07273efe097cf5387a5f0207554 SHA512 0e8bbf1e49fa8705a6d3c28b44043f8d13589b7ebdac245db79ed3826bf56028778fdf721af3cf756cc8ea19e7a2f7e5f19421a105211cf0cd35041ec718c2bb -EBUILD arduino-listserialportsc-1.4.0.ebuild 1103 BLAKE2B 5abdba050e7e03c35162f6db68502052dec6ec39b5c7e6e5657d787d92929d2cb7383ccfd53d0c3a0a4d02236a189209a491c8fe338cf30f25a533f6ccfdb4c2 SHA512 511744e80332cf3fdc58a5a19e34dce6b7f83ef54b38261d8028793f82988a11618c32088bbdcbb4bf31e434005cf568f7015be1e14d6d062f7cf7dd30ab4759 +EBUILD arduino-listserialportsc-1.4.0.ebuild 1099 BLAKE2B d22c201011786d7bf1bf54078d475aad32f89bfa6cfffb07e714bfc2f310b0035983b71b988100c35cbb8227e71077d01716421fc214f43ef7f1722147f21f15 SHA512 73684175e543ebaa62e6e848456344efafb20a4abef24132a24501e8cf40c549ef8135f53e662be4b5baf548a37cacccb0cba5ce1fe6031a611c64f2c98427a6 MISC metadata.xml 340 BLAKE2B 2cd9ba0239d059246ccb17feca24dc51e3ea6a03ffddc316e7ba596decd2cd52337f54ecb3746b04d1ebe6fbc1b4a8488e3080b5274283837fa43f5a75bead76 SHA512 67948320e986bc94e6ca659c06e6a914b824c54bddfbd507d1bdfc6773c673540bd07555eac945ab72e4ff85d93de97455abf3481d0ae3d99691e48efebb9cde diff --git a/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild b/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild index e93591a0c0b5..54309574a086 100644 --- a/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild +++ b/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/arduino/listSerialPortsC" SRC_URI="https://github.com/arduino/listSerialPortsC/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" RDEPEND=">=dev-libs/libserialport-0.1.1" DEPEND="${RDEPEND} diff --git a/dev-embedded/arduino/Manifest b/dev-embedded/arduino/Manifest index 77a0d402bebd..6519be28d330 100644 --- a/dev-embedded/arduino/Manifest +++ b/dev-embedded/arduino/Manifest @@ -28,5 +28,5 @@ DIST arduino-icons.tar.bz2 58775 BLAKE2B 20f230394a8d725eaf7300f66105b09b31eb96a DIST arduino-src-1.0.5.tar.gz 235284641 BLAKE2B 7e7ed1305be468dff5ee32238e51b56c214bb993531c67a5ed178a267b5ff8b0f5303aa2a539b64ac40b20278d0206513c3b26f74dd9120058d97fabbbafef27 SHA512 0a40203b8a31c4d9288500962ada7f5083c280a84d8c56ab7da2d1326e1c02a908a96db589ab10bafc115abefe010bf23f6994c08e43c86a4ac10c2d4ab93ec2 EBUILD arduino-1.0.5-r1.ebuild 2583 BLAKE2B 78d8ff706d0bdeb6bcede5a70b8eabf862a91f38bb994218924ad01f6174bd181891e8d9e0237b3d2b8564ef519956f32393c6b61a161714ebf22b4f0181e1ea SHA512 40d26584bb9ac446fd29831774e476d984a900004128618883e161c1d2d39c185c2a4e8e34a66c961b2d8905186d67806a844d792f42d1b52c34eb840ea0badb EBUILD arduino-1.0.5-r2.ebuild 2602 BLAKE2B 1d32d6ad9581d02f2ba8d8844a19360d855a2ff1d1487898e77ad1b76e87679b8879cc928e0c30e362b22564fc9312b7c55e774f69f92d3bc0a22e18046336ae SHA512 c4a1a0d4ceafc9693c105995a0fae9696e9ed23c677588d9eee9ed25ecd43a011bfab27945201c89685dd3586607a33680ef938a37cc20bf0653c9d373f5b2d7 -EBUILD arduino-1.8.5-r2.ebuild 5057 BLAKE2B 8ac8e9b4518b1c20cb71441897d0441e8fdee0f9f013eadd604a437360dd8e961a328401cabc4cc6f16d4f71ef34ed1155501d0d7874f1fd94784f419e5946e7 SHA512 33319fc41870c0b15a6ad39409c2b656689d14216f750e98e6a4049ce6c7464fc909b18bac23b2107362f8bf3cc31c6c28e6abeb38e58c367a2b6b1a2cff8fc8 +EBUILD arduino-1.8.5-r2.ebuild 5053 BLAKE2B de8c70974d012e9fbf457e926d506b84a1069c1fe76358542139751dff7b7988e72f22da964db2e5b9ba9f7a4dc7170e9e72afee7a3bf76a297ce300b05c2ae3 SHA512 1600d9455ec9ad2065d4589806ca6ecbd0ccd3dd2e814e32d19b8fa3749156fe7e1f9c38710d72302dc4fbb303388e9b22d7af70ac825ddb248965a1a5e16657 MISC metadata.xml 331 BLAKE2B 5449a181e8d470cb80c1a32d50e79c9f912117df14673adc2d1d989f037b1fd89c8bb4a263b4a883e30ab034e0e1ef1e82f54fa9134511755f9ccd62acff9af9 SHA512 6966c4f97ca07b9ef925691abe06e3110d9901cf15fbc7ed07c5ac65dbe583d346186961f64fba71ff796b5d6ff187870b8db41b3f1836b3fefbcc3e54c7ba4e diff --git a/dev-embedded/arduino/arduino-1.8.5-r2.ebuild b/dev-embedded/arduino/arduino-1.8.5-r2.ebuild index d20fd3fcd252..1f664fa2853c 100644 --- a/dev-embedded/arduino/arduino-1.8.5-r2.ebuild +++ b/dev-embedded/arduino/arduino-1.8.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -51,7 +51,7 @@ SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" # bincheck RESTRICT is needed because firmware that ships with arduino contains code that makes # scanelf bark. It's also why we need a separate package for arduino-listserialportsc because if diff --git a/dev-embedded/mcu8051ide/Manifest b/dev-embedded/mcu8051ide/Manifest index 431e5c661402..7af334ce029c 100644 --- a/dev-embedded/mcu8051ide/Manifest +++ b/dev-embedded/mcu8051ide/Manifest @@ -1,3 +1,3 @@ DIST mcu8051ide-1.4.10.tar.gz 5928583 BLAKE2B 4e8e119790d8130859034f2366ac3372373805dcb173328e61a9a18513cb6b9580e8f3912592888268bfdf694e835032fca3148d9fc00a7aa061660378674f0e SHA512 686c2b7054475aa38bbbe73ef745303141f038e2d6eca86d548317c130febb6b12d7c0e0737a9b15d2c3f4890bcd0238fffae030c689f8367f3b54821ab52866 -EBUILD mcu8051ide-1.4.10.ebuild 798 BLAKE2B 190eee97b8f0ee3648fcc56a465babdf2d8ca0e8d97ff0c591ae49e218d47ff8a95880c4194f9966906000d6540470d7879979cc343c4969baa202e464ede43e SHA512 6ef6d9e5d19b8669004dfbcc27ab71dac7c5259eba73e9407cffb074e0fe49910c70e745fa0fe76b2c935e1b4bdea5f0b4b1b1869dcc9606edaffb44bdc9d240 +EBUILD mcu8051ide-1.4.10.ebuild 728 BLAKE2B 176f6372793d42da96e0dd802fade820fe57baf0d9018cb2972eac147a80bca2ff21164fdfead280aaba99eb5915512f08edce5beb4a75eb935f192a695053e0 SHA512 3c659430086f91859aebbdf8844ac2937fd330572db130f2478a78acbabeffbe86776d608ce0a2985b260a80a95d1f76fcfcf1e58c771483aed540ec84e66f32 MISC metadata.xml 304 BLAKE2B 290590d10851919866d1b0749c4f8101e267311ed98f1787cb4464d9408d37de3231159f2b8e9552e121a044752296f4e846a76c4cc2409c7e4358bd36fe138d SHA512 df2ca0cf75c510b030480139e1bc62faecc6c9a4538207434174fd404cf59437ed8c1f67dd76f44b66443db3ea71eb1952d13a45216aff3e48a5cf3e225bbda9 diff --git a/dev-embedded/mcu8051ide/mcu8051ide-1.4.10.ebuild b/dev-embedded/mcu8051ide/mcu8051ide-1.4.10.ebuild index 73b38e60146a..8d2c46293886 100644 --- a/dev-embedded/mcu8051ide/mcu8051ide-1.4.10.ebuild +++ b/dev-embedded/mcu8051ide/mcu8051ide-1.4.10.ebuild @@ -1,29 +1,30 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" - +EAPI=6 inherit cmake-utils DESCRIPTION="Graphical IDE for microcontrollers based on 8051." -HOMEPAGE="http://www.moravia-microsystems.com/mcu-8051-ide/" -SRC_URI="http://www.moravia-microsystems.com/download/${PN}/${PN}/${PV}/${P}.tar.gz" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64" # The doxygen dependency is suspect, but it appears to be used at runtime. -RDEPEND=">=dev-embedded/sdcc-2.5[mcs51] - >=app-doc/doxygen-1.7 - >=dev-util/indent-2.2 - >=app-text/hunspell-1.3 - >=dev-tcltk/bwidget-1.8 - >dev-tcltk/itcl-3.3 - >=dev-lang/tcl-8.5.9:* - >=dev-tcltk/tdom-0.8 - >=dev-tcltk/tcllib-1.11 - >=dev-lang/tk-8.5.9:* - >=dev-tcltk/tkimg-1.4 - >=dev-tcltk/tclx-8.4" +RDEPEND=" + >=dev-embedded/sdcc-2.5[mcs51] + >=app-doc/doxygen-1.7 + >=dev-util/indent-2.2 + >=app-text/hunspell-1.3 + >=dev-tcltk/bwidget-1.8 + >dev-tcltk/itcl-3.3 + >=dev-lang/tcl-8.5.9:* + >=dev-tcltk/tdom-0.8 + >=dev-tcltk/tcllib-1.11 + >=dev-lang/tk-8.5.9:* + >=dev-tcltk/tkimg-1.4 + >=dev-tcltk/tclx-8.4 +" DEPEND="${RDEPEND}" diff --git a/dev-embedded/parapin/Manifest b/dev-embedded/parapin/Manifest index 0e47ae6972c3..36d85aed0ae2 100644 --- a/dev-embedded/parapin/Manifest +++ b/dev-embedded/parapin/Manifest @@ -1,3 +1,7 @@ DIST parapin-1.0.0.tar.gz 240771 BLAKE2B 3c211d43028f1ee4b09568eae2408b96c9b3c1ecce5b81f3fd520ea3f480bb06044e99e04e7776b8a2b6cf7f99e57f2dcf186aea2ba9afbe4c31b9e0be3bc894 SHA512 43e4066b649bec8519c98052451ab1beb720c9c8086bbd045bb013e3c12c7e83bf0411ac4b8e7006c3acbc6d1487b918d26df65b246469e6c7e008a0e26874d9 +DIST parapin-1.5.0.tgz 249552 BLAKE2B 2a6621ec21542c35dbcae48f1bb93cd36621878b3bdfcb75f3b22aaa861e730a0f9f80f0d83eb4335d7d3b4c6c471e83003da5daea6dddc87b6e3c86ef2c7229 SHA512 732a2e4145f9dc2b765ecd1fd52d56409e69f4e3dc885f10d37661ab551604b986c95466e7d45265a268f7e759f6aa65537d1a8efcdd57d2d8b0ddfd3484728d +DIST parapin-1.5.1-beta1.tgz 279115 BLAKE2B cce949828fec7654917da54be30ac6ed07baad615180adebbd12caba0c994e62ae95cc10a00c3653d23fe75afbe0721d6da901829a99a89ab355ea059c99d0f5 SHA512 3bc1a0a9fef5fd5f8efd84220e7e257a100d618d168332fe09c1331c38fc48e339bfda3f216713f454f43487fd7227036d8f1025ccc851806ae69326bfae97e0 EBUILD parapin-1.0.0.ebuild 775 BLAKE2B 4cf48813609462289869def43d3a4e9d3e347d401299281e10ca89db1cb6c811e294ba38041c5354b2901969aa451bdf7d4a4fd964d94955d94aa3363cdec294 SHA512 e3df0592adf1bb8d7a00c5c07a7ecfaa45df9384c7f8f29260e69a425421f1d10ce9de8d3360542ddc3516c9b13be4564857e7505cfb8010906e4a046dc51640 +EBUILD parapin-1.5.0.ebuild 783 BLAKE2B c9d7a92a0294ec8ae2d7b867f202467fd28837733e4da484ff95ea8e83162b21fa1d7ac2459f3acc04b072ceda7176c3bba9c88c1d71db4ab8d9ac83e72cafd0 SHA512 a7b8c5877c33ea020b009e14a1ffcea9fea5499e52bf401efdde362c946abcbaac9c6df604d4229614c1f000ed065d3a987c9f481f1ef2840855989d1b57c7d9 +EBUILD parapin-1.5.1_beta1.ebuild 810 BLAKE2B 99c362b3430175c174c899b1410afba351b364e6c6679e3fc6d979c9de423ca4bf0238d7e7e9aa1012934b45e78edf198cca1bdb12adce51178ea05e257096bc SHA512 c9282f2a69ec5c5d64a0b55a731588f711a72958fedcfe2d8f093b9c82ca70fce4f8564675ea3e423f624e58d32c61257b7ec3de11b869518394e6ecbe3aaced MISC metadata.xml 987 BLAKE2B bc9d93c4a6baa98b6ee8631a33a9ccc4fec6bcd9a60adff8cca4f2376cf12145571bc23ad1dab299eda69cfffa77f0ea5a1e3cb72a26b6c25f9d7253b4048af4 SHA512 80c14ff7464a986fb91620df2c239c04be1098b38046d0516b9e38e85eeda520c06437ddaccbcca322f99fec8161645f15c83c042165a9a83a24cc14aee60db0 diff --git a/dev-embedded/parapin/parapin-1.5.0.ebuild b/dev-embedded/parapin/parapin-1.5.0.ebuild new file mode 100644 index 000000000000..0c172e5d1c89 --- /dev/null +++ b/dev-embedded/parapin/parapin-1.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A parallel port pin programming library" +HOMEPAGE="http://parapin.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="LGPL-2.1" +IUSE="doc" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +DEPEND="doc? ( dev-tex/latex2html )" + +src_compile() { + # Note 2.4 and 2.6 makefiles are identical for the targets used + emake -f Makefile-2.4 CC=$(tc-getCC) + use doc && emake -C doc html +} + +src_install() { + dolib.a libparapin.a + insopts -m0444; insinto /usr/include; doins parapin.h + + dodoc README + if use doc; then + cd "${S}"/doc/${PN} + docinto html + dodoc *.html *.css *.png + + cd "${S}"/examples + docinto examples + dodoc *.c + fi +} diff --git a/dev-embedded/parapin/parapin-1.5.1_beta1.ebuild b/dev-embedded/parapin/parapin-1.5.1_beta1.ebuild new file mode 100644 index 000000000000..51556291ee47 --- /dev/null +++ b/dev-embedded/parapin/parapin-1.5.1_beta1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A parallel port pin programming library" +HOMEPAGE="http://parapin.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_/-}.tgz" + +LICENSE="LGPL-2.1" +IUSE="doc" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +DEPEND="doc? ( dev-tex/latex2html )" + +S=${WORKDIR}/${P/_/-} + +src_compile() { + # Note 2.4 and 2.6 makefiles are identical for the targets used + emake -f Makefile-2.4 CC=$(tc-getCC) + use doc && emake -C doc html +} + +src_install() { + dolib.a libparapin.a + insopts -m0444; insinto /usr/include; doins parapin.h + + dodoc README + if use doc; then + cd "${S}"/doc/${PN} + docinto html + dodoc *.html *.css *.png + + cd "${S}"/examples + docinto examples + dodoc *.c + fi +} |