Install this version:
emerge -a =dev-python/sjcl-0.2.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/sjcl-0.2.1
Or alternatively:
emerge --autounmask-write -a =dev-python/sjcl-0.2.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.1 | 8 | ~amd64 | 0 |
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} pypy3_11 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
MY_COMMIT="e8bdad312fa99c89c74f8651a1240afba8a9f3bd"
DESCRIPTION="Decrypt and encrypt 'Stanford Javascript Crypto Library'-compatible messages"
HOMEPAGE="https://github.com/berlincode/sjcl"
# pypi tarball doesn't contains the tests
SRC_URI="https://github.com/berlincode/sjcl/archive/${MY_COMMIT}.tar.gz -> ${PN}-${MY_COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
distutils_enable_tests unittest
python_test() {
"${EPYTHON}" -m unittest -v tests.simple || die
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sjcl-e8bdad312fa99c89c74f8651a1240afba8a9f3bd.tar.gz | 7079 bytes | https://github.com/berlincode/sjcl/archive/e8bdad312fa99c89c74f8651a1240afba8a9f3bd.tar.gz |