Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dev-python/cryptography/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ DIST cryptography-46.0.7-mark-rust-bundle.tar.xz 3918076 BLAKE2B b731074937c946b
DIST cryptography-46.0.7.tar.gz 750652 BLAKE2B f7b929d9eafe32d76fd497823309f227895cef18684a9fd90e1740302fa12e039690d5425b4a7d2bd0fcf81322d456d9ee4c230157c7cdc1d109bc283d6191ef SHA512 9176c9d2a5b1930735acb63b97335cd4e3d514cfd66664a3f16ad895a92f155282098cae97c35df97c74dae61c88698f5f94f548c5172a7c1867480225eeff40
DIST cryptography-47.0.0-mark-rust-bundle.tar.xz 4012376 BLAKE2B 16ffc1e35ed5679a13cff6c06420c4c6c0ed45a7c606e9e0ba808564fb277fc94d6dc76c5e2ca43d796261bf4db0c104da11dfd89e140563bf1372356d86d5c9 SHA512 ea1463bc76e81a7c8325d7325a3f0012095255ba1bb6f1638c2108e48533b3c81657946fc073ef76783acbd7b3af8a2768e6d2ede932c26c713eb0c5109c15eb
DIST cryptography-47.0.0.tar.gz 830863 BLAKE2B fa4f148133c23025ede6bdfcbbce65288dbe61f0a28e3792ef9e1a7143ae05bd7e42947e0ffa3f70d027b7d2064f8d755eb9a83e4719c83ae4f4c79490e0c49e SHA512 0d2fd9de7b6cfafef5f66e4fb10b7eaa8712bc0ed7bca19a017963b8ea707813a7bdc841f7d4aa512da7963eff3707792d46cb93058875fcc447961256c32d9e
DIST cryptography-48.0.0-mark-rust-bundle.tar.xz 4026912 BLAKE2B 4cafba9aac73fe696c2bc099acba8a810a40565d9b9f580140de6e91061257e86525f079694b19f6e859f9b914dee386eea15dfbd7633b3545a762d1fa443534 SHA512 734518e68e33d73baddaa375b5254f60ce727240fefb69c97f81d655054383d14e323f252539c1cd3751e638a119b07fe74b3033aceec38062f9932a41fe938e
DIST cryptography-48.0.0.tar.gz 832984 BLAKE2B 100bbd35411874c4b9a6fb855fa19dd5271c753daa28cd6c52fac0b926dbcee6b4dce37a59c28b5ff435028965a60fa898e501f6215e837cc28e056c1b8a4680 SHA512 4d04983e25eb5fc856705f63e8cca32a357ef0a369c4596b1beb2e0befa2b3dcd763eb4e9baed4230bd75aa6738790ec56b107a45d5e02ce09f78fc1851c2ff9
49 changes: 49 additions & 0 deletions dev-python/cryptography/cryptography-48.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
PYTHON_COMPAT=( python3+ )
DISTUTILS_USE_PEP517="maturin"
ECARGO_BUNDLE_POSTFIX="mark-rust-bundle"
CARGO_OPTIONAL="yes"
inherit cargo distutils-r1

DESCRIPTION="cryptography is a package which provides cryptographic recipes and primitives to Python developers."
SRC_URI="
https://files.pythonhosted.org/packages/9f/a9/db8f313fdcd85d767d4973515e1db101f9c71f95fced83233de224673757/cryptography-48.0.0.tar.gz -> cryptography-48.0.0.tar.gz
mirror://macaroni/cryptography-48.0.0-mark-rust-bundle.tar.xz -> cryptography-48.0.0-mark-rust-bundle.tar.xz"
SLOT="0"
KEYWORDS="*"
IUSE="idna"
BDEPEND="
>=dev-python/setuptools-rust-0.12.1[${PYTHON_USEDEP}]
"
RDEPEND="
idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] )
>=dev-python/cffi-1.11.3[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
dev-python/ipaddress[${PYTHON_USEDEP}]
"
DEPEND="virtual/rust

>=dev-python/cffi-1.11.3[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
"
S="${WORKDIR}/cryptography-48.0.0"
src_unpack() {
if [[ ${CRYPTOGRAPHY_DONT_BUILD_RUST} ]] ; then
default
else
cargo_src_unpack
fi
}
python_install() {
distutils-r1_python_install
if [ -e "${D}$(python_get_sitedir)/tests" ] ; then
einfo "Removing $(python_get_sitedir)/tests directory..."
rm -r "${D}$(python_get_sitedir)"/tests || die
fi
}


# vim: filetype=ebuild