Update overlay packages
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST m2crypto-0.47.0.tar.gz 662529 BLAKE2B f1ba6628ae713470850c2fa5db3230b000666ee93184622498ffc5b8527d445b96a0868addd491988147487553fc62aaedff4a651fd2e0b2efacc5fcfb81ec19 SHA512 a99a0e084831fde0bafe4be0ca748ec171a9c38225dd5d49d1af5a80122e89c75921589936b58fcd8b71f53ab006038d10dfd362d5cc37ae6bf1018ab378cce8
|
||||
EBUILD m2crypto-0.47.0.ebuild 1481 BLAKE2B eeb0b156d5c0f6ce06470672743d6a412b0cf75d629468d1115c6ded4cab2cb56f251b26c16b88752a13154a70da4bd972c7d895e3f0b091bab7669d647700b9 SHA512 c77b6043a4a51c3897a5bb5bad6020599aeb4aaf6378f4717f27ac59898d2e222ddae17e7d1c5b0e38b9d1a709bcdb3227ed7a058b6df2afd14fcab831586726
|
||||
MISC metadata.xml 392 BLAKE2B 315ae49a5e9acfa369b962711ae6c21342b51db3d82eabc00a1c4ee711886040075bb6f63aa216ca821b2861fbeb6eb73e238f9fb0b4b3c207de2f9d7331bc49 SHA512 7bd2842bea22f271fb4c7089da622060a51c376afb12661aed1e0cfdded4dddd0ae987207b66c83b09e92bc949beddda479435953cce1cdd988cc906e32e12b1
|
||||
@@ -0,0 +1,69 @@
|
||||
# Copyright 2018-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYPI_PN="M2Crypto"
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 toolchain-funcs pypi
|
||||
|
||||
DESCRIPTION="A Python crypto and SSL toolkit"
|
||||
HOMEPAGE="
|
||||
https://sr.ht/~mcepl/m2crypto/
|
||||
https://gitlab.com/m2crypto/m2crypto/
|
||||
https://pypi.org/project/M2Crypto/
|
||||
"
|
||||
|
||||
# openssl via src/SWIG/_lib11_compat.i
|
||||
LICENSE="BSD-2 openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
|
||||
IUSE="abi_mips_n32 abi_mips_n64 abi_mips_o32"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-lang/swig-2.0.9
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
swig_define() {
|
||||
local x
|
||||
for x; do
|
||||
if tc-cpp-is-true "defined(${x})"; then
|
||||
SWIG_FEATURES+=" -D${x}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# relies on very exact clock behavior which apparently fails
|
||||
# with inconvenient CONFIG_HZ*
|
||||
sed -e 's:test_server_simple_timeouts:_&:' \
|
||||
-i tests/test_ssl.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
# setup.py looks at platform.machine() to determine swig options.
|
||||
# For exotic ABIs, we need to give swig a hint.
|
||||
local -x SWIG_FEATURES=
|
||||
|
||||
# https://bugs.gentoo.org/617946
|
||||
swig_define __ILP32__
|
||||
|
||||
# https://bugs.gentoo.org/674112
|
||||
swig_define __ARM_PCS_VFP
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mario.fetka@disconnected-by-peer.at</email>
|
||||
<name>Mario Fetka</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">M2Crypto</remote-id>
|
||||
<remote-id type="sourcehut">~mcepl/m2crypto</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user