pykcs11: update version, add doc flag

fix warning and URL
This commit is contained in:
rick 2025-05-15 20:06:45 +02:00
parent 7d355293a2
commit 084519a8b8
No known key found for this signature in database
GPG key ID: A2E7B6CA577C8F07
2 changed files with 12 additions and 8 deletions

View file

@ -1 +1 @@
DIST pykcs11-1.5.10.tar.gz 77074 BLAKE2B 785e436a474f5c0cee5cbe666e88c3e46fd3969ca25908267cab379c24fb74cc557c0d670905d0d96a7e3eeddf92cdb5dc62281f31f22b1035dee43f93c7c550 SHA512 5ad4d4575f9eb3a93a817bf7c1adf704fdb6ed4c780e3bb135d909e97c8f9e29abb6ef8b59a5135bae495ba7e3da2e2fa7df82780f3f419e07be00397aee5d24
DIST 1.5.17.tar.gz 79665 BLAKE2B c96c92b0f973ef2cdde754e14093fc3dbf6dccab74554c3d0dfc842ff5fa6356121d4dfc0f841d2ba56f3c5011bb7d4a01b0685ae9bea32918003d47ef84ee7b SHA512 b6f8aa8c1ae090daa396cd6198cdd945a26834f767b0e717b0174552c7de8a244e93793544c6fb8b62b3a6bf76f3aae4e889ff803874791fae4634c1c7268136

View file

@ -1,19 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
MY_PN=PyKCS11
MY_P=${MY_PN}-${PV}
MY_P="PyKCS11-${PV}"
DESCRIPTION="A complete PKCS#11 wrapper for Python"
HOMEPAGE="https://github.com/LudovicRousseau/PyKCS11"
SRC_URI="https://codeload.github.com/LudovicRousseau/${MY_PN}/tar.gz/${PV} -> ${P}.tar.gz"
SRC_URI="https://github.com/LudovicRousseau/PyKCS11/archive/refs/tags/${PV}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
@ -21,12 +23,14 @@ KEYWORDS="amd64 arm64 x86"
IUSE="examples"
RESTRICT="test"
DEPEND="dev-lang/swig
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
dev-lang/swig
dev-python/setuptools[${PYTHON_USEDEP}]
"
DOCS=( README.md )
S="${WORKDIR}/${MY_P}"
distutils_enable_sphinx docs
python_install_all() {
if use examples; then