aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2020-10-05 21:21:08 +0800
committerHuang Rui <vowstar@gmail.com>2020-10-05 21:21:08 +0800
commite3c4566cf6f50d8d0a015abbe936ae5bc26ceeb1 (patch)
tree0c9b0a218f82e3db4ebef99e10162371981e8521 /app-emulation
parentsys-libs/libnvidia-container: drop 1.2.0 (diff)
downloadguru-e3c4566cf6f50d8d0a015abbe936ae5bc26ceeb1.tar.gz
guru-e3c4566cf6f50d8d0a015abbe936ae5bc26ceeb1.tar.bz2
guru-e3c4566cf6f50d8d0a015abbe936ae5bc26ceeb1.zip
app-emulation/nvidia-container-toolkit: drop 1.2.1
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/nvidia-container-toolkit/Manifest1
-rw-r--r--app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.2.1.ebuild96
2 files changed, 0 insertions, 97 deletions
diff --git a/app-emulation/nvidia-container-toolkit/Manifest b/app-emulation/nvidia-container-toolkit/Manifest
index f0a51355b..9f0c51432 100644
--- a/app-emulation/nvidia-container-toolkit/Manifest
+++ b/app-emulation/nvidia-container-toolkit/Manifest
@@ -23,5 +23,4 @@ DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.mod 37 B
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.mod 95 BLAKE2B fbb87f0644ec9da5d4386358d23cdb15b0d23e8212e712f16f338455a3a0ad19fbfd63e92c955c359237ddfa8bb76d6d08280eead24d321668431891eca1e8ab SHA512 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d
DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.zip 101467 BLAKE2B 8bb0aec8e693a4c0da59f1931e1fdcf6f94a236faba149d5af91e87284f39c693d20be65248eecde739cb555e371804fa6c723a56c69e6d02a347ba908e968b1 SHA512 bee7757d760f5ba1b9f7523af358652a5cb65f2b0064da097f78450871b2636efcbab0298a9871bbb3ce8012bf95a155949251d4f61464dde510097b936b47a8
-DIST nvidia-container-toolkit-1.2.1.tar.gz 1748938 BLAKE2B 94d5e8ae36373030fed88910fb383b4dc1d2f36157f82bdaf2830d88669a4bd8cf6a7c351133ffef920ecc0db8d4d39f80c99135a469753ab7d84e693b079a35 SHA512 0a1432c9674b0f93bd993c5a0cb4591ab4e2fe2b84064de5dbd2ff88929ff7ddcdf71b5abcfeaedab257e2fcbb0e3890a0281cd8b9f69744f83f9b676d5961de
DIST nvidia-container-toolkit-1.3.0.tar.gz 27609 BLAKE2B 08519a0559087d1c0dee989414e4ca2334278bdc3c9a49cbe00bc8a4194ce14e0a79ba9c902b121e0c0901d4dcfb2e86dc8b4aaced3f636a3ad55ac3fabcd836 SHA512 3a0eef062f186ff935840305c1121fb8dbac630eb1eb04af9756c2dffe5c2f04a4a164f95ccd8ab7a062f26e655f8ace06ebc16675b0bf00eecae0e1eaba71b6
diff --git a/app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.2.1.ebuild b/app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.2.1.ebuild
deleted file mode 100644
index b49060c37..000000000
--- a/app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.2.1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GITHUB_PN="container-toolkit"
-EGO_PN="github.com/NVIDIA/${GITHUB_PN}"
-
-inherit go-module
-
-DESCRIPTION="NVIDIA container runtime toolkit"
-HOMEPAGE="https://github.com/NVIDIA/nvidia-container-toolkit"
-
-if [[ "${PV}" == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/NVIDIA/${PN}.git"
- inherit git-r3
-
- src_unpack() {
- git-r3_src_unpack
- go-module_live_vendor
- }
-else
- EGO_SUM=(
- "github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ="
- "github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU="
- "github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8="
- "github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38="
- "github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM="
- "github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4="
- "github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME="
- "github.com/stretchr/testify v1.6.0 h1:jlIyCplCJFULU/01vCkhKuTyc3OorI3bJFuw6obfgho="
- "github.com/stretchr/testify v1.6.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg="
- "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w="
- "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI="
- "golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4="
- "golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA="
- "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg="
- "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s="
- "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM="
- "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY="
- "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs="
- "golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ="
- "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo="
- "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0="
- "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0="
- "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0="
- "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo="
- "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM="
- )
- go-module_set_globals
-
- SRC_URI="
- https://github.com/NVIDIA/${GITHUB_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- ${EGO_SUM_SRC_URI}
- "
- KEYWORDS="~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-IUSE=""
-
-RDEPEND="
- sys-libs/libnvidia-container
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- app-arch/unzip
-"
-
-src_compile() {
- LIB_NAME=${PN} LIB_VERSION=${PV} go build \
- -ldflags "-s -w" \
- -o "${PN}" \
- "${EGO_PN}/pkg" || die
-}
-
-src_install() {
- dobin "${PN}"
- into "/usr/bin"
- dosym "${PN}" "/usr/bin/nvidia-container-runtime-hook"
- insinto "/etc/nvidia-container-runtime"
- doins "${FILESDIR}/config.toml"
-}
-
-pkg_postinst() {
- elog "Your docker service must restart after install this package."
- elog "OpenRC: sudo rc-service docker restart"
- elog "systemd: sudo systemctl restart docker"
- elog "You may need to edit your /etc/nvidia-container-runtime/config.toml"
- elog "file before running ${PN} for the first time."
- elog "For details, please see the NVIDIA docker manual page."
-}