Install this version:
emerge -a =dev-python/PyKCS11-1.5.18
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/PyKCS11-1.5.18
Or alternatively:
emerge --autounmask-write -a =dev-python/PyKCS11-1.5.18
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="A complete PKCS#11 wrapper for Python"
HOMEPAGE="https://github.com/LudovicRousseau/PyKCS11"
SRC_URI="https://codeload.github.com/LudovicRousseau/${PN}/tar.gz/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="examples"
BDEPEND="dev-lang/swig"
DOCS=( README.md )
RESTRICT="test"
# does not work at all.
python_install_all() {
if use examples; then
insinto "/usr/share/doc/${PF}/"
doins -r samples
fi
distutils-r1_python_install_all
}
Manage flags for this package:
euse -i <flag> -p dev-python/PyKCS11 |
euse -E <flag> -p dev-python/PyKCS11 |
euse -D <flag> -p dev-python/PyKCS11
dev-lang/swig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | PyKCS11-1.5.18.tar.gz | 112903 bytes | https://codeload.github.com/LudovicRousseau/PyKCS11/tar.gz/1.5.18 |