Install this version:
emerge -a =dev-python/msoffcrypto-tool-6.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/msoffcrypto-tool-6.0.0
Or alternatively:
emerge --autounmask-write -a =dev-python/msoffcrypto-tool-6.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.0.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..15} )
inherit distutils-r1 pypi
DESCRIPTION="tool and library for decrypting and encrypting MS Office files"
HOMEPAGE="
https://github.com/nolze/msoffcrypto-tool
https://pypi.org/project/msoffcrypto-tool
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/olefile[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}/notice.patch"
)
python_prepare_all() {
rm NOTICE.txt || die
distutils-r1_python_prepare_all
}