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-util/docker-distribution-pruner |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/docker-distribution-pruner')
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/docker-distribution-pruner/Manifest b/dev-util/docker-distribution-pruner/Manifest new file mode 100644 index 000000000000..277b54bd4698 --- /dev/null +++ b/dev-util/docker-distribution-pruner/Manifest @@ -0,0 +1,4 @@ +DIST docker-distribution-pruner-0_p20170401.tar.gz 6245783 SHA256 104b142b17b02b570b773717ee57fbb4350c37d274051e989cd88b8154d5d70a SHA512 8e2bf3c9be37f7b16299e1e7219d646e2b037ff40ba244bb2262905ab9864b212d7f96d844a096b057c6111440d66236f8ed5eb4a61e95f7a81bac3516f65cdd WHIRLPOOL 9c2fdb153f00ca812c4e570df970c3ed8c47629a334a3f8672f869a68488d88eb9a867b4e02e58d57f8c1031c549e641caf9ec8987a4936b5b66ffd24aa7e224 +DIST github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz 60814 SHA256 0904953c06aa32c6691cec2390437f7d4d62c71f37d72f50d110a6577c87963b SHA512 184a0e658a4eac3b867533cd0e494bd84db94fbe10e8df0d0b755c7ffc95bc99e2f84c0157183ca74cdc79289a85dcf7f1dea8a4c89a253565baf473b3627eae WHIRLPOOL c9113048502f65a4036bbfbd4f072b27b41f68547e682d1e1496ae73c65c30b1470061d1f99d17e6b4a373e59e07568b460ad5396eb4b1f16079da077aa8382f +EBUILD docker-distribution-pruner-0_p20170401.ebuild 870 SHA256 207ce472c0346f07f17e4db96f0aa1878ca511d068ab3dcfad0a44f0c64d7508 SHA512 238ed42112227b6b6429bacc4b4c09978c4dba8f495b137551d5a6244f7c4cda8e0ac8c64b002c02ab012b3c1889caffef4da5286144876b519d7d9290997a01 WHIRLPOOL d0aeeedb226149b15404104697af689da96eda0e17a4c0334cdc040a3a1e856f00d5ad0ca1f49f5ada9e004adb2d7b2db46cfd142dd80869146e16ea60676724 +MISC metadata.xml 245 SHA256 de7f40473008b56621adf62aa22bc34f849186d601cb64db9d302b7de431059b SHA512 d6a2af3d2f61e780acc1997e86dbe71f45cd241e1b11f2df5ec404d91a65354916d7516a2c30dc664cbd5f6be8693019706ba6820f23b72d6484040395d630cc WHIRLPOOL 73ec0429c1ab1e80c02bf557734de4644710be9686eb449eb0f18ecf7b569a2227e5500f97015b7c9aafde8e3e0c9b5523c7d0436acdb59f73f791e6e21a2d1e diff --git a/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild b/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild new file mode 100644 index 000000000000..3eafca49e433 --- /dev/null +++ b/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.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="gitlab.com/gitlab-org/${PN}/..." +EGIT_COMMIT="207b308c12b1717c6e3d2adf5e1ffe504c64f56e" + +EGO_VENDOR=( "gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.com/go-yaml/yaml" ) + +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN%/*}/repository/archive.tar.gz?ref=${EGIT_COMMIT} -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Clean all old container revisions from registry" +HOMEPAGE="https://gitlab.com/gitlab-org/docker-distribution-pruner" +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" +LICENSE="MIT" +SLOT="0" +IUSE="" + +RESTRICT="test" + +src_compile() { + pushd src || die + GOPATH="${WORKDIR}/${P}" go install gitlab.com/gitlab-org/docker-distribution-pruner || die + popd || die +} + +src_install() { + dobin bin/${PN} +} diff --git a/dev-util/docker-distribution-pruner/metadata.xml b/dev-util/docker-distribution-pruner/metadata.xml new file mode 100644 index 000000000000..0ecfb76d568f --- /dev/null +++ b/dev-util/docker-distribution-pruner/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 type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel RĂ¼ger</name> + </maintainer> +</pkgmetadata> |