summaryrefslogtreecommitdiff
path: root/dev-go/toml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-go/toml
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-go/toml')
-rw-r--r--dev-go/toml/Manifest4
-rw-r--r--dev-go/toml/metadata.xml8
-rw-r--r--dev-go/toml/toml-0.2.0_p20160716.ebuild34
-rw-r--r--dev-go/toml/toml-9999.ebuild34
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-go/toml/Manifest b/dev-go/toml/Manifest
new file mode 100644
index 000000000000..459451c2b356
--- /dev/null
+++ b/dev-go/toml/Manifest
@@ -0,0 +1,4 @@
+DIST toml-0.2.0_p20160716.tar.gz 39914 BLAKE2B 417f081c9c22c5d5374794e9b4ee810a9d4375029d5a931a3b5ea3e73d26706eda83c504dc9c648ebee818d1a4c860f89d1c6aec3432ae478734e555349f1102 SHA512 c2109e913d5891bf62526b421c4be8c64823ef8ee7ea6dc8120b6f28881633fec1ea46cbb076859a15db011fbcdf900d9c6f9caae06c194135241c42cf65f11d
+EBUILD toml-0.2.0_p20160716.ebuild 745 BLAKE2B dbd0b10e9712f8201a15d3dc365bd92133d2be057af2ee708cfd1b87b0fda52f1324df1c295d6950e8497a70e9a9bd8d033b6935463a3507919f4ec58784f999 SHA512 4bdd5e98522c739fc32c24cdf3ebefa3ba9b60e61dfda22aadf35eca9f5ca23b36d50d105a2a65f0fb9dabe4334fdfdc89a40e082d2bc65163867334ed4d2f4c
+EBUILD toml-9999.ebuild 745 BLAKE2B dbd0b10e9712f8201a15d3dc365bd92133d2be057af2ee708cfd1b87b0fda52f1324df1c295d6950e8497a70e9a9bd8d033b6935463a3507919f4ec58784f999 SHA512 4bdd5e98522c739fc32c24cdf3ebefa3ba9b60e61dfda22aadf35eca9f5ca23b36d50d105a2a65f0fb9dabe4334fdfdc89a40e082d2bc65163867334ed4d2f4c
+MISC metadata.xml 247 BLAKE2B c57c90711742d2fd19e523e8925c0954bcd40840b2d05fa1704c0e9aa4de3e8bf1e3e4cff9adc0676b969f52155bf0389de0bcfa1cca19e7ec2b4812111dc581 SHA512 fa6f5c9eaf6ac6ac28a22137f097640e370d8f6923ce9f2aef384fd311fd00b4fb10902ea4171e018b1aa293d8d3545d8c0c11fa22e1dead02640d95b5332e4d
diff --git a/dev-go/toml/metadata.xml b/dev-go/toml/metadata.xml
new file mode 100644
index 000000000000..9d1797dcd8b3
--- /dev/null
+++ b/dev-go/toml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">BurntSushi/toml</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-go/toml/toml-0.2.0_p20160716.ebuild b/dev-go/toml/toml-0.2.0_p20160716.ebuild
new file mode 100644
index 000000000000..219ac2df52af
--- /dev/null
+++ b/dev-go/toml/toml-0.2.0_p20160716.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/BurntSushi/toml"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="99064174e013895bbd9b025c31100bd1d9b590ca"
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc64"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="TOML parser for Golang with reflection"
+HOMEPAGE="https://github.com/BurntSushi/toml"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -o "bin/tomlv" ./cmd/tomlv || die
+}
+
+src_install() {
+ dodoc README.md
+ dobin bin/tomlv
+}
diff --git a/dev-go/toml/toml-9999.ebuild b/dev-go/toml/toml-9999.ebuild
new file mode 100644
index 000000000000..219ac2df52af
--- /dev/null
+++ b/dev-go/toml/toml-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/BurntSushi/toml"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="99064174e013895bbd9b025c31100bd1d9b590ca"
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc64"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="TOML parser for Golang with reflection"
+HOMEPAGE="https://github.com/BurntSushi/toml"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -o "bin/tomlv" ./cmd/tomlv || die
+}
+
+src_install() {
+ dodoc README.md
+ dobin bin/tomlv
+}