From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/nvidia-container-toolkit/
Date: Sat, 13 Feb 2021 15:02:20 +0000 (UTC) [thread overview]
Message-ID: <1613228454.1b37324f38f6380e95ca42cd016d1786e16481b0.vowstar@gentoo> (raw)
commit: 1b37324f38f6380e95ca42cd016d1786e16481b0
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sat Feb 13 15:00:54 2021 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sat Feb 13 15:00:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b37324f
app-emulation/nvidia-container-toolkit: bump to 1.4.2
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-emulation/nvidia-container-toolkit/Manifest | 1 +
.../nvidia-container-toolkit-1.4.2.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-emulation/nvidia-container-toolkit/Manifest b/app-emulation/nvidia-container-toolkit/Manifest
index 88370c4a..69f20a41 100644
--- a/app-emulation/nvidia-container-toolkit/Manifest
+++ b/app-emulation/nvidia-container-toolkit/Manifest
@@ -24,3 +24,4 @@ DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2
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.4.0.tar.gz 27661 BLAKE2B 653dd83f2061316ae71a22c1a8db8018d3990346e163890e9601e4a846b2948bfe795566f31e3f7532d721e0f56ec1d3ff084f0b552fd285b71174f39098027e SHA512 d2c4127d09734ce487596d9faa118d36f758c3169003ed0b3539324f4f1a2c0b3179c312fabaf62514ec8f8e6161e267ef939137bbba9f86cdb1058e8ad35162
+DIST nvidia-container-toolkit-1.4.2.tar.gz 27955 BLAKE2B 5df303660611fa94487e3f2eaa783f631d6f97dc19aa80cb356c0d57d9223636fe2d46bf64fac2e6d99061ede14bcae494a553e6299e9d8920c5f6c1e16efc5d SHA512 a50484d694c4f547433b8ee28ab6a3ad1b1ca275faade7e47fc23f56291b0f2422b14144333fc327d1b0605730638038667b87425729516f22c36da96a6efc76
diff --git a/app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.4.2.ebuild b/app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.4.2.ebuild
new file mode 100644
index 00000000..8675939e
--- /dev/null
+++ b/app-emulation/nvidia-container-toolkit/nvidia-container-toolkit-1.4.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/NVIDIA/${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/${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
+ sys-devel/make
+"
+
+src_compile() {
+ emake binary
+}
+
+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."
+}
next reply other threads:[~2021-02-13 15:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 15:02 Rui Huang [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-28 2:37 [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/nvidia-container-toolkit/ Rui Huang
2021-05-04 12:18 Rui Huang
2021-02-13 15:02 Rui Huang
2021-01-01 9:55 Rui Huang
2020-12-28 11:59 Rui Huang
2020-12-28 8:23 Rui Huang
2020-10-09 5:02 Rui Huang
2020-10-09 1:16 Rui Huang
2020-10-08 16:49 Rui Huang
2020-10-05 13:21 Rui Huang
2020-10-05 13:21 Rui Huang
2020-09-18 16:30 Rui Huang
2020-09-18 9:31 Rui Huang
2020-07-28 13:54 Rui Huang
2020-07-25 3:58 [gentoo-commits] repo/proj/guru:master " Rui Huang
2020-07-25 3:57 ` [gentoo-commits] repo/proj/guru:dev " Rui Huang
2020-07-25 3:57 Rui Huang
2020-07-25 3:57 Rui Huang
2020-06-17 9:34 Rui Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1613228454.1b37324f38f6380e95ca42cd016d1786e16481b0.vowstar@gentoo \
--to=vowstar@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox