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.3-mark-rust-bundle.tar.xz 3918052 BLAKE2B 052fec43139d90e
DIST cryptography-46.0.3.tar.gz 749258 BLAKE2B aa7eab6b6a39551034c8ade545a0b8c52d2d778a9e74dbf306eada2dc5314e3cdc7dee23af2fba8d2aa14ece260e3ace920f890f3e02370e8e86b20001ade2ee SHA512 b4e1af6e8ef676396e25806c64a981bb70372ca0162c2fe7d6a242243686d9fed35262080a3d0241afbf71963fc7d753a46fd31489fff3a734ef6c1203b64d02
DIST cryptography-46.0.5-mark-rust-bundle.tar.xz 3918056 BLAKE2B 768b9a5217b9d599373b6904b5e1ff7b4b71c6ba53b71c73116c207096d469bb4e4471444ae4380478351fdddbad5d657645ab619bb96b98df326c2307dfb0ee SHA512 fd8be6a87b0cd7d8c09c24eb530beb835b4c5e9e9eee514cf5a2ba07c7b38280a6059c6fe8764fd1e513df08507ce9e985b8634d9e432ee83d288da839b9580e
DIST cryptography-46.0.5.tar.gz 750064 BLAKE2B 7ae24a245583daf64a01cfbb9269e9d5aca82929543957572bea56f9e295593e81f836c87bd32bcb7aaa58253b7a156401a1d29992b60e73fd5926016fbbb4cd SHA512 5bc5ea5b85c600504c46e2376a45cee749f41e2b4a6eb639b05d289370dcdc82b2ace423532f5591da16ca56ea32919e47ec154cb72bf7e1f5f3f923c744a185
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
49 changes: 49 additions & 0 deletions dev-python/cryptography/cryptography-47.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/ef/b2/7ffa7fe8207a8c42147ffe70c3e360b228160c1d85dc3faff16aaa3244c0/cryptography-47.0.0.tar.gz -> cryptography-47.0.0.tar.gz
mirror://macaroni/cryptography-47.0.0-mark-rust-bundle.tar.xz -> cryptography-47.0.0-mark-rust-bundle.tar.xz"
SLOT="0"
KEYWORDS="*"
IUSE="idna"
BDEPEND="
>=dev-python/setuptools-rust-0.12.1[${PYTHON_USEDEP}]
"
RDEPEND="
>=dev-python/cffi-1.11.3[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
dev-python/ipaddress[${PYTHON_USEDEP}]
idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] )
"
DEPEND="virtual/rust

>=dev-python/cffi-1.11.3[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
"
S="${WORKDIR}/cryptography-47.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