diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-go/go-sqlite3 |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-go/go-sqlite3')
-rw-r--r-- | dev-go/go-sqlite3/Manifest | 6 | ||||
-rw-r--r-- | dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160131.ebuild | 17 | ||||
-rw-r--r-- | dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160307.ebuild | 34 | ||||
-rw-r--r-- | dev-go/go-sqlite3/metadata.xml | 10 |
4 files changed, 67 insertions, 0 deletions
diff --git a/dev-go/go-sqlite3/Manifest b/dev-go/go-sqlite3/Manifest new file mode 100644 index 000000000000..6da771b5dd9b --- /dev/null +++ b/dev-go/go-sqlite3/Manifest @@ -0,0 +1,6 @@ +DIST go-sqlite3-1.1.0_p20160131.tar.gz 1847546 SHA256 d743a044d7ee88b2783f5a15f22b47ffdaa478c0b258babc3c621ce347955bb8 SHA512 9596012111b23865191904b7b0817ddbd88fc61383a3dfcf737d3d1be95c1a1d57b779ffbb9fa83303245a992c56e427396ffccb759a440822fffa516cae0b3d WHIRLPOOL a54021a0b8deb4fd28f44e45e8c78b896ef1121e4a23eb5fe6877b259c37456a6fb4fad77300a079fc3357a14b52d0b0750286a6f15431bdfefd17a99791c7c4 +DIST go-sqlite3-1.1.0_p20160307.tar.gz 1847839 SHA256 f3551d37bb2a485ef2c62c205bb104e6a19e25e3854e0106575db94891eba656 SHA512 e4613f8c18c4f5c60b09facfd6f6c36e14029538eef6deef94d57d0c0aeeed86023f36ed0fb0b7e5340ecbaad4f9b5815c5182cc19f85f52349610caaa998665 WHIRLPOOL 1eab66203e336c8081d18ba27f5aa706fc04d6c1d2b1e270457ca29d7785a3d77b36565f2b94003986a83a12618e3ffd376d8a38dee45af4c98219dce3fc69bf +EBUILD go-sqlite3-1.1.0_p20160131.ebuild 498 SHA256 80d970158d38335abf0243337cb62975e3b39b2c34535f14908cd37c7fd2a94d SHA512 51fe53dba03c13ed3bc1a0f377915526d2cc3c1bc3ccfb2a21c226799f51c4e0763b62ec8953f8bc74a82ebdab3e49a0761137e803af30ecb591629f39981e98 WHIRLPOOL 1f3bada93e499e39030617822a5b6b55d010af1660c6cc7af70b7ba15e8ccfdb0407efc75149d2245b8c5912f964716d05ae78cd5bb9d70dc000966a29ef2cf5 +EBUILD go-sqlite3-1.1.0_p20160307.ebuild 969 SHA256 970cc3243f1d88e10ccfe7e004569458eff273d8ba89b23ed5b0a1d8e055a1ca SHA512 1f9d5c2a6a784d10915aeb194a0d090da77d886dfa1419a57e802158f58585cffa8f3731b1b6ceafa0ce1a550b8131bc0577e21a4ea485d4716e66c8d88a4e2e WHIRLPOOL ba72c6613eb46830133ad26b940e72c6fd53d5c29d15a015bac79140c11a879c2a1b3aa30e9b3bc8de968215cfc555b0c5f1a10168a83d1d78d748655d2be561 +MISC ChangeLog 714 SHA256 226c9ccb6d6f5de76e115a9efe0d7d092b7c0d1c53240ff9671be9ae8d0ac785 SHA512 cad68ace7980cd21e74da1faada98ba76ecf775e3d7cffc0794a5d03fe23b4c217b972a5f93eef1b96388b5a3507dec2a6db8c67e55d67ef38a77ba95cebf9dc WHIRLPOOL 733666be341e4d22f496944ae4a56594ae5c16a00893619e1827f68d777b635e84c8bc789f1c69853c145fd1b551d86a793c2ec4165cdeef171fff67f0340e68 +MISC metadata.xml 307 SHA256 4e6537d7d00663a25beec70f19a0a74003d31f61018d1bce042d683b72c1334d SHA512 d206bdef42fcd61b40ba3516cce68d3078104fb07f366b6efc8d62308ec43eaf586141d6d2f3434333ecb360852f647eb275af9214aa16642eefd8a3266e869c WHIRLPOOL 9a143fd373c5e893ad311e169d4c2aec137f1dbd435fd87d39fcf09f3df4dc4eaa07e5ea810a9c4ca34d981048b8c6012ecffe64f456abf26619a7023ea8e694 diff --git a/dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160131.ebuild b/dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160131.ebuild new file mode 100644 index 000000000000..a609a1001e81 --- /dev/null +++ b/dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160131.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/mattn/go-sqlite3/..." +EGIT_COMMIT="c5aee9649735e8dadac55eb968ccebd9fa29a881" +ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Go sqlite3 driver using database/sql" +HOMEPAGE="https://${EGO_PN%/*}" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT" +SLOT="0/${PVR}" +IUSE="" diff --git a/dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160307.ebuild b/dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160307.ebuild new file mode 100644 index 000000000000..d9152b14e560 --- /dev/null +++ b/dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160307.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/mattn/go-sqlite3/..." +EGIT_COMMIT="10876d7dac65f02064c03d7372a2f1dfb90043fe" +ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Go sqlite3 driver using database/sql" +HOMEPAGE="https://${EGO_PN%/*}" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT" +SLOT="0/${PVR}" +IUSE="" + +src_compile() { + GOPATH="${S}" \ + go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die +} + +src_install() { + golang_install_pkgs +} + +golang_install_pkgs() { + insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}") + rm -rf "${S}"/src/${EGO_PN%/*}/.git* + doins -r "${S}"/src/${EGO_PN%/*} + insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}") + doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a} +} diff --git a/dev-go/go-sqlite3/metadata.xml b/dev-go/go-sqlite3/metadata.xml new file mode 100644 index 000000000000..c2bb1d9baf56 --- /dev/null +++ b/dev-go/go-sqlite3/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">mattn/go-sqlite3</remote-id> + </upstream> +</pkgmetadata> |