From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-db/sqlcmd/
Date: Mon, 2 Sep 2024 09:58:28 +0000 (UTC) [thread overview]
Message-ID: <1725251045.394dd6febde7d1338f208b86f79a3fd6729a7105.davidroman@gentoo> (raw)
commit: 394dd6febde7d1338f208b86f79a3fd6729a7105
Author: Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Mon Sep 2 04:22:24 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep 2 04:24:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=394dd6fe
dev-db/sqlcmd: add 1.8.1
Signed-off-by: Jonas Frei <freijon <AT> pm.me>
dev-db/sqlcmd/Manifest | 2 ++
dev-db/sqlcmd/sqlcmd-1.8.1.ebuild | 43 +++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-db/sqlcmd/Manifest b/dev-db/sqlcmd/Manifest
index 005c54d07..126998db8 100644
--- a/dev-db/sqlcmd/Manifest
+++ b/dev-db/sqlcmd/Manifest
@@ -2,3 +2,5 @@ DIST sqlcmd-1.7.0-deps.tar.xz 50175352 BLAKE2B 703d6c1e5b3013cc4dae98b89d0afe2db
DIST sqlcmd-1.7.0.tar.gz 1046900 BLAKE2B 1dfe1df4cd37cb951b0801d44db1407ad40166925223bf64d27bc73d5e1acfa204d4bc65faf486ad3856110c2b45a652a6762fa8b7e7606f001b5a6dc12f65db SHA512 86ccf8a48c858bdf52353cc124957db76377c948c86f8200609db4c00c280e8bbd0b540ca8744174ed715ee7ca4abb974307413ff1d02a49eed1acaa7deeb59f
DIST sqlcmd-1.8.0-deps.tar.xz 51224260 BLAKE2B 0f30c0ee118d1dbcf156fb0605d27d8c5163b80eb024437636ab5c13bb0990b1348f0cd41100f6ffeb6305bad58f44bea8c6b18aead518e4809fb4826219e4ec SHA512 15aa2d5123ac13d5b9a7cded3bc318973131b38cc33a017ffca2f4192641b393bbf2ad79657ca19c1a5c17214f2c06c3eaf3e6752f8fe82f5bd1136646a33c31
DIST sqlcmd-1.8.0.tar.gz 1047131 BLAKE2B 9d2d472f1abc73ed373c1ca9ad4b1a53bda1d047e12e4ca2dc9eb86ed891a73f3bffe95e3d61f4d384b5f1e2d0791f77fa7911bf69fdf3e24c3b1926e0480e48 SHA512 56af33290561c297a3d7d19b0130747896676ca1f373468ade5760d3ae056f139f467bd72b75856a985cec949b009727c6bc0f188baee3a5d3307e92a9e04960
+DIST sqlcmd-1.8.1-deps.tar.xz 53599544 BLAKE2B 0c4b00283c2d9024fce323d4880bd0a15ce4d194ede55751b55eb8fe46372eb5d4060d47705121d1cf42ca7f5144c38de5c4871e7a9df512f582cdafe1e980d9 SHA512 9984e41c77d9f663d105b2f7ac89d5703b914e779587ccefd7a6d24afef73ae81202fd4449fadc70e5158bf11c9feb789dacceb477279e543926c5a4aeab3b83
+DIST sqlcmd-1.8.1.tar.gz 1050073 BLAKE2B 194a072f20b7944e91cecfcca67f6a2889e065aa441902acac9676e3ed8eb4f70f0e655bbb50529fd81b39d1fef048801383ae33d9ac1c826b98dac007d576d6 SHA512 c9afd037a3378edec2d2fb90ac6e0c3acb5ae3ebd52ecd613752b33773d047da11ccfc4d7f4fe3f0ea3c2f68b74bc6e9abae4ab34e98d2a891c5eb5c3a7cca9d
diff --git a/dev-db/sqlcmd/sqlcmd-1.8.1.ebuild b/dev-db/sqlcmd/sqlcmd-1.8.1.ebuild
new file mode 100644
index 000000000..af122c844
--- /dev/null
+++ b/dev-db/sqlcmd/sqlcmd-1.8.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module shell-completion
+
+DESCRIPTION="The MSSQL SQLCMD CLI tool"
+HOMEPAGE="https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility"
+SRC_URI="https://github.com/microsoft/go-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html
+DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${P}-deps.tar.xz"
+SRC_URI+=" ${DEPS_URI}"
+
+S="${WORKDIR}/go-${P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern
+}
+
+src_install() {
+ dobin "${PN}"
+ mkdir "completions" || die
+
+ ./sqlcmd completion bash > "completions/${PN}" || die
+ ./sqlcmd completion fish > "completions/${PN}.fish" || die
+ ./sqlcmd completion zsh > "completions/_${PN}" || die
+ dobashcomp "completions/${PN}"
+ dofishcomp "completions/${PN}.fish"
+ dozshcomp "completions/_${PN}"
+
+ local DOCS=(
+ "README.md"
+ "SECURITY.md"
+ )
+
+ einstalldocs
+}
next reply other threads:[~2024-09-02 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 9:58 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-02 9:58 [gentoo-commits] repo/proj/guru:master commit in: dev-db/sqlcmd/ David Roman
2024-07-18 16:39 Lucio Sauer
2024-07-18 16:39 Lucio Sauer
2024-06-15 11:12 Julien Roy
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=1725251045.394dd6febde7d1338f208b86f79a3fd6729a7105.davidroman@gentoo \
--to=davidroman96@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