diff options
author | William Hubbs <williamh@gentoo.org> | 2015-08-05 17:41:58 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-08-05 17:41:58 +0000 |
commit | f67261f6feb8b575cf70485665cf56b15f6b26e9 (patch) | |
tree | 998d4e3a3acd6777355eedbd6d16b566e7699555 /dev-go | |
parent | sys-cluster/torque: cleanup old (diff) | |
download | historical-f67261f6feb8b575cf70485665cf56b15f6b26e9.tar.gz historical-f67261f6feb8b575cf70485665cf56b15f6b26e9.tar.bz2 historical-f67261f6feb8b575cf70485665cf56b15f6b26e9.zip |
add support for golang-vcs-snapshot to live ebuild
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0x30C46538
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-resiliency/ChangeLog | 5 | ||||
-rw-r--r-- | dev-go/go-resiliency/Manifest | 10 | ||||
-rw-r--r-- | dev-go/go-resiliency/go-resiliency-9999.ebuild | 37 | ||||
-rw-r--r-- | dev-go/go-snappy/ChangeLog | 5 | ||||
-rw-r--r-- | dev-go/go-snappy/Manifest | 14 | ||||
-rw-r--r-- | dev-go/go-snappy/go-snappy-9999.ebuild | 37 | ||||
-rw-r--r-- | dev-go/go-spew/ChangeLog | 5 | ||||
-rw-r--r-- | dev-go/go-spew/Manifest | 14 | ||||
-rw-r--r-- | dev-go/go-spew/go-spew-9999.ebuild | 37 |
9 files changed, 47 insertions, 117 deletions
diff --git a/dev-go/go-resiliency/ChangeLog b/dev-go/go-resiliency/ChangeLog index fc83ece49dd1..feb37c8ec24a 100644 --- a/dev-go/go-resiliency/ChangeLog +++ b/dev-go/go-resiliency/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-go/go-resiliency # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-resiliency/ChangeLog,v 1.3 2015/07/30 20:45:07 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-resiliency/ChangeLog,v 1.4 2015/08/05 17:35:38 williamh Exp $ + + 05 Aug 2015; William Hubbs <williamh@gentoo.org> go-resiliency-9999.ebuild: + add support for golang-vcs-snapshot to live ebuild 30 Jul 2015; Zac Medico <zmedico@gentoo.org> go-resiliency-1.0.0.ebuild, go-resiliency-9999.ebuild: diff --git a/dev-go/go-resiliency/Manifest b/dev-go/go-resiliency/Manifest index 9f3948ebdfdb..114e208a6c70 100644 --- a/dev-go/go-resiliency/Manifest +++ b/dev-go/go-resiliency/Manifest @@ -3,13 +3,13 @@ Hash: SHA256 DIST go-resiliency-1.0.0.tar.gz 9504 SHA256 b4f5a9926e8b68f13e506001a9f52c1e3083a2ed171722ac857a4840d7c36486 SHA512 3847a9280543796fa3b5569d817e580f55819aa99e04a7737b235cb8ef578db018c51537f292e3f59ed10004cb0a7eabdf9870000fff25af4bf6d2af70510657 WHIRLPOOL 41404cb044e0a64608ffe58da2d77d8ed87606d58f408114e6e461e537cf5cb05460a95bee36a7d73e4be34cb6222c90eb97777d1cf13a40f88cc5101d21333d EBUILD go-resiliency-1.0.0.ebuild 1317 SHA256 a1cc58e4eaa856f86b5df2f7f58e0c43444318d5587cd95332e541e727efd1e5 SHA512 5cefda2679a675267bc40e875cd08a7c76a23221991a16b38ff696013b7c07fdfa4d274f7047b416e3643ac7fe2efdc82d68a41aaa017da4d6f5bbd07ddb0131 WHIRLPOOL 8e3bbc2d9f1534c923a01257112b731bcff3c1389dc44a2e725767aa3b8c955feff68d1d691bc2ceaf55b997c7a9be586542852ba625c63a8ba428f5a611548b -EBUILD go-resiliency-9999.ebuild 1316 SHA256 99996c47a89fa101b9b0a46d722daea7f6bfbbd2f6246528d6e8331378b8dabd SHA512 03ee7e87a4ca51a6fab86c84b758ba0b33b6db1a57aae9884e528dc1d5a174b30b9a3a04227314973e017b770bf8cb2cad45338a702a298c2aac0c6905edab47 WHIRLPOOL f926ffd132fe9530aea530a445f7f84f4df15ea529b20ad269c16a3aa21b1304060b271a911ef993feb6e00c0ae6926f73e009dc9978ffbdea6efc92d5f56858 -MISC ChangeLog 688 SHA256 f58745612765e8d7d6d9d555c2660031e66e686755cf4874801127bdad7a83c5 SHA512 afe8820cea69888556784fdd713522605bc2f3e97fb7e4f6395c5ace586ee600143db84a8015b162250cb738860818ce2b4afc5c0c70bbcd7f72073c2806bf46 WHIRLPOOL 5cd0055fede125c0f85b2793ec10f594eba503e98136f05ad16c0b8edeb819fb04ed02be0ae7d59e538f7eaabbeaf462f83eac6426cab53f37cd4ad4dccdca95 +EBUILD go-resiliency-9999.ebuild 631 SHA256 416f39b320240589fcf29ec937644491ba4c4cb6105e64b7170b06ed57b49278 SHA512 e6a2727bf1f3cc79c2e7c76a1a2f1480deb830e5510c54f605be783aef491cfbabd468745c627b32407785617dbaada231ea2424aa232c862201e6cc876e10ac WHIRLPOOL baada12f348b511ac8f0b9dffcaab7963b167d41db48c3552867270e2a583e6c6a235fa43861612dcf65af6d84d1b6abfe06836c1743b453ef11b7e1eac7b10f +MISC ChangeLog 821 SHA256 baa9b31a5bd18b9ba548863efac726cc693d689cb40c9885972c392a350c034c SHA512 d887b2410de4896ccb3d27633c36849964e668a4acd2173ad59908ea98f025fac04eb8bc21df88ff37ff4c457832867b504e35c545ced575dc048f74c775edc6 WHIRLPOOL b3ca72915196c8afa9f6057ca8be026aad7792daeda94c0fa201555ed0e0fcd151db67bfff99e5a20ea7ac88154b58a5331de7f0a716049e153e07d7990ae675 MISC metadata.xml 298 SHA256 59bfceefda64a89724803a3179c1cc3ef5971964e1f515aee4f59d87bbadd0ac SHA512 f2262fa1dff47b128581b5e396f07a646d8292ec8559f2a791b51918e8cf5889ffe6bbae867e55e8594932e95b50b0e39432f905816ac6d6f96af0b50c25eb46 WHIRLPOOL c18ebdf707993e336cfb7a67d6f8797c9cbb7daf0d589dd0e722837dc5e1e582aae544af6608e1f879019dcb0208cb333965269daf39d1226f443b9036f3ce5c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlW6jNQACgkQ/ejvha5XGaOI4gCfTqBrYrOv3w+cD80rkDY891/b -phcAnjSH4mb0LBQM/+B/lixam3EvCt7Z -=SRht +iEYEAREIAAYFAlXCSXIACgkQblQW9DDEZTiGWwCdH+SjxN5tpO21HaRi0I1O431H +c7sAnAyWX7YprNgkACg0yTwp376ISdke +=o1jm -----END PGP SIGNATURE----- diff --git a/dev-go/go-resiliency/go-resiliency-9999.ebuild b/dev-go/go-resiliency/go-resiliency-9999.ebuild index e40997d0af9f..9106ec4d5678 100644 --- a/dev-go/go-resiliency/go-resiliency-9999.ebuild +++ b/dev-go/go-resiliency/go-resiliency-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-resiliency/go-resiliency-9999.ebuild,v 1.3 2015/07/30 20:45:07 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-resiliency/go-resiliency-9999.ebuild,v 1.4 2015/08/05 17:35:38 williamh Exp $ EAPI=5 @@ -12,6 +12,7 @@ if [[ ${PV} = *9999* ]]; then else KEYWORDS="~amd64" SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot fi inherit golang-build @@ -22,37 +23,3 @@ SLOT="0/${PV}" IUSE="" DEPEND="" RDEPEND="" - -if [[ ${PV} != *9999* ]]; then -src_unpack() { - local f - - for f in ${A} - do - case "${f}" in - *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) - local destdir=${WORKDIR}/${P}/src/${EGO_SRC} - - debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" - - # XXX: check whether the directory structure inside is - # fine? i.e. if the tarball has actually a parent dir. - mkdir -p "${destdir}" || die - tar -C "${destdir}" -x --strip-components 1 \ - -f "${DISTDIR}/${f}" || die - ;; - *) - debug-print "${FUNCNAME}: falling back to unpack for ${f}" - - # fall back to the default method - unpack "${f}" - ;; - esac - done -} -fi - -src_install() { - rm -rf src/${EGO_SRC}/.git* || die - golang-build_src_install -} diff --git a/dev-go/go-snappy/ChangeLog b/dev-go/go-snappy/ChangeLog index 85c3423c2d6a..a7c12113e527 100644 --- a/dev-go/go-snappy/ChangeLog +++ b/dev-go/go-snappy/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-go/go-snappy # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-snappy/ChangeLog,v 1.2 2015/07/30 10:15:41 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-snappy/ChangeLog,v 1.3 2015/08/05 17:37:22 williamh Exp $ + + 05 Aug 2015; William Hubbs <williamh@gentoo.org> go-snappy-9999.ebuild: + add support for golang-vcs-snapshot to live ebuild 30 Jul 2015; Patrick Lauer <patrick@gentoo.org> go-snappy-0_pre20150729.ebuild, go-snappy-9999.ebuild: diff --git a/dev-go/go-snappy/Manifest b/dev-go/go-snappy/Manifest index 0db3721c2d87..30192836e4ca 100644 --- a/dev-go/go-snappy/Manifest +++ b/dev-go/go-snappy/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST go-snappy-0_pre20150729.tar.gz 10085 SHA256 7df12835634e18e96cb3239f870404d5c5a6a20ad3706534a43418c23f5c107e SHA512 84f285f34f547f1da6b0fc87b61a699ac3e8b8d762c0aaa3d71b22869c51d76eb5a5fc3d9b8d3571591eb955fdde9a7a293935e1d40f76c5dd01cc02710b209a WHIRLPOOL 74940645fb51ffb3bedae94dd513b3a153f8cf91285a09eca52d1e0861af20872834ea24034c7fb6de1e13169b566ae155f6937cc0b22fba86bfc02dafa2e3c5 EBUILD go-snappy-0_pre20150729.ebuild 1404 SHA256 c22eb4d7eb939c39c5f0cd2480311e229b0818cb8aae639e28436410dacbfad4 SHA512 1e43017a27f28f7bf5bd3ca85f0fecfa674181dba19c7098ca39f0eaa6501f1b9513adcd2d68bc9d2b7a24868e94c6275e2aeaf97358e7a548549b604d59a765 WHIRLPOOL e7dfcecf92a7d2b2ea7f4790c7007721dfbee3bc64f774920359bba5e78ee1f4b598a57d14717bc12aa6955a78db92b91a91c8f9db2324f578c33c5ba2d67302 -EBUILD go-snappy-9999.ebuild 1395 SHA256 47c9fd6d0fa4e6f14d6b06eb4c559443ecbb93ea72d7789437b2b84da011da05 SHA512 842fdb46964c81a8e91c624ded7a62403f7dfc444c4919df65f4e7cec4e4c237c18b0549c77910ff4c2f52d25c296d96b2e9ce879116a85fd3434e50b3d434c9 WHIRLPOOL e9cc79b33831f913163c3e23977037efad63596b756a874d51f3c73008c18ac4def21855a257fa30d6030357d26e24c7da1c54e2e89d0988275c1c7f7d92b8da -MISC ChangeLog 535 SHA256 40817306df4290b827fa73d8d5010f0de31af8d9cf9a4a65db494102857688fc SHA512 acd3bfbe9b1c0ba7255d5d182dad9db9da7818ce6a3ddfd955cc6a639bc43b3d7e5dd19f64c8d6c814b9eb9dba49b8e4666b856596551d32703fcc265a26dcbe WHIRLPOOL bdfc2fc1c3edc4d3f91fa2097c853ef615de8f0e8cc81180f9c00215063327cefa4e45b13826954cca1ee8939900ed6e86cf85668fe70e1fa3238261e2503ae1 +EBUILD go-snappy-9999.ebuild 710 SHA256 e788b20b149af477b7d9de39ad593c48c2d0c8130970e599b1fe2ce5a86bc385 SHA512 20d829071dd2d1fd1e9d6ae4220d8e72a24a8917d5c62e7a759d0871dbd7d7b7d14f58fe4f721ee9e67ab682dbc0870ffb85162bbd596cd80e5ff08cdec5dd84 WHIRLPOOL 538bdc7ea8a10d42d544a3214e2eb3b7f134955c3d9d3100090f9aee1ded6dd6da89beba139424fad2db0e5fdf3cb86f0dbd2efb43a1218a8b496a55a7100d43 +MISC ChangeLog 664 SHA256 b1888399a651d8d0ee5409f4b07907efae555527aef056d747115da9784e2b81 SHA512 954bb361205dea85589cf9bae2b708c6cb9713918c17321a04fdfb8b4f19d28ce1e31940be24edaededc6a14a4e562e9a47a38289bd84ec8e8d7b5018f43cb63 WHIRLPOOL 47c23743fa0820bd34af3c97d0bd3f06d8ec55028205b683081e6d4efd1106e608208e5f9341ca098305fbebc08556b12df106549edf7bc099ae8cfad1db5843 MISC metadata.xml 290 SHA256 10c41031e00cbeae2e167ff64ae7d50f53fc85a7baf06e98e9485d427b5c2d27 SHA512 8d1bc3f3576fefa7f3ec7c27e2c741a753bcee8cb09452fca753c34522d76a2d66537db331fb6e20caf014e1cb135adfe3d14490c7fbd4c84360bf50eafb4fba WHIRLPOOL 17950435fe70aa3ccc85c309660f4e0ef23bf95ab4ee4829e211ed4657b01741ff2ad1806096395d6e1ccfa5673b4f0baa7570bd91968aa3e07862a7c88cebd6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlXCSdsACgkQblQW9DDEZTjG6wCfa6MqI4p+f5pDaJQiO9Y4FhMT +kZIAoLO8pOwVQod6Gg2ikm5R9YH3uAO8 +=kwSz +-----END PGP SIGNATURE----- diff --git a/dev-go/go-snappy/go-snappy-9999.ebuild b/dev-go/go-snappy/go-snappy-9999.ebuild index 5873ba510d7e..4d139c74b936 100644 --- a/dev-go/go-snappy/go-snappy-9999.ebuild +++ b/dev-go/go-snappy/go-snappy-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-snappy/go-snappy-9999.ebuild,v 1.2 2015/07/30 10:15:41 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-snappy/go-snappy-9999.ebuild,v 1.3 2015/08/05 17:37:22 williamh Exp $ EAPI=5 @@ -13,6 +13,7 @@ else KEYWORDS="~amd64" EGIT_COMMIT="723cc1e459b8eea2dea4583200fd60757d40097a" SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot fi inherit golang-build @@ -23,37 +24,3 @@ SLOT="0/${PV}" IUSE="" DEPEND="" RDEPEND="" - -if [[ ${PV} != *9999* ]]; then -src_unpack() { - local f - - for f in ${A} - do - case "${f}" in - *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) - local destdir=${WORKDIR}/${P}/src/${EGO_SRC} - - debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" - - # XXX: check whether the directory structure inside is - # fine? i.e. if the tarball has actually a parent dir. - mkdir -p "${destdir}" || die - tar -C "${destdir}" -x --strip-components 1 \ - -f "${DISTDIR}/${f}" || die - ;; - *) - debug-print "${FUNCNAME}: falling back to unpack for ${f}" - - # fall back to the default method - unpack "${f}" - ;; - esac - done -} -fi - -src_install() { - rm -rf src/${EGO_SRC}/.git* || die - golang-build_src_install -} diff --git a/dev-go/go-spew/ChangeLog b/dev-go/go-spew/ChangeLog index 4c1792fe1bf7..394d267db1ea 100644 --- a/dev-go/go-spew/ChangeLog +++ b/dev-go/go-spew/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-go/go-spew # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/ChangeLog,v 1.2 2015/07/31 02:16:35 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/ChangeLog,v 1.3 2015/08/05 17:41:50 williamh Exp $ + + 05 Aug 2015; William Hubbs <williamh@gentoo.org> go-spew-9999.ebuild: + add support for golang-vcs-snapshot to live ebuild 31 Jul 2015; Patrick Lauer <patrick@gentoo.org> go-spew-0_pre20150619.ebuild, go-spew-9999.ebuild: diff --git a/dev-go/go-spew/Manifest b/dev-go/go-spew/Manifest index 7d59ce7297e0..cd5cb5cd24e0 100644 --- a/dev-go/go-spew/Manifest +++ b/dev-go/go-spew/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST go-spew-0_pre20150619.tar.gz 41714 SHA256 e064d12586e3685d32eb0bd125b9e4c19291fdcc07bd21e067593cbc81525e1c SHA512 84ec5cbf26b59d6380d09b4e053427d8c8b93555e43de4a95d373b7fb1edc647f0c950caaacf451c03872171d138e717b1fa9a1ea0f14208a9a5197bd83ce037 WHIRLPOOL 31f9823776b77317b26a256ba3615cf7aeae4c3d46f54b2840ed742770369a15bfa8a972252229eaa907e16c40a18573e1df748a99c86bf244ed4b43d86db409 EBUILD go-spew-0_pre20150619.ebuild 1414 SHA256 d17b293d53d7fa81ec0b2b7192d21f5a986a2460f7ccf5e5efb5cabaabf8fc70 SHA512 10bf67f7be4d6a226d8c1d1050cd277ddaeb35389c01865855df58334490652c54da99d9cc4d2a550026114a3d8c8290db389098aae24779ee78416bc4cce995 WHIRLPOOL fd32e702d0fe9e025aa85c764e4250e8e78d6adfd6e37612bdcc407ee05bbd6f6c7a3d8957f646209a220076cd6ff2e2144b4e7facbcc106aebf50fdcc4dc9d2 -EBUILD go-spew-9999.ebuild 1405 SHA256 903113f3d0c395aaec071ca1f3d869c43b596f9b5eb0fe6b1c196243afb12af9 SHA512 32e5669a74e735b5b922517179b8b6ba724009403919fbfff16e0119fd8769c6774d20bc8bc1255bce1e21ae8c90e108543e754071113ccbff5691b2a3163aa5 WHIRLPOOL 9d53fd27c5ce71d98b1b7e300d2ea4d1c3ae1772619c8a06f20f25ead757b32ca03b788700ac1f187d9771e68ddff252884c0dd416d31b35abc57736f40e782e -MISC ChangeLog 517 SHA256 63ac006ad68ae82673efbcc1c43cb3b6761f8179c3a52bbaa5f62fc2b321413a SHA512 eb455cd4586e1f07e0daa70ebb1df35a9242ac4a9837370db7ab27c2dc2271dcb69c0d662aed41e51f0cf12807d7219db175499565af215dab1e08bb72b97726 WHIRLPOOL 836c67837972a2db3ef4c70d112f5efc72749030f097989f3aea563033705f116a7b15db56652dc61c1a4ff83b3e25d22e63b8960c58ecb5c96db8c5c3a9f039 +EBUILD go-spew-9999.ebuild 720 SHA256 548fbe96575e36fb1abd51c2ee30a2524a6dd1e065090852c19174a53252eb45 SHA512 6afcd9750e026596adb18a2e9e7768cb6369566fd823f935dd0e0c5aa3384ef79478a47103ec5531ced69c0d3136c0e0c31610458a277a0867e751995e22decc WHIRLPOOL da7c470e2e1aa9e489d3d5f923b5ffcef492ebba5cc7d549dfe681cde67660495b55b49947a5d31b1f7091cb313edaeb898a741213b4de2343b390daef3d6da9 +MISC ChangeLog 644 SHA256 595128667a222ff6cb3a2df56de1bb7f76647dfdc240e530a3d84c7fd9501e30 SHA512 001a5a5a0ab41d03309e1e726266be8afd482df3dcbceeab8e1bc5f043161877155f66c0b13a107d9da812f76a2ab3352d8eb3c40ea249f5beaa2a4036fd6534 WHIRLPOOL f2b211408564980a005cb8e3c024a8b567b338ba2764262851ba09c04892b86ddb6bfc2bb2ee1dbbf7cbc42d035b5491926a32dd36b94a694ec7572cd5e2b7be MISC metadata.xml 292 SHA256 82aaf46b09bb2d64da53c76104b6133a0db7c580edf7d3a37e21d4b8f0f3215d SHA512 0d1fb90b8f8411959d17df99c872413179a821ae4abd225a39872509d53a970595777b8a670ca548a72b18e9117d7d645d5a8bfc515134d5838c49aac0ff874b WHIRLPOOL 7879c9d729c4a4f42de26adea632e8bdde32bcd4400e411c0aabc1214236db2c04976b0384bfcab8d302478bd7b4c87183065097e6f268956c9f7499fbd591e7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlXCSuUACgkQblQW9DDEZThAagCglIw94HrqwTOBXykGDCn877X1 +790AoJAQs3eqBmYGqrjV0yqqrN7Nw81Q +=UCsj +-----END PGP SIGNATURE----- diff --git a/dev-go/go-spew/go-spew-9999.ebuild b/dev-go/go-spew/go-spew-9999.ebuild index 6fda3d38ae39..135f2813d828 100644 --- a/dev-go/go-spew/go-spew-9999.ebuild +++ b/dev-go/go-spew/go-spew-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/go-spew-9999.ebuild,v 1.2 2015/07/31 02:16:35 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/go-spew-9999.ebuild,v 1.3 2015/08/05 17:41:50 williamh Exp $ EAPI=5 @@ -13,6 +13,7 @@ else KEYWORDS="~amd64" EGIT_COMMIT="2df174808ee097f90d259e432cc04442cf60be21" SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot fi inherit golang-build @@ -23,37 +24,3 @@ SLOT="0/${PV}" IUSE="" DEPEND="" RDEPEND="" - -if [[ ${PV} != *9999* ]]; then -src_unpack() { - local f - - for f in ${A} - do - case "${f}" in - *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) - local destdir=${WORKDIR}/${P}/src/${EGO_SRC} - - debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" - - # XXX: check whether the directory structure inside is - # fine? i.e. if the tarball has actually a parent dir. - mkdir -p "${destdir}" || die - tar -C "${destdir}" -x --strip-components 1 \ - -f "${DISTDIR}/${f}" || die - ;; - *) - debug-print "${FUNCNAME}: falling back to unpack for ${f}" - - # fall back to the default method - unpack "${f}" - ;; - esac - done -} -fi - -src_install() { - rm -rf src/${EGO_SRC}/.git* || die - golang-build_src_install -} |