Gentoo Archives: gentoo-commits

From: Randall Vasquez <ran.dall@××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/shfmt/
Date: Sat, 30 Jul 2022 16:30:27
Message-Id: 1659198577.e86df47ed839b988490678e24b472e666d6d400a.ran.dall@gentoo
1 commit: e86df47ed839b988490678e24b472e666d6d400a
2 Author: Randall T. Vasquez <ran.dall <AT> icloud <DOT> com>
3 AuthorDate: Sat Jul 30 16:27:57 2022 +0000
4 Commit: Randall Vasquez <ran.dall <AT> icloud <DOT> com>
5 CommitDate: Sat Jul 30 16:29:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e86df47e
7
8 dev-util/shfmt: drop ebuilds
9
10 `dev-util/sh` is now available in ::gentoo
11
12 Signed-off-by: Randall T. Vasquez <ran.dall <AT> icloud.com>
13
14 dev-util/shfmt/Manifest | 2 --
15 dev-util/shfmt/metadata.xml | 14 -----------
16 dev-util/shfmt/shfmt-3.5.1.ebuild | 50 ---------------------------------------
17 dev-util/shfmt/shfmt-9999.ebuild | 50 ---------------------------------------
18 4 files changed, 116 deletions(-)
19
20 diff --git a/dev-util/shfmt/Manifest b/dev-util/shfmt/Manifest
21 deleted file mode 100644
22 index 5363e0a6e..000000000
23 --- a/dev-util/shfmt/Manifest
24 +++ /dev/null
25 @@ -1,2 +0,0 @@
26 -DIST shfmt-3.5.1-deps.tar.xz 3117092 BLAKE2B 13e85d2b737f80f1c90201e7d035fb01bb624e396ccf292d00e5c8c19da8209c69ecff88ce334ba0de8e7bbf4243be58cbcea21ee99166285f2738f0036862c9 SHA512 24791e7798fdfe69e76117785b5d469742f680c2ed7d186cb580e55776e5e011ab907be882f6394b9f84f82717611a28f9e72ec5280d6a9d7e89f629bb4a378a
27 -DIST shfmt-3.5.1.tar.gz 222608 BLAKE2B a81af092d0f8d0ee7c05240d816a99f044bce3e35d242a815a238a27893db5bfc320efc4a0237ca9ecfa0276e4687152c87f6e0170f5326e2d0a8604f94f6adb SHA512 fd1084921254b70376b3ac47b97e2108308252fa6bd23aff1e59aaefb45a7e01c1738a46ae6f4eb255ecade77fb9659fbc8184d2473e8e4f70e520757bad506d
28
29 diff --git a/dev-util/shfmt/metadata.xml b/dev-util/shfmt/metadata.xml
30 deleted file mode 100644
31 index 898031468..000000000
32 --- a/dev-util/shfmt/metadata.xml
33 +++ /dev/null
34 @@ -1,14 +0,0 @@
35 -<?xml version="1.0" encoding="utf-8"?>
36 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 -<pkgmetadata>
38 - <maintainer type="person">
39 - <email>ran.dall@××××××.com</email>
40 - <name>Randall Vasquez</name>
41 - </maintainer>
42 - <longdescription lang="en">
43 - A shell parser, formatter, and interpreter with bash support; includes shfmt. Supports POSIX Shell, Bash, and mksh.
44 - </longdescription>
45 - <upstream>
46 - <remote-id type="github">mvdan/sh</remote-id>
47 - </upstream>
48 -</pkgmetadata>
49
50 diff --git a/dev-util/shfmt/shfmt-3.5.1.ebuild b/dev-util/shfmt/shfmt-3.5.1.ebuild
51 deleted file mode 100644
52 index 96a20587a..000000000
53 --- a/dev-util/shfmt/shfmt-3.5.1.ebuild
54 +++ /dev/null
55 @@ -1,50 +0,0 @@
56 -# Copyright 2020-2022 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=8
60 -
61 -inherit go-module
62 -
63 -DESCRIPTION="Shell script formatter"
64 -HOMEPAGE="https://github.com/mvdan/sh"
65 -if [[ ${PV} == *9999 ]]; then
66 - inherit git-r3
67 - EGIT_REPO_URI="https://github.com/mvdan/sh.git"
68 - RESTRICT="fetch mirror test"
69 -else
70 - SRC_URI="https://github.com/mvdan/sh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
71 - SRC_URI+=" https://github.com/ran-dall/portage-deps/raw/master/${P}-deps.tar.xz"
72 - KEYWORDS="~amd64 ~arm64 ~x86"
73 - RESTRICT="mirror test"
74 - S="${WORKDIR}/${PN//fmt}-${PV}"
75 -fi
76 -
77 -LICENSE="MIT"
78 -SLOT="0"
79 -IUSE="+man"
80 -
81 -BDEPEND="man? ( app-text/scdoc )"
82 -
83 -src_unpack() {
84 - default
85 - if [[ ${PV} == *9999 ]]; then
86 - git-r3_src_unpack
87 - go-module_live_vendor
88 - else
89 - go-module_src_unpack
90 - fi
91 -}
92 -
93 -src_compile() {
94 - ego build -v -ldflags "-s -w" -o "${PN}" "./cmd/shfmt"
95 - if use man; then
96 - scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1 || die "conversation of man page failed"
97 - fi
98 -}
99 -
100 -src_install() {
101 - dobin ${PN}
102 - if use man; then
103 - doman shfmt.1
104 - fi
105 -}
106
107 diff --git a/dev-util/shfmt/shfmt-9999.ebuild b/dev-util/shfmt/shfmt-9999.ebuild
108 deleted file mode 100644
109 index 96a20587a..000000000
110 --- a/dev-util/shfmt/shfmt-9999.ebuild
111 +++ /dev/null
112 @@ -1,50 +0,0 @@
113 -# Copyright 2020-2022 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=8
117 -
118 -inherit go-module
119 -
120 -DESCRIPTION="Shell script formatter"
121 -HOMEPAGE="https://github.com/mvdan/sh"
122 -if [[ ${PV} == *9999 ]]; then
123 - inherit git-r3
124 - EGIT_REPO_URI="https://github.com/mvdan/sh.git"
125 - RESTRICT="fetch mirror test"
126 -else
127 - SRC_URI="https://github.com/mvdan/sh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
128 - SRC_URI+=" https://github.com/ran-dall/portage-deps/raw/master/${P}-deps.tar.xz"
129 - KEYWORDS="~amd64 ~arm64 ~x86"
130 - RESTRICT="mirror test"
131 - S="${WORKDIR}/${PN//fmt}-${PV}"
132 -fi
133 -
134 -LICENSE="MIT"
135 -SLOT="0"
136 -IUSE="+man"
137 -
138 -BDEPEND="man? ( app-text/scdoc )"
139 -
140 -src_unpack() {
141 - default
142 - if [[ ${PV} == *9999 ]]; then
143 - git-r3_src_unpack
144 - go-module_live_vendor
145 - else
146 - go-module_src_unpack
147 - fi
148 -}
149 -
150 -src_compile() {
151 - ego build -v -ldflags "-s -w" -o "${PN}" "./cmd/shfmt"
152 - if use man; then
153 - scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1 || die "conversation of man page failed"
154 - fi
155 -}
156 -
157 -src_install() {
158 - dobin ${PN}
159 - if use man; then
160 - doman shfmt.1
161 - fi
162 -}