diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-08-25 18:11:48 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-08-25 21:41:37 +0200 |
commit | 14632293c88682b51a0d8771e153fa3f13143bc2 (patch) | |
tree | 8af1230e27d83d493971d1d4ed017b853310d16c /dev-vcs/git-sizer | |
parent | dev-python/uncertainties: use distutils_enable_sphinx for doc gen (diff) | |
download | gentoo-14632293c88682b51a0d8771e153fa3f13143bc2.tar.gz gentoo-14632293c88682b51a0d8771e153fa3f13143bc2.tar.bz2 gentoo-14632293c88682b51a0d8771e153fa3f13143bc2.zip |
dev-vcs/git-sizer: Initial import
Ebuild contributed by me.
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-vcs/git-sizer')
-rw-r--r-- | dev-vcs/git-sizer/Manifest | 18 | ||||
-rw-r--r-- | dev-vcs/git-sizer/git-sizer-1.4.0.ebuild | 48 | ||||
-rw-r--r-- | dev-vcs/git-sizer/metadata.xml | 10 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-vcs/git-sizer/Manifest b/dev-vcs/git-sizer/Manifest new file mode 100644 index 000000000000..89215d13c8d0 --- /dev/null +++ b/dev-vcs/git-sizer/Manifest @@ -0,0 +1,18 @@ +DIST git-sizer-1.4.0.tar.gz 40928 BLAKE2B 97ed9042b2c4cd44f11a6cd2dde072855bc84c2a8208eb2ffc9fffe64a083289b7917618a65819d90233d3fad51c6c560f295f1525605f745f6aeb05c0807c74 SHA512 4ef10ab9b01e3228a6899972a4964d9fb0a5ea4b8f1516f3753cb92f12de346a95908046a89b491fa766afd262c1befd15d7f5654701afb31faa1db07b0c96f4 +DIST github.com%2Fcli%2Fsafeexec%2F@v%2Fv1.0.0.mod 40 BLAKE2B 7ab19e087a8058fa51d0e17ecfe123b7187acfddc96633385d54e68cd4522de69b5005da6f6f47970cf92a0c1f6164c2dfd439b620fa51c0d64d13dc0945bf05 SHA512 427d6b45641cc39b572963ab5d482860e50d5727ea8591598787d0bcdf00ca5cb12d24dd28bbbac45855f38d07d07bc686af5276f75ff5b0f6fc94eaffce150a +DIST github.com%2Fcli%2Fsafeexec%2F@v%2Fv1.0.0.zip 6901 BLAKE2B fefb4882a93946812fc98c20dbb38cc8172fd207742552d233f3a3076de1da102a58188662e14bb86cb1b1b1ff50b898e0642f151c42f3cb13eb19d02e83cd14 SHA512 7b037e25dcc46063606f753e419143a8baa19a817fead39f7322370f8f4cc8abb3937c8790db85799d8a86582c0dbd9e7f2ef74408d837ecc646f23bec2bc6ad +DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e +DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e +DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.zip 60320 BLAKE2B 86bdbc333e5c23ccf4f805945ca9f2aecc5c242d2ae824d20127eceaa2bf7bbab239ff2799572a2c8fa206166a36e97d5eccc8fc5021743d8ad32f39cd53b9eb SHA512 7b4e4df2fea731e23e05437f26f24e32b2e99028d685b72e3a726c1cb616ada4a77ca4fb9db4a6fae48178cc5172e724b74499bc776d63a9110cb97377d5edeb +DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902 +DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2 +DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.5.mod 39 BLAKE2B c9d700f96874e0a3977c2ffc7fd321acfffd8081aaa70ca50421ca55253fbe0636d48eca8f7093df202861f0a5f908fa00303533232c83c78bdba84e2973bba7 SHA512 8071c316d33aff1d8ffcabaeb42e8f9320465d83600cb57ac5ef071569f948d5cfd69e1bd2e92855c061395c1b814e84d1705f42e37f00d5bc713b6e724f29f5 +DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.5.zip 88931 BLAKE2B 7adcdaa60d4a3fd99b0f3e7e6888178b0a8d141ebcc0166b12df4bd4566500929bc792c391d33201b1ce215b6ca8ebb578cfcabb027ba453a54986270f5e37a1 SHA512 9a81f0635ca8ac059c48a15cbf625a7c91513f95a9b402ba166d48ab72d5d38cbd941d5309446f5637bd7c23eef35b60fef2f06e8b557f415dd8409a6ddf43e9 +DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5 +DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.4.0.mod 179 BLAKE2B 3bb7cee3118f0d335ade107dfefc3a594dc3883564fe4c9e96d615e179d394a49a3d6cd6584ba9c684772bc3dc6479af6a168dd3841c03957252667384f6ba11 SHA512 243bf1f69c146252164ad72f853773dcc77f15d7c9e9b731bee26a95e7c8f4ce9ed9738db601b01edb82f4b3808873e1f153a6d4a0c97be0babbe65abc0f8d52 +DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.4.0.zip 90474 BLAKE2B 2f79f0cac2c15acaeae764aeb640534f58ec2ae86fe88a82533498e718cf37d67c563606090ad39b38e22ffca1e63a25cd881d6a472b862ddaf150c7d329b16a SHA512 a047ba8d5f529d459fb6ae8dd39367e6f6cd2e785e90f54a5f8759ff76e4cfff990f1b8c1e0cf49c67b97ca8de36ecf8fdeb3b8f16e579aeae2d563d38da69db +DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2 +DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip 39844 BLAKE2B b3dab69dbd1ebb999938c12595de7007dce9431cfeaeb5e77aba80c49918d1a4edf7fb95279e9b66686cb45deaf57a011c083e55fb66ec2c614582ba323954da SHA512 97c96a92ec86372c2f06141c30bceaa86ed62c1db34696f9542f43f3411cb0a37dea654de923a5ee054e603198179b9048e3b477da140e4092ffadc4525b9241 +DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.2.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 +DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.7.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 +DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.7.zip 80579 BLAKE2B d5de9f0dbf72902ec2244971ef1d62790008d5686ec66b67ca5ded08503168e507d7afdbc38fbfe3b431432e32d2c79540e407a2916ea93de24d45040262366a SHA512 c4a38c485edfd1773be4d3b3dd97c475b1894603526f5d95b40a3ba34b148f3979f0983444009d716e106fea0a2362836a5277f49ea21f764a55279f343a3920 diff --git a/dev-vcs/git-sizer/git-sizer-1.4.0.ebuild b/dev-vcs/git-sizer/git-sizer-1.4.0.ebuild new file mode 100644 index 000000000000..c6754888f716 --- /dev/null +++ b/dev-vcs/git-sizer/git-sizer-1.4.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +EGO_SUM=( + "github.com/cli/safeexec v1.0.0" # BSD-2 + "github.com/cli/safeexec v1.0.0/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" # ISC + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/pmezard/go-difflib v1.0.0" # BSD + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/spf13/pflag v1.0.5" # BSD + "github.com/spf13/pflag v1.0.5/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" # MIT + "github.com/stretchr/testify v1.4.0" # MIT + "github.com/stretchr/testify v1.4.0/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405" # BSD-2 + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/yaml.v2 v2.2.2/go.mod" + "gopkg.in/yaml.v2 v2.2.7" # Apache-2.0 + "gopkg.in/yaml.v2 v2.2.7/go.mod" +) +go-module_set_globals + +DESCRIPTION="Compute various size metrics for a Git repository" +HOMEPAGE="https://github.com/github/git-sizer" +SRC_URI="https://github.com/github/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="MIT Apache-2.0 BSD BSD-2 ISC" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" # tests work only in git repo + +RDEPEND="dev-vcs/git" + +src_compile() { + emake GOFLAGS="${GOFLAGS} -ldflags=-X=main.BuildVersion=v${PV}" +} + +src_install() { + dobin bin/git-sizer + dodoc README.md CONTRIBUTING.md +} diff --git a/dev-vcs/git-sizer/metadata.xml b/dev-vcs/git-sizer/metadata.xml new file mode 100644 index 000000000000..e302d8462331 --- /dev/null +++ b/dev-vcs/git-sizer/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ulm@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">github/git-sizer</remote-id> + </upstream> +</pkgmetadata> |