summaryrefslogtreecommitdiff
path: root/dev-python/keyutils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-23 18:08:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-23 18:08:08 +0100
commit622b78d0d832282505f685f2f442c34ea0e8a7b1 (patch)
tree6c8da6dc24185f6abeac5388572b48fd1db79e04 /dev-python/keyutils
parent57dda344760f34c8c8f93c3c161ab10e55dc3860 (diff)
gentoo auto-resync : 23:04:2023 - 18:08:08
Diffstat (limited to 'dev-python/keyutils')
-rw-r--r--dev-python/keyutils/Manifest3
-rw-r--r--dev-python/keyutils/keyutils-0.6-r1.ebuild35
-rw-r--r--dev-python/keyutils/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/keyutils/Manifest b/dev-python/keyutils/Manifest
new file mode 100644
index 000000000000..0b08502ea495
--- /dev/null
+++ b/dev-python/keyutils/Manifest
@@ -0,0 +1,3 @@
+DIST python-keyutils-0.6.gh.tar.gz 45427 BLAKE2B b62a1194bad87fe42c658c0603ff236e8e5594e8d19dbf8b29bac5b2ef5b3c6a6d19eae3d529c9408e06802c883fad365d41d27c656776a4994b58a43b8bf1fc SHA512 e282d553a644d9b38c6256e027ee553a123bf21e4222491e22699ca5bc5041dedc4e9a9a8c1bafa44985f3b1d5fafd85ded9ed5332b6d94d6c62f3fa6bcb6d0d
+EBUILD keyutils-0.6-r1.ebuild 846 BLAKE2B 7eea26689a801c8abf71bf2554a8f704bb8a430589d6f82df83cc1a92cb9cba4d79de034fb760a0f7cf5b57115b8e0b5b178205ace935409f0ec47787140e06c SHA512 dbdf39201dfc788e856ed596e1d35d2419e931b9dc81d83f3e9241cd7e3e07f0f84f3fb7cc038afdcb68871c6e2c90057d22ac56e197df74ad6f77936c9915db
+MISC metadata.xml 383 BLAKE2B c88a0df9232a36db1f568579905d43c26fbdf5e2bd119e6ae9e7e4ff54f85bf7e247d57edaa6f9a364a938ccd6401f7e617515381f3fb4f9ad1f739f93d016ae SHA512 769de9462b430f810c33781b059d24da4d006b1e47ce1e57ca529a8a240442120fbe8b03c38f4e189e045593192b23cb0f4c5e0e1e63b4e43051da64129f63e4
diff --git a/dev-python/keyutils/keyutils-0.6-r1.ebuild b/dev-python/keyutils/keyutils-0.6-r1.ebuild
new file mode 100644
index 000000000000..9023760c6de2
--- /dev/null
+++ b/dev-python/keyutils/keyutils-0.6-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1
+
+DESCRIPTION="A set of python bindings for keyutils"
+HOMEPAGE="https://github.com/sassoftware/python-keyutils/"
+SRC_URI="https://github.com/sassoftware/python-keyutils/archive/refs/tags/${PV}.tar.gz -> python-keyutils-${PV}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+DEPEND="sys-apps/keyutils"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests pytest
+
+S="${WORKDIR}/python-keyutils-${PV}"
+
+src_prepare() {
+ default
+ sed -i -e '/pytest-runner/d' setup.py || die
+ rm keyutils/_keyutils.c || die
+}
+
+python_test() {
+ ln -s "${S}"/test "${BUILD_DIR}"/test || die
+ cd "${BUILD_DIR}" || die
+ distutils-r1_python_test
+}
diff --git a/dev-python/keyutils/metadata.xml b/dev-python/keyutils/metadata.xml
new file mode 100644
index 000000000000..87a03116424d
--- /dev/null
+++ b/dev-python/keyutils/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sassoftware/python-keyutils</remote-id>
+ <remote-id type="pypi">keyutils</remote-id>
+ </upstream>
+</pkgmetadata>