pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/compiledb-go



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Aug  9 18:51:28 UTC 2024

Added Files:
        pkgsrc/devel/compiledb-go: DESCR Makefile PLIST distinfo go-modules.mk

Log Message:
devel/compiledb-go: import compiledb-go-1.3.0

Tool for generating Clang's JSON Compilation Database file for GNU
`make`-based build systems.

It's aimed mainly at non-cmake (cmake already generates compilation
database) large codebases. Inspired by projects like YCM-Generator
and Bear, but faster (mainly with large projects), since in most
cases it doesn't need a clean build (as the mentioned tools do) to
generate the compilation database file, to achieve this it uses
the make options such as -n/--dry-run and -k/--keep-going to extract
the compile commands. Also, it's more cross-compiling friendly than
YCM-generator's fake-toolchanin approach.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/compiledb-go/DESCR \
    pkgsrc/devel/compiledb-go/Makefile pkgsrc/devel/compiledb-go/PLIST \
    pkgsrc/devel/compiledb-go/distinfo \
    pkgsrc/devel/compiledb-go/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/compiledb-go/DESCR
diff -u /dev/null pkgsrc/devel/compiledb-go/DESCR:1.1
--- /dev/null   Fri Aug  9 18:51:28 2024
+++ pkgsrc/devel/compiledb-go/DESCR     Fri Aug  9 18:51:28 2024
@@ -0,0 +1,11 @@
+Tool for generating Clang's JSON Compilation Database file for GNU
+`make`-based build systems.
+
+It's aimed mainly at non-cmake (cmake already generates compilation
+database) large codebases. Inspired by projects like YCM-Generator
+and Bear, but faster (mainly with large projects), since in most
+cases it doesn't need a clean build (as the mentioned tools do) to
+generate the compilation database file, to achieve this it uses
+the make options such as -n/--dry-run and -k/--keep-going to extract
+the compile commands. Also, it's more cross-compiling friendly than
+YCM-generator's fake-toolchanin approach.
Index: pkgsrc/devel/compiledb-go/Makefile
diff -u /dev/null pkgsrc/devel/compiledb-go/Makefile:1.1
--- /dev/null   Fri Aug  9 18:51:28 2024
+++ pkgsrc/devel/compiledb-go/Makefile  Fri Aug  9 18:51:28 2024
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2024/08/09 18:51:28 wiz Exp $
+
+DISTNAME=      compiledb-go-1.3.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fcying/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fcying/compiledb-go/
+COMMENT=       Generate Clang's JSON Compilation Database for make-based builds
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+.include "go-modules.mk"
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/compiledb-go/PLIST
diff -u /dev/null pkgsrc/devel/compiledb-go/PLIST:1.1
--- /dev/null   Fri Aug  9 18:51:28 2024
+++ pkgsrc/devel/compiledb-go/PLIST     Fri Aug  9 18:51:28 2024
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/09 18:51:28 wiz Exp $
+bin/compiledb
Index: pkgsrc/devel/compiledb-go/distinfo
diff -u /dev/null pkgsrc/devel/compiledb-go/distinfo:1.1
--- /dev/null   Fri Aug  9 18:51:28 2024
+++ pkgsrc/devel/compiledb-go/distinfo  Fri Aug  9 18:51:28 2024
@@ -0,0 +1,62 @@
+$NetBSD: distinfo,v 1.1 2024/08/09 18:51:28 wiz Exp $
+
+BLAKE2s (compiledb-go-1.3.0.tar.gz) = 470159c0dae74900fc8e610056e5eb247a0449416243f2604757f43b1d9bcba4
+SHA512 (compiledb-go-1.3.0.tar.gz) = 4e4547c433bfec42fcb752a61f84cdafa58b3f66542d001ba5d4474c84d23749968198a79d68e48ea7e73595737c6125887a44b6fa65b65f9a308b72de58d568
+Size (compiledb-go-1.3.0.tar.gz) = 21481 bytes
+BLAKE2s (github.com_cpuguy83_go-md2man_v2_@v_v2.0.4.mod) = 5d28aa7bd4d3be65c094ff1eff00044ed7a895928d188f7a279b5bd9a596d393
+SHA512 (github.com_cpuguy83_go-md2man_v2_@v_v2.0.4.mod) = d39412bb14c058291d07276337f802547bfb1a682cc65199cb04334f8089b6ea5d4d73587c2765c518f9e27fa3421c276eaea616d7cfbe36a2a244326edf1cb5
+Size (github.com_cpuguy83_go-md2man_v2_@v_v2.0.4.mod) = 100 bytes
+BLAKE2s (github.com_cpuguy83_go-md2man_v2_@v_v2.0.4.zip) = fd8cba99fb463ecdbc5c2de100ed057f12168df697150e31378840cb8d9d6bc3
+SHA512 (github.com_cpuguy83_go-md2man_v2_@v_v2.0.4.zip) = 7f54779086930755dbbc12a48bfd1c68926c074fc613a860f31bdc8aec4577e1cae1d877e61a07460cc410f2e9a038050e30831a377b624ece6f9f50a3161f30
+Size (github.com_cpuguy83_go-md2man_v2_@v_v2.0.4.zip) = 13136 bytes
+BLAKE2s (github.com_davecgh_go-spew_@v_v1.1.0.mod) = eee11d0ec5d2260dc11d9bfe8f9d523e54530b71cc8357f43c0214b3b74bef5c
+SHA512 (github.com_davecgh_go-spew_@v_v1.1.0.mod) = 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
+Size (github.com_davecgh_go-spew_@v_v1.1.0.mod) = 34 bytes
+BLAKE2s (github.com_davecgh_go-spew_@v_v1.1.1.mod) = eee11d0ec5d2260dc11d9bfe8f9d523e54530b71cc8357f43c0214b3b74bef5c
+SHA512 (github.com_davecgh_go-spew_@v_v1.1.1.mod) = 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
+Size (github.com_davecgh_go-spew_@v_v1.1.1.mod) = 34 bytes
+BLAKE2s (github.com_pmezard_go-difflib_@v_v1.0.0.mod) = 365dee34dcd09f0fbcccb2fff0be74a00fe71a80b9104b1ad3a3c199a48f5a28
+SHA512 (github.com_pmezard_go-difflib_@v_v1.0.0.mod) = c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902
+Size (github.com_pmezard_go-difflib_@v_v1.0.0.mod) = 37 bytes
+BLAKE2s (github.com_russross_blackfriday_v2_@v_v2.1.0.mod) = f0bc812b934149988d4ab1dcc12c2c63777f0a0d18126b5cba0e35ea880b775b
+SHA512 (github.com_russross_blackfriday_v2_@v_v2.1.0.mod) = ac376a387fa39fe35dc4d073d8becd74e79f52e9d36b0a6628740dfe0e7c1f4fb6533fc262212663b105afcaa104082e055fa87d20cb3068359faae6dcba7738
+Size (github.com_russross_blackfriday_v2_@v_v2.1.0.mod) = 42 bytes
+BLAKE2s (github.com_russross_blackfriday_v2_@v_v2.1.0.zip) = 85686101dbbeab3cb9c505afd1304dbe587d6fd5c029748e5d8aaafba881f0c5
+SHA512 (github.com_russross_blackfriday_v2_@v_v2.1.0.zip) = 11e29cdd7a8baee7995009755582c26eb819efd715e9dfa1442b5743c7bf5752188f0fa8f5ddb3452f05f371a280324406410b683609f6a510277d3e03b30ca0
+Size (github.com_russross_blackfriday_v2_@v_v2.1.0.zip) = 122358 bytes
+BLAKE2s (github.com_sirupsen_logrus_@v_v1.9.3.mod) = 6e794dcec8d67bf1b0f0c0cb15ca681fb93ff263c23a2e13a04039a290efcc5c
+SHA512 (github.com_sirupsen_logrus_@v_v1.9.3.mod) = f3636346810370d6b8945a861132310af71deba014726e3fd53fbf3fbe0dcd7b2aba6ec33a1aa716cdc674a21777297b09448db4e24edd242b3ef6e10990652d
+Size (github.com_sirupsen_logrus_@v_v1.9.3.mod) = 192 bytes
+BLAKE2s (github.com_sirupsen_logrus_@v_v1.9.3.zip) = 9cddd8d422ba69d68d62b05826fc1162478fb9344d974ca0f7d4e217b7f86f5f
+SHA512 (github.com_sirupsen_logrus_@v_v1.9.3.zip) = 1b342b0022c427eda4ba3a5b326289c1b35197b803c8498eb24a34dc79df97d1533a4477b43e813f6dc8989d252b669958dbb5e4ee41afa63947e547855c6f37
+Size (github.com_sirupsen_logrus_@v_v1.9.3.zip) = 69937 bytes
+BLAKE2s (github.com_stretchr_objx_@v_v0.1.0.mod) = 1eb73df00a63ad02b651d13ef6fec7b4842f22c3ecf50546104fddb717aa1c0b
+SHA512 (github.com_stretchr_objx_@v_v0.1.0.mod) = 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
+Size (github.com_stretchr_objx_@v_v0.1.0.mod) = 32 bytes
+BLAKE2s (github.com_stretchr_testify_@v_v1.7.0.mod) = 8f7c927dae69fdeb23ce71b39268d84489f12c4cb4cb30e23a564754fde44db8
+SHA512 (github.com_stretchr_testify_@v_v1.7.0.mod) = 197e6ef15edb27ded67ccfb636c252fe522f0930ff012341a4b593f25b5dd8282e4f658970931cfdeb8f2c5ee0b4ebac6738fe7634bf00896d12270fcbf4b31b
+Size (github.com_stretchr_testify_@v_v1.7.0.mod) = 216 bytes
+BLAKE2s (github.com_urfave_cli_v2_@v_v2.27.3.mod) = 8c84f006ad7a0cc84674b1165a5aff93e4161e0d37284aa68a975de01c4be519
+SHA512 (github.com_urfave_cli_v2_@v_v2.27.3.mod) = 275f3ed6ca4415bac5ff20f6b6f453b42ea5fbcfe34817336d2cdf009e2bb4e4a3ee021e4b04f64394a8faa3e7167b42afe5d0562442d92dd777e8435a413c94
+Size (github.com_urfave_cli_v2_@v_v2.27.3.mod) = 280 bytes
+BLAKE2s (github.com_urfave_cli_v2_@v_v2.27.3.zip) = ea33c90e970c2147f326d0051e4f1b492e0a8fa275727ffc4bcefe7307581462
+SHA512 (github.com_urfave_cli_v2_@v_v2.27.3.zip) = b8c0faf51db314f7339a379aa374a373fbbd6033dac8ec2d93f6fa29711fa760d4dc9a1c7093a129118d8457d0ea96a609da2a73d169d1651855ffb2c400f3db
+Size (github.com_urfave_cli_v2_@v_v2.27.3.zip) = 3552767 bytes
+BLAKE2s (github.com_xrash_smetrics_@v_v0.0.0-20240521201337-686a1a2994c1.mod) = 318d56fd2da0790733a56ce16cb1ec1fac3abecc2a31be420c28bc13a61b48fa
+SHA512 (github.com_xrash_smetrics_@v_v0.0.0-20240521201337-686a1a2994c1.mod) = 
a09753846e5a63cbc864d060ad86693a12f80e129073d0e1b70d02bd0794793d42a04b6159ca412ec0b7b1357f4dab970f25b20344b2deb348513c208e0bfa56
+Size (github.com_xrash_smetrics_@v_v0.0.0-20240521201337-686a1a2994c1.mod) = 42 bytes
+BLAKE2s (github.com_xrash_smetrics_@v_v0.0.0-20240521201337-686a1a2994c1.zip) = d208633317875872319d36771d9feeec84a5069101b62aa88bfee784865925ec
+SHA512 (github.com_xrash_smetrics_@v_v0.0.0-20240521201337-686a1a2994c1.zip) = 
821897f1f7d0397382f31bd8b191fd68aa18adb0b44f409f7c20db63c55eb38201d12a2d97b8891f3c51eaadfc7b007bf1ce3da97a3ceb19c2cd72d95d434169
+Size (github.com_xrash_smetrics_@v_v0.0.0-20240521201337-686a1a2994c1.zip) = 1826468 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20220715151400-c0bba94af5f8.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
+SHA512 (golang.org_x_sys_@v_v0.0.0-20220715151400-c0bba94af5f8.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+Size (golang.org_x_sys_@v_v0.0.0-20220715151400-c0bba94af5f8.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20220715151400-c0bba94af5f8.zip) = 87c4cd3324bf5ab2a4a5711e3135c2e4457516e6b792d8d83782987ece9ed764
+SHA512 (golang.org_x_sys_@v_v0.0.0-20220715151400-c0bba94af5f8.zip) = f1e8d9e05286a796ddf5c35dfc2478c6bbd031f868373eea883633c91e8227a2fbf81f0665780e35edd324599b1f9e5c18c24c91f6134a8273ade428ce853a8a
+Size (golang.org_x_sys_@v_v0.0.0-20220715151400-c0bba94af5f8.zip) = 1798284 bytes
+BLAKE2s (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 35cd1964700502d06b8c987979fb4dbddc41a5cda3368d037211b89d3587521f
+SHA512 (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
+Size (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 25 bytes
+BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.0-20200313102051-9f266ea9e77c.mod) = 17da54ba1894b4653d4c1ab1ae6e9fe03928a96c69cdc8db6b6ea9e34d673991
+SHA512 (gopkg.in_yaml.v3_@v_v3.0.0-20200313102051-9f266ea9e77c.mod) = 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d
+Size (gopkg.in_yaml.v3_@v_v3.0.0-20200313102051-9f266ea9e77c.mod) = 95 bytes
Index: pkgsrc/devel/compiledb-go/go-modules.mk
diff -u /dev/null pkgsrc/devel/compiledb-go/go-modules.mk:1.1
--- /dev/null   Fri Aug  9 18:51:28 2024
+++ pkgsrc/devel/compiledb-go/go-modules.mk     Fri Aug  9 18:51:28 2024
@@ -0,0 +1,21 @@
+# $NetBSD: go-modules.mk,v 1.1 2024/08/09 18:51:28 wiz Exp $
+
+GO_MODULE_FILES+=      github.com/cpuguy83/go-md2man/v2/@v/v2.0.4.mod
+GO_MODULE_FILES+=      github.com/cpuguy83/go-md2man/v2/@v/v2.0.4.zip
+GO_MODULE_FILES+=      github.com/davecgh/go-spew/@v/v1.1.0.mod
+GO_MODULE_FILES+=      github.com/davecgh/go-spew/@v/v1.1.1.mod
+GO_MODULE_FILES+=      github.com/pmezard/go-difflib/@v/v1.0.0.mod
+GO_MODULE_FILES+=      github.com/russross/blackfriday/v2/@v/v2.1.0.mod
+GO_MODULE_FILES+=      github.com/russross/blackfriday/v2/@v/v2.1.0.zip
+GO_MODULE_FILES+=      github.com/sirupsen/logrus/@v/v1.9.3.mod
+GO_MODULE_FILES+=      github.com/sirupsen/logrus/@v/v1.9.3.zip
+GO_MODULE_FILES+=      github.com/stretchr/objx/@v/v0.1.0.mod
+GO_MODULE_FILES+=      github.com/stretchr/testify/@v/v1.7.0.mod
+GO_MODULE_FILES+=      github.com/urfave/cli/v2/@v/v2.27.3.mod
+GO_MODULE_FILES+=      github.com/urfave/cli/v2/@v/v2.27.3.zip
+GO_MODULE_FILES+=      github.com/xrash/smetrics/@v/v0.0.0-20240521201337-686a1a2994c1.mod
+GO_MODULE_FILES+=      github.com/xrash/smetrics/@v/v0.0.0-20240521201337-686a1a2994c1.zip
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220715151400-c0bba94af5f8.mod
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220715151400-c0bba94af5f8.zip
+GO_MODULE_FILES+=      gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod
+GO_MODULE_FILES+=      gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.mod



Home | Main Index | Thread Index | Old Index