From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4D3B91388BF for ; Wed, 17 Feb 2016 20:43:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE1C421C001; Wed, 17 Feb 2016 20:43:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E648DE07E6 for ; Wed, 17 Feb 2016 20:43:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10C1C340A9E for ; Wed, 17 Feb 2016 20:43:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D040ACEB for ; Wed, 17 Feb 2016 20:43:17 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1455741164.e5d3ec2d3b966ae3dc8df2b536eeacac9712af8b.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/syncthing/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/syncthing/Manifest net-p2p/syncthing/syncthing-0.12.19.ebuild X-VCS-Directories: net-p2p/syncthing/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: e5d3ec2d3b966ae3dc8df2b536eeacac9712af8b X-VCS-Branch: master Date: Wed, 17 Feb 2016 20:43:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d223cbb5-8277-4909-85af-db2bdc57607f X-Archives-Hash: 8f27ef3425c7bf7085f77f23b9a1663c commit: e5d3ec2d3b966ae3dc8df2b536eeacac9712af8b Author: Louis Sautier gmail com> AuthorDate: Wed Feb 17 13:49:41 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Wed Feb 17 20:32:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5d3ec2d net-p2p/syncthing: bump to 0.12.19, add ~x86, re-enable tests Tests should no longer fail on x86 since https://github.com/syncthing/syncthing/issues/2765 Package-Manager: portage-2.2.27 net-p2p/syncthing/Manifest | 1 + net-p2p/syncthing/syncthing-0.12.19.ebuild | 41 ++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest index 127d573..68a84f5 100644 --- a/net-p2p/syncthing/Manifest +++ b/net-p2p/syncthing/Manifest @@ -1 +1,2 @@ DIST syncthing-0.12.18.tar.gz 4046127 SHA256 e0d1af4f29c9e2325507a7daf4bf97098c87c321a7e075125b66ddaa34b37eb4 SHA512 2f2351a983b3d384e9fe65c87d67b81f20fc20b7b43b8d2fab882131bd4e4119f0cf099571d617f22f0125c43224c653e93329392204f3e0ff6c6a3bba7d8263 WHIRLPOOL cfe491241e9ef4ebd19042a3cc3188771cf64d67c0faa29feda7da5980f86a38c1e284938074271e25bbfb881eca1ca56f237bf81a61be4d836287cbfab27eb2 +DIST syncthing-0.12.19.tar.gz 4047476 SHA256 5a7035029974fe0fb496d9f8af880a50bcc8499ff5eef7ee4ef48f08df37820e SHA512 89d2b34c5bb9772bcaad84caa03794cdcfeade8fef0b8abaeea6a1cccdc09167a690aa8b1dfadac81d9ac0e8a07c9be112af7f2e56f12f589b906c518c49a686 WHIRLPOOL c0589a5e6a4f090dee9f79bb199c901b3f0e75cf0f92c12851a9713cdf7e813c8a5564ce475000529d2a5edafb9861d1b820858cb6fa3bb5bf082ff5586da9b3 diff --git a/net-p2p/syncthing/syncthing-0.12.19.ebuild b/net-p2p/syncthing/syncthing-0.12.19.ebuild new file mode 100644 index 0000000..0766431 --- /dev/null +++ b/net-p2p/syncthing/syncthing-0.12.19.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGO_PN="github.com/syncthing/syncthing" +EGIT_COMMIT=v${PV} + +inherit golang-vcs-snapshot systemd + +DESCRIPTION="Syncthing is an open, trustworthy and decentralized cloud storage system" +HOMEPAGE="http://syncthing.net" +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + export GOPATH="${S}:$(get_golibdir_gopath)" + cd src/${EGO_PN} + go run build.go -version "v${PV}" -no-upgrade || die "build failed" +} + +src_test() { + cd src/${EGO_PN} + go run build.go test || die "test failed" +} + +src_install() { + cd src/${EGO_PN} + dobin bin/* + dodoc README.md AUTHORS CONTRIBUTING.md + systemd_dounit "${S}"/src/${EGO_PN}/etc/linux-systemd/system/${PN}@.service + systemd_douserunit "${S}"/src/${EGO_PN}/etc/linux-systemd/user/${PN}.service +}