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.5-mark-rust-bundle.tar.xz 3918056 BLAKE2B 768b9a5217b9d59
DIST cryptography-46.0.5.tar.gz 750064 BLAKE2B 7ae24a245583daf64a01cfbb9269e9d5aca82929543957572bea56f9e295593e81f836c87bd32bcb7aaa58253b7a156401a1d29992b60e73fd5926016fbbb4cd SHA512 5bc5ea5b85c600504c46e2376a45cee749f41e2b4a6eb639b05d289370dcdc82b2ace423532f5591da16ca56ea32919e47ec154cb72bf7e1f5f3f923c744a185
DIST cryptography-46.0.6-mark-rust-bundle.tar.xz 3918052 BLAKE2B 53d7dcbbdd6e4b2744f19016ffaeeb872a4a8ea71c0a04a6f6b3bd08bd8044cfb3be9720b05be8bbb1f16fec870c25f167a0f9e7c7fa33dfe28441c428dd8c20 SHA512 89c49cb6c7830f73cafddd57746d906c77b82a7ebc8b517071e616d980e712bc9fc8b03867f50e3aece13ac6d138f08338ab445e42d213f28a3702bf8c9ece4e
DIST cryptography-46.0.6.tar.gz 750542 BLAKE2B 9aec3ac9d938741f074d2d0ede964ac0c26018acd057d4b82b37c5d1b00797b8d967df400c0363aeafb0c3792c5a4c1db7352428143c720f0ed255e491f07be9 SHA512 c8207d0d3a687570bd0b1b371a30f76a9ba2b4494495cfdc0734c4839e477e64568695e5d37895acc13ee5477368904906013b48099cf39bde8d1973e2a4ebcf
DIST cryptography-46.0.7-mark-rust-bundle.tar.xz 3918076 BLAKE2B b731074937c946b8636134cab9ac6c4a160f5545d10e844594e8589eb2080a1242afffb3d87e8858dbece866e069e63a567978fb044c842a47b941e706522951 SHA512 076acea04be5a9365a3c5e1bd67b355e0e5d046bc408eeada147e800bfad5f769ad0d944250e0c5ed75d97bfcc2867b31d217c6a3a65c691da77a18bfee07d3a
DIST cryptography-46.0.7.tar.gz 750652 BLAKE2B f7b929d9eafe32d76fd497823309f227895cef18684a9fd90e1740302fa12e039690d5425b4a7d2bd0fcf81322d456d9ee4c230157c7cdc1d109bc283d6191ef SHA512 9176c9d2a5b1930735acb63b97335cd4e3d514cfd66664a3f16ad895a92f155282098cae97c35df97c74dae61c88698f5f94f548c5172a7c1867480225eeff40
49 changes: 49 additions & 0 deletions dev-python/cryptography/cryptography-46.0.7.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/47/93/ac8f3d5ff04d54bc814e961a43ae5b0b146154c89c61b47bb07557679b18/cryptography-46.0.7.tar.gz -> cryptography-46.0.7.tar.gz
mirror://macaroni/cryptography-46.0.7-mark-rust-bundle.tar.xz -> cryptography-46.0.7-mark-rust-bundle.tar.xz"
SLOT="0"
KEYWORDS="*"
IUSE="idna"
BDEPEND="
>=dev-python/setuptools-rust-0.12.1[${PYTHON_USEDEP}]
"
RDEPEND="
dev-python/ipaddress[${PYTHON_USEDEP}]
idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] )
>=dev-python/cffi-1.11.3[${PYTHON_USEDEP}]
>=dev-python/six-1.4.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-46.0.7"
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