app-crypt/glep63-check: New GLEP 63 key compliance checker
authorMichał Górny <mgorny@gentoo.org>
Wed, 4 Jul 2018 20:57:12 +0000 (22:57 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 4 Jul 2018 21:00:40 +0000 (23:00 +0200)
app-crypt/glep63-check/Manifest [new file with mode: 0644]
app-crypt/glep63-check/glep63-check-1.ebuild [new file with mode: 0644]
app-crypt/glep63-check/metadata.xml [new file with mode: 0644]

diff --git a/app-crypt/glep63-check/Manifest b/app-crypt/glep63-check/Manifest
new file mode 100644 (file)
index 0000000..b1a0369
--- /dev/null
@@ -0,0 +1 @@
+DIST glep63-check-1.tar.gz 4632 BLAKE2B 3632199ca9ca8516a833aa6d93885f40a761c47ab5bc5685582c6c8e294af0d5a6e258656208c9a65c1c5d4852d5e32374a77b39a0dcf491605df4b733d2c162 SHA512 16e3031b9b04af09ba446c76e8776d802d197d2d1f934c9a409509a81fd299306b451ea3e52d1ac5b75c9d0c9a0d7f93b73e26732ecf51c5c3afe53f0c0868aa
diff --git a/app-crypt/glep63-check/glep63-check-1.ebuild b/app-crypt/glep63-check/glep63-check-1.ebuild
new file mode 100644 (file)
index 0000000..1ffa439
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+
+inherit python-single-r1
+
+DESCRIPTION="GLEP 63 compliance checker for OpenPGP keys"
+HOMEPAGE="https://github.com/mgorny/glep63-check/"
+SRC_URI="https://github.com/mgorny/glep63-check/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       app-crypt/gnupg"
+
+src_compile() {
+       python_fix_shebang glep63-check
+}
+
+src_install() {
+       dobin glep63-check
+}
diff --git a/app-crypt/glep63-check/metadata.xml b/app-crypt/glep63-check/metadata.xml
new file mode 100644 (file)
index 0000000..3c8bc0a
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mgorny@gentoo.org</email>
+               <name>Michał Górny</name>
+       </maintainer>
+       <upstream>
+               <maintainer status="active">
+                       <email>mgorny@gentoo.org</email>
+                       <name>Michał Górny</name>
+               </maintainer>
+               <bugs-to>https://github.com/mgorny/glep63-check/issues/</bugs-to>
+               <remote-id type="github">mgorny/glep63-check</remote-id>
+       </upstream>
+</pkgmetadata>