1 |
commit: f82eaff4b7671de0107b7d70372fe1c98150d756 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 6 07:08:26 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 6 07:19:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f82eaff4 |
7 |
|
8 |
app-portage/kuroneko: New vulnerability checker for Gentoo |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-portage/kuroneko/Manifest | 1 + |
13 |
app-portage/kuroneko/kuroneko-0.1.0.ebuild | 34 ++++++++++++++++++++++++++++++ |
14 |
app-portage/kuroneko/metadata.xml | 13 ++++++++++++ |
15 |
3 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/app-portage/kuroneko/Manifest b/app-portage/kuroneko/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..530822018fb |
20 |
--- /dev/null |
21 |
+++ b/app-portage/kuroneko/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST kuroneko-0.1.0.tar.gz 8964 BLAKE2B 051539ab6714332b02188854debe655d405093418a3edcf88f58bc54f153c5e9cecf9f9ab165ea32e9dc1d967c43618249b2a6677cb74ea020b05def99479d1b SHA512 b4f9e4cbf932927549ab1411aba15e8ca394919e80a19f7bd04a560764d74c7c884e96133c9aad1be69f9646b1d37713dfb449a1ca09bd74d407101789c213c1 |
24 |
|
25 |
diff --git a/app-portage/kuroneko/kuroneko-0.1.0.ebuild b/app-portage/kuroneko/kuroneko-0.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0bd9b554e20 |
28 |
--- /dev/null |
29 |
+++ b/app-portage/kuroneko/kuroneko-0.1.0.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Vulnerability checker using data scraped from Gentoo Bugzilla" |
40 |
+HOMEPAGE="https://github.com/mgorny/kuroneko/" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/mgorny/kuroneko/archive/v${PV}.tar.gz |
43 |
+ -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="scraper" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
52 |
+ sys-apps/pkgcore[${PYTHON_USEDEP}] |
53 |
+ scraper? ( |
54 |
+ dev-python/bracex[${PYTHON_USEDEP}] |
55 |
+ dev-python/requests[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-python/bracex[${PYTHON_USEDEP}] |
60 |
+ dev-python/requests[${PYTHON_USEDEP}] |
61 |
+ dev-python/responses[${PYTHON_USEDEP}] |
62 |
+ )" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
|
66 |
diff --git a/app-portage/kuroneko/metadata.xml b/app-portage/kuroneko/metadata.xml |
67 |
new file mode 100644 |
68 |
index 00000000000..b09f3f81a52 |
69 |
--- /dev/null |
70 |
+++ b/app-portage/kuroneko/metadata.xml |
71 |
@@ -0,0 +1,13 @@ |
72 |
+<?xml version="1.0" encoding="UTF-8"?> |
73 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
74 |
+<pkgmetadata> |
75 |
+ <maintainer type="person"> |
76 |
+ <email>mgorny@g.o</email> |
77 |
+ <name>Michał Górny</name> |
78 |
+ </maintainer> |
79 |
+ <use> |
80 |
+ <flag name="scraper"> |
81 |
+ Include the dependencies necessary for Bugzilla scraping. |
82 |
+ </flag> |
83 |
+ </use> |
84 |
+</pkgmetadata> |