Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: profiles/updates/, app-misc/pup/, app-misc/pup-bin/
Date: Sun, 02 May 2021 09:27:24
Message-Id: 1619921980.f8754ebfe76d95831b69a49ba744693852495cd6.telans@gentoo
1 commit: f8754ebfe76d95831b69a49ba744693852495cd6
2 Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in>
3 AuthorDate: Sun May 2 01:59:32 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Sun May 2 02:19:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8754ebf
7
8 app-misc/pup: replace app-misc/pup-bin
9
10 Closes: https://bugs.gentoo.org/780771
11 Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>
12
13 app-misc/pup-bin/Manifest | 1 -
14 app-misc/pup-bin/metadata.xml | 8 -------
15 app-misc/pup-bin/pup-bin-0.4.0.ebuild | 26 ----------------------
16 app-misc/pup/Manifest | 13 +++++++++++
17 app-misc/pup/metadata.xml | 16 +++++++++++++
18 app-misc/pup/pup-0.4.0_p1.ebuild | 42 +++++++++++++++++++++++++++++++++++
19 profiles/updates/2Q-2021 | 1 +
20 7 files changed, 72 insertions(+), 35 deletions(-)
21
22 diff --git a/app-misc/pup-bin/Manifest b/app-misc/pup-bin/Manifest
23 deleted file mode 100644
24 index 08e54b93f..000000000
25 --- a/app-misc/pup-bin/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST pup_v0.4.0_linux_amd64.zip 1718186 BLAKE2B 07f96a42e2f58db882f96c624ed7748efcd3d978a4d806b87d03fd40157baf492a2484cf37b4dd854b689e2d29ec87a213ce627ea42dc87d3d17f7fdc9b70f74 SHA512 a395ed85e45db60c0b4142423d7938cbbb28346946b92cfc43625828aaf87ca70fe841ad15ee85cb7070889097c480368befe64acf6d736849e97c67b09b1cca
29
30 diff --git a/app-misc/pup-bin/metadata.xml b/app-misc/pup-bin/metadata.xml
31 deleted file mode 100644
32 index ad8cead24..000000000
33 --- a/app-misc/pup-bin/metadata.xml
34 +++ /dev/null
35 @@ -1,8 +0,0 @@
36 -<?xml version="1.0" encoding="UTF-8"?>
37 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 -<pkgmetadata>
39 - <maintainer type="person">
40 - <email>svdm-gentoo@××××××××××.com</email>
41 - <name>Simon van der Maas</name>
42 - </maintainer>
43 -</pkgmetadata>
44
45 diff --git a/app-misc/pup-bin/pup-bin-0.4.0.ebuild b/app-misc/pup-bin/pup-bin-0.4.0.ebuild
46 deleted file mode 100644
47 index 0e7e03b4a..000000000
48 --- a/app-misc/pup-bin/pup-bin-0.4.0.ebuild
49 +++ /dev/null
50 @@ -1,26 +0,0 @@
51 -# Copyright 2021 Gentoo Authors
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=7
55 -
56 -inherit unpacker
57 -
58 -DESCRIPTION="Parsing HTML at the command line"
59 -HOMEPAGE="https://github.com/ericchiang/pup"
60 -SRC_URI="https://github.com/ericchiang/pup/releases/download/v${PV}/pup_v${PV}_linux_amd64.zip"
61 -
62 -S="${WORKDIR}"
63 -
64 -LICENSE="MIT"
65 -SLOT="0"
66 -KEYWORDS="~amd64"
67 -
68 -BDEPEND="app-arch/unzip"
69 -
70 -src_configure() {
71 - unpack_zip "${DISTDIR}"/pup_v"${PV}"_linux_amd64.zip
72 -}
73 -
74 -src_install() {
75 - dobin pup
76 -}
77
78 diff --git a/app-misc/pup/Manifest b/app-misc/pup/Manifest
79 new file mode 100644
80 index 000000000..ccdd4eb6b
81 --- /dev/null
82 +++ b/app-misc/pup/Manifest
83 @@ -0,0 +1,13 @@
84 +DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.0.0.mod 30 BLAKE2B cdd74965525563fa7e3db19aae87c777b2de65faeaf2987957ea3bb4c0c6a91ab82fe02bfeeab4d6f523214bc2e929628c082edb967d49309e75483ff4c3bb41 SHA512 2dfc66b2f6accb7ecaccc48cb3daa338173f4751d954cb2912025d881f17a7a2df0457b2d7420f2d93b50519a2437a763450c4d639a26b3289fce7bdec5bb144
85 +DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.0.0.zip 9085 BLAKE2B 473d6d43654ad58c2a0d678e3d21b3a9cfb4c99020e80ac1dc747f14a9b298439e9ce3dc1b19b7e23dd7a423e51fdd5eec313e38723f958bcce35c2fcdb851ca SHA512 687ac62c96307c003e0feea0ba2f1d469548ccac9b4d0aacb71cc034c014e0adf2e0a28a7bf205ce83cc2b26ed74cf5bb33ae0758c7be52f583ff1d2ce82754b
86 +DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.0.5.mod 37 BLAKE2B 6bd675a05c0bb6f9dc12d09203d13de115801888cf8c02cb5d609f72d214b7e7ebf13a72ddfa2eb9172e9c2ba1f3e5a040f089a86ce9fe873d49288d5f7dc5a7 SHA512 3cc3ae26618b96a0fc076b18bab6f8f0f6a1064d6a9913c1015a9867fd3571d17f5d2867d72cec008e9bc7005883a596edb21424084f82ad5b572443de90f976
87 +DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.0.5.zip 7302 BLAKE2B 2722f5249f5d879861a664c202ab50c4f3df021f581acc9eb907b266f6d485848314f8ee158b64fa39495a84f1488a9de420debf0f4e620a621542b30de55da5 SHA512 99bcbef68f31a7b3cddb4bcdf9798156e425693ce5162eb94a9dde907734c32b3b22306015800543cfe90f85091b38d3c27d9ea4bb3fad062d0e61ac2a7a0500
88 +DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.0-20151211000621-56b76bdf51f7.mod 34 BLAKE2B 55253c2475bc0169df729915bc92689eaad2908ff7b9dd81b8a553bd75d5f866c308a85fd69d664d31b0d2d373d8d52ee1701677cbebb07e361612ab8cf17f2a SHA512 00c272b4652db259c46875641b29489ecada2602e38beede8c8bd529d73b6e123bff58f8e0f8cadd2d680a6a5485aadffa448e9445548abbd2fb424b059a31e1
89 +DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.0-20151211000621-56b76bdf51f7.zip 4529 BLAKE2B 1ae58005cb5045b50c34d312340a3b5910ec1c92159bbdc36faa45c91b6039f91f5f1dd1bbe13978b0da38be1372328a191ea264685eb3a689b8b3588b9c2bae SHA512 5ea50e219f9f6135ddd5c602eb0bde954fae805aa0c43f0f40f04cd047a3067e92984678cc1a399a3cb404eca3329982eb9bde26ce76d6ee9d8ce5bc24ad8e59
90 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20160720084139-4d38db76854b.mod 24 BLAKE2B dad51d0aff48ef669f448f7b41bcdb153dbdc48863761ba1cac6aa3e3eaeec838e22733e6c61796b22bcc95d9e0a274085676bf191a8072717a398a067fe9e62 SHA512 d7446d3dd844b97512470f7ff05fce72d099f7800396e2738a54d41796f0f76be07e7aea1f638fee0190c7d8ce65eefc54eebe6917a06d14da04d0c9c8f9891a
91 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20160720084139-4d38db76854b.zip 997252 BLAKE2B a31cecb3478f7909e927d7b92fac55544c2c608002b0ba3496a559634fb93364465e2c291253238045349a0e63bd64ab91f1b296aa3a9bf710c360ce783a47cb SHA512 3e99dca6e76b8432e142cf81defb806c98d0c6f29eba7798d00a2c004b241b311a1e224cb394b2a951337a40c91e4293b9259d11cf4690b185254f72e9a59cc1
92 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20160717071931-a646d33e2ee3.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
93 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20160717071931-a646d33e2ee3.zip 856605 BLAKE2B 7f9f783bae3f98715536855bfe6d5e889150ac796915599f4eb10bc100919cdbcb03034f816d55ed9ffdd8cc209bfcca1b901b8b15ca592520ffd0e20aa7879c SHA512 746c0254932cf8b4d0ed4b1950e9f82133409c600d6e550e6af92493eb67fb92bd742bd38ca81c6d74bd2b7202811a3b81d31ea464cafc0f37e11f0261b451f4
94 +DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.0.0-20160719205907-0a5a09ee4409.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
95 +DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.0.0-20160719205907-0a5a09ee4409.zip 4266299 BLAKE2B d6f4fb7b7d8c1bcdede7b5671044c5f032a3e66c4c4a55825b86714dc2143526b67d1bec1cca7d8b196cc4e819eda8ac199b0e794ccd900f36cf79d4ac2e541d SHA512 3244eee54399d4f659823df0b3258bacda2e26bbb6fa90b54b2d36d3dbb7aaaa3d331f7821d4efa2539185e999db28dc5a702b4ba8ea2839186a7812e969d426
96 +DIST pup-0.4.0_p1.tar.gz 1517147 BLAKE2B c3449382027988288aa30c8d4e26286658bdcf4042a23432ec481fde3d02d0225fc38786c085909d2fbde62467c0cf3b004edbcac78ac939de401f7ede8c5b26 SHA512 227431f0b0a2ef6d289f7807e1949d478553aa05a3d84566a73fd54ada47ad73d000036e0041ffdd8c197d814afce117e38c783f72e92a5406cbc267638ae4f7
97
98 diff --git a/app-misc/pup/metadata.xml b/app-misc/pup/metadata.xml
99 new file mode 100644
100 index 000000000..e4f70dbb6
101 --- /dev/null
102 +++ b/app-misc/pup/metadata.xml
103 @@ -0,0 +1,16 @@
104 +<?xml version="1.0" encoding="UTF-8"?>
105 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
106 +<pkgmetadata>
107 + <upstream>
108 + <maintainer>
109 + <name>Eric Chiang</name>
110 + <email>eric.chiang.m@×××××.com</email>
111 + </maintainer>
112 + <bugs-to>https://github.com/ericchiang/pup/issues</bugs-to>
113 + <remote-id type="github">ericchiang/pup</remote-id>
114 + </upstream>
115 + <maintainer type="person">
116 + <email>cyber+gentoo@×××××.in</email>
117 + <name>Anna</name>
118 + </maintainer>
119 +</pkgmetadata>
120
121 diff --git a/app-misc/pup/pup-0.4.0_p1.ebuild b/app-misc/pup/pup-0.4.0_p1.ebuild
122 new file mode 100644
123 index 000000000..fd132deeb
124 --- /dev/null
125 +++ b/app-misc/pup/pup-0.4.0_p1.ebuild
126 @@ -0,0 +1,42 @@
127 +# Copyright 2021 Gentoo Authors
128 +# Distributed under the terms of the GNU General Public License v2
129 +
130 +EAPI=7
131 +
132 +inherit go-module
133 +
134 +EGO_SUM=(
135 + "github.com/fatih/color v1.0.0"
136 + "github.com/fatih/color v1.0.0/go.mod"
137 + "github.com/mattn/go-colorable v0.0.5"
138 + "github.com/mattn/go-colorable v0.0.5/go.mod"
139 + "github.com/mattn/go-isatty v0.0.0-20151211000621-56b76bdf51f7"
140 + "github.com/mattn/go-isatty v0.0.0-20151211000621-56b76bdf51f7/go.mod"
141 + "golang.org/x/net v0.0.0-20160720084139-4d38db76854b"
142 + "golang.org/x/net v0.0.0-20160720084139-4d38db76854b/go.mod"
143 + "golang.org/x/sys v0.0.0-20160717071931-a646d33e2ee3"
144 + "golang.org/x/sys v0.0.0-20160717071931-a646d33e2ee3/go.mod"
145 + "golang.org/x/text v0.0.0-20160719205907-0a5a09ee4409"
146 + "golang.org/x/text v0.0.0-20160719205907-0a5a09ee4409/go.mod"
147 +)
148 +
149 +go-module_set_globals
150 +
151 +COMMIT="681d7bb639334bf485476f5872c5bdab10931f9a"
152 +DESCRIPTION="Parsing HTML at the command line"
153 +HOMEPAGE="https://github.com/ericchiang/pup"
154 +SRC_URI="https://github.com/ericchiang/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
155 + ${EGO_SUM_SRC_URI}"
156 +S="${WORKDIR}/${PN}-${COMMIT}"
157 +
158 +LICENSE="BSD MIT"
159 +SLOT="0"
160 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
161 +
162 +src_compile() {
163 + go build -o ${PN} . || die
164 +}
165 +
166 +src_install() {
167 + dobin ${PN}
168 +}
169
170 diff --git a/profiles/updates/2Q-2021 b/profiles/updates/2Q-2021
171 index 44d0a9f43..e967d63f8 100644
172 --- a/profiles/updates/2Q-2021
173 +++ b/profiles/updates/2Q-2021
174 @@ -1,2 +1,3 @@
175 move sys-apps/nq sys-process/nq
176 move www-client/browsh-bin www-client/browsh
177 +move app-misc/pup-bin app-misc/pup