diff options
author | Ben Kohler <bkohler@gentoo.org> | 2023-04-23 06:56:32 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2023-04-23 06:59:07 -0500 |
commit | 60c95adcbe4f6dfc2777f35de26b8e880d3af034 (patch) | |
tree | 304f126810e8c109161c4f2860029b62e0f82221 /dev-python/keyutils | |
parent | net-dns/openresolv: drop 3.13.0 (diff) | |
download | gentoo-60c95adcbe4f6dfc2777f35de26b8e880d3af034.tar.gz gentoo-60c95adcbe4f6dfc2777f35de26b8e880d3af034.tar.bz2 gentoo-60c95adcbe4f6dfc2777f35de26b8e880d3af034.zip |
Rename dev-python/{python-keyutils → keyutils}
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-python/keyutils')
-rw-r--r-- | dev-python/keyutils/Manifest | 1 | ||||
-rw-r--r-- | dev-python/keyutils/keyutils-0.6-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-python/keyutils/metadata.xml | 12 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/keyutils/Manifest b/dev-python/keyutils/Manifest new file mode 100644 index 000000000000..ede0964a7001 --- /dev/null +++ b/dev-python/keyutils/Manifest @@ -0,0 +1 @@ +DIST python-keyutils-0.6.gh.tar.gz 45427 BLAKE2B b62a1194bad87fe42c658c0603ff236e8e5594e8d19dbf8b29bac5b2ef5b3c6a6d19eae3d529c9408e06802c883fad365d41d27c656776a4994b58a43b8bf1fc SHA512 e282d553a644d9b38c6256e027ee553a123bf21e4222491e22699ca5bc5041dedc4e9a9a8c1bafa44985f3b1d5fafd85ded9ed5332b6d94d6c62f3fa6bcb6d0d 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> |