Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/
Date: Thu, 19 Sep 2019 02:33:48
Message-Id: 1568858698.400b0c2e011d9466f5b53f709c5c0963bddd0c3e.zmedico@gentoo
1 commit: 400b0c2e011d9466f5b53f709c5c0963bddd0c3e
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 19 02:04:58 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 19 02:04:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400b0c2e
7
8 app-emulation/docker-registry: Remove old versions
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/docker-registry/Manifest | 2 -
14 .../docker-registry-2.6.2-r1.ebuild | 43 -------------------
15 .../docker-registry-2.7.0-r1.ebuild | 48 ----------------------
16 .../docker-registry/docker-registry-2.7.0.ebuild | 41 ------------------
17 4 files changed, 134 deletions(-)
18
19 diff --git a/app-emulation/docker-registry/Manifest b/app-emulation/docker-registry/Manifest
20 index 9bf0d949d91..c13a696e584 100644
21 --- a/app-emulation/docker-registry/Manifest
22 +++ b/app-emulation/docker-registry/Manifest
23 @@ -1,3 +1 @@
24 -DIST docker-registry-2.6.2.tar.gz 1579760 BLAKE2B d0e067f2e9124847b5e362f23ca7d67655fbf0a6227efc3fd9073d5360389d6d8531e5709b52225c54e6e3097a2d5d79102e27fd09412b95d2e5d8a4a30dde2d SHA512 a091db2e15d7c1dc8cd39a40de5bb63cc1ead68e95dfaf6b3735a789adb87f146c03eff81f700e0059e5f6ffc43e6c3dd3358503697882cb080b991629f82c60
25 -DIST docker-registry-2.7.0.tar.gz 1996485 BLAKE2B 49022546b72a1ea2b457a3dc059d8940bfba3070208b2962f8acd1351312d568d6facc1690ae8ee78742b5647c3a84bd6538a9eb0c279aec0a8dfae2c823fa61 SHA512 72bf5f0953c58e4d1adf6427ee13a9456204ab278d4489277e4dd1b3a3df6717cc02c966cdfcdf77d86e769209fa18e377e0b12a6c02b9f58980185e9844aec6
26 DIST docker-registry-2.7.1.tar.gz 1996699 BLAKE2B 2e22db69f476be5a4688f5b3d6b41fbbf71460351543ae849f707dd5b3d56624f674815a25214002886b057f0859f75fd197bb275a7b3cc8a7787422f716ad0e SHA512 f6baf0e7aa96ebe828c628f7dfd84ee899331c3c1bdab86662aef595b092702b6d9b2c9be766a6de6d153ff4ca55d85c5fd8785a0968f285f56a32a50092c754
27
28 diff --git a/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild
29 deleted file mode 100644
30 index 863b9ac5082..00000000000
31 --- a/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild
32 +++ /dev/null
33 @@ -1,43 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -inherit golang-vcs-snapshot systemd user
39 -
40 -KEYWORDS="~amd64"
41 -EGO_PN="github.com/docker/distribution"
42 -EGIT_COMMIT="v${PV}"
43 -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
44 -DESCRIPTION="Docker Registry 2.0"
45 -HOMEPAGE="https://github.com/docker/distribution"
46 -LICENSE="Apache-2.0"
47 -SLOT="0"
48 -IUSE=""
49 -SVCNAME=registry
50 -
51 -PATCHES=( "${FILESDIR}/${PN}-2.6.1-notifications-expvar.patch" )
52 -
53 -pkg_setup() {
54 - enewgroup ${SVCNAME}
55 - enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME}
56 -}
57 -
58 -src_compile() {
59 - export -n GOCACHE XDG_CACHE_HOME #681072
60 - GOPATH="${S}" \
61 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
62 -}
63 -
64 -src_install() {
65 - exeinto /usr/libexec/${PN}
66 - doexe bin/*
67 - insinto /etc/docker/registry
68 - newins src/${EGO_PN}/cmd/registry/config-example.yml config.yml.example
69 - newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}"
70 - newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}"
71 - systemd_dounit "${FILESDIR}/${SVCNAME}.service"
72 - keepdir /var/{lib,log}/${SVCNAME}
73 - fowners ${SVCNAME}:${SVCNAME} /var/{lib,log}/${SVCNAME}
74 - insinto /etc/logrotate.d
75 - newins "${FILESDIR}/${SVCNAME}.logrotated" "${SVCNAME}"
76 -}
77
78 diff --git a/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild b/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild
79 deleted file mode 100644
80 index c117f1e1314..00000000000
81 --- a/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild
82 +++ /dev/null
83 @@ -1,48 +0,0 @@
84 -# Copyright 1999-2019 Gentoo Authors
85 -# Distributed under the terms of the GNU General Public License v2
86 -
87 -EAPI=6
88 -inherit golang-vcs-snapshot systemd user
89 -
90 -KEYWORDS="~amd64"
91 -EGO_PN="github.com/docker/distribution"
92 -EGIT_COMMIT="v${PV}"
93 -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
94 -DESCRIPTION="Docker Registry 2.0"
95 -HOMEPAGE="https://github.com/docker/distribution"
96 -LICENSE="Apache-2.0"
97 -SLOT="0"
98 -IUSE=""
99 -SVCNAME=registry
100 -
101 -pkg_setup() {
102 - enewgroup ${SVCNAME}
103 - enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME}
104 -}
105 -
106 -src_prepare() {
107 - default
108 - pushd src/${EGO_PN} || die
109 - eapply "${FILESDIR}"/${P}-notification-metrics.patch
110 - popd || die
111 -}
112 -
113 -src_compile() {
114 - export -n GOCACHE XDG_CACHE_HOME #681072
115 - GOPATH="${S}" \
116 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
117 -}
118 -
119 -src_install() {
120 - exeinto /usr/libexec/${PN}
121 - doexe bin/*
122 - insinto /etc/docker/registry
123 - newins src/${EGO_PN}/cmd/registry/config-example.yml config.yml.example
124 - newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}"
125 - newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}"
126 - systemd_dounit "${FILESDIR}/${SVCNAME}.service"
127 - keepdir /var/{lib,log}/${SVCNAME}
128 - fowners ${SVCNAME}:${SVCNAME} /var/{lib,log}/${SVCNAME}
129 - insinto /etc/logrotate.d
130 - newins "${FILESDIR}/${SVCNAME}.logrotated" "${SVCNAME}"
131 -}
132
133 diff --git a/app-emulation/docker-registry/docker-registry-2.7.0.ebuild b/app-emulation/docker-registry/docker-registry-2.7.0.ebuild
134 deleted file mode 100644
135 index 90b39c280c9..00000000000
136 --- a/app-emulation/docker-registry/docker-registry-2.7.0.ebuild
137 +++ /dev/null
138 @@ -1,41 +0,0 @@
139 -# Copyright 1999-2019 Gentoo Authors
140 -# Distributed under the terms of the GNU General Public License v2
141 -
142 -EAPI=6
143 -inherit golang-vcs-snapshot systemd user
144 -
145 -KEYWORDS="~amd64"
146 -EGO_PN="github.com/docker/distribution"
147 -EGIT_COMMIT="v${PV}"
148 -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
149 -DESCRIPTION="Docker Registry 2.0"
150 -HOMEPAGE="https://github.com/docker/distribution"
151 -LICENSE="Apache-2.0"
152 -SLOT="0"
153 -IUSE=""
154 -SVCNAME=registry
155 -
156 -pkg_setup() {
157 - enewgroup ${SVCNAME}
158 - enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME}
159 -}
160 -
161 -src_compile() {
162 - export -n GOCACHE XDG_CACHE_HOME #681072
163 - GOPATH="${S}" \
164 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
165 -}
166 -
167 -src_install() {
168 - exeinto /usr/libexec/${PN}
169 - doexe bin/*
170 - insinto /etc/docker/registry
171 - newins src/${EGO_PN}/cmd/registry/config-example.yml config.yml.example
172 - newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}"
173 - newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}"
174 - systemd_dounit "${FILESDIR}/${SVCNAME}.service"
175 - keepdir /var/{lib,log}/${SVCNAME}
176 - fowners ${SVCNAME}:${SVCNAME} /var/{lib,log}/${SVCNAME}
177 - insinto /etc/logrotate.d
178 - newins "${FILESDIR}/${SVCNAME}.logrotated" "${SVCNAME}"
179 -}