Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/pgo/
Date: Tue, 01 Sep 2020 11:03:03
Message-Id: 1598958135.a4e4d69813047ce889b12caf0178270c399335a6.zlogene@gentoo
1 commit: a4e4d69813047ce889b12caf0178270c399335a6
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 1 11:01:30 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 11:02:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4e4d698
7
8 app-portage/pgo: Initial import
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.23
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 app-portage/pgo/Manifest | 1 +
14 app-portage/pgo/metadata.xml | 21 +++++++++++++++++++++
15 app-portage/pgo/pgo-0.0.2.ebuild | 27 +++++++++++++++++++++++++++
16 app-portage/pgo/pgo-9999.ebuild | 27 +++++++++++++++++++++++++++
17 4 files changed, 76 insertions(+)
18
19 diff --git a/app-portage/pgo/Manifest b/app-portage/pgo/Manifest
20 new file mode 100644
21 index 00000000000..a6f261140e6
22 --- /dev/null
23 +++ b/app-portage/pgo/Manifest
24 @@ -0,0 +1 @@
25 +DIST pgo-0.0.2.tar.gz 1758457 BLAKE2B b31b9c2d200fb925390881019b9c540e8c95454874fa60a8829b73000d27ed470686dd7150d8cdcc7267a7329fcb6883d7f9eee27c622c91c36cfb6648bdda56 SHA512 36435813dee1d6256888e3f845b0bd053d9b58ed1c810f7368e935ac8e58f209956b8d3b0cff5cca464d76d8cebe3f483dba692a47c2785dc626842a30758554
26
27 diff --git a/app-portage/pgo/metadata.xml b/app-portage/pgo/metadata.xml
28 new file mode 100644
29 index 00000000000..e7c029f91d6
30 --- /dev/null
31 +++ b/app-portage/pgo/metadata.xml
32 @@ -0,0 +1,21 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>arzano@g.o</email>
38 + <name>Max Magorsch</name>
39 + </maintainer>
40 + <maintainer type="person">
41 + <email>zlogene@g.o</email>
42 + <name>Mikle Kolyada</name>
43 + </maintainer>
44 + <longdescription>
45 + pgo is a small command line interface for packages.gentoo.org. It is
46 + using the graphql api of packages.gentoo.org to display information
47 + about packages like: versions, metadata, dependencies, QA reports,
48 + pull requests, bugs and the changelog. It's also able to display
49 + information for maintainers, as a list of packages they are maintaining,
50 + a list of outdated packages, or bugs related to the packages they are
51 + maintaining.
52 + </longdescription>
53 +</pkgmetadata>
54
55 diff --git a/app-portage/pgo/pgo-0.0.2.ebuild b/app-portage/pgo/pgo-0.0.2.ebuild
56 new file mode 100644
57 index 00000000000..e3a6873088b
58 --- /dev/null
59 +++ b/app-portage/pgo/pgo-0.0.2.ebuild
60 @@ -0,0 +1,27 @@
61 +# Copyright 2020 Gentoo Authors
62 +# Distributed under the terms of the GNU General Public License v2
63 +
64 +EAPI=7
65 +
66 +inherit go-module
67 +
68 +if [[ ${PV} == *9999* ]]; then
69 + inherit git-r3
70 + EGIT_REPO_URI="https://github.com/arzano/pgo"
71 +else
72 + SRC_URI="https://github.com/arzano/pgo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
73 + KEYWORDS="~amd64 ~x86"
74 +fi
75 +
76 +DESCRIPTION="A command line interface for packages.gentoo.org"
77 +HOMEPAGE="https://github.com/arzano/pgo"
78 +LICENSE="BSD-2"
79 +SLOT="0"
80 +
81 +src_compile() {
82 + env GOBIN="${S}/bin" go build -mod=vendor || die "compile failed"
83 +}
84 +
85 +src_install() {
86 + dobin pgo
87 +}
88
89 diff --git a/app-portage/pgo/pgo-9999.ebuild b/app-portage/pgo/pgo-9999.ebuild
90 new file mode 100644
91 index 00000000000..e3a6873088b
92 --- /dev/null
93 +++ b/app-portage/pgo/pgo-9999.ebuild
94 @@ -0,0 +1,27 @@
95 +# Copyright 2020 Gentoo Authors
96 +# Distributed under the terms of the GNU General Public License v2
97 +
98 +EAPI=7
99 +
100 +inherit go-module
101 +
102 +if [[ ${PV} == *9999* ]]; then
103 + inherit git-r3
104 + EGIT_REPO_URI="https://github.com/arzano/pgo"
105 +else
106 + SRC_URI="https://github.com/arzano/pgo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
107 + KEYWORDS="~amd64 ~x86"
108 +fi
109 +
110 +DESCRIPTION="A command line interface for packages.gentoo.org"
111 +HOMEPAGE="https://github.com/arzano/pgo"
112 +LICENSE="BSD-2"
113 +SLOT="0"
114 +
115 +src_compile() {
116 + env GOBIN="${S}/bin" go build -mod=vendor || die "compile failed"
117 +}
118 +
119 +src_install() {
120 + dobin pgo
121 +}