mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
minikerberos-0.4.9.ebuild
This commit is contained in:
parent
1c6de90cab
commit
98cc34ab9f
9 changed files with 135 additions and 35 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST asysocks-0.2.13.tar.gz 78562 BLAKE2B 53f5ba82aa62d8068a912a640442b97cd3aeb7c6343af82f5b661af37680c92d952ee05dcee0f2815a792706377afcd26c33a47d921785eaab27b187b7b1227e SHA512 667bb2ec21c952d9d893e47ab28c1b600b7ad3b5e63e65f0b9959a7e1498a51ab7073455ec05518df7f354fddb819ff60e64f4a5f2f31eabbadfb4db17e8370d
|
||||
DIST asysocks-0.2.18.tar.gz 117822 BLAKE2B 71051f20500b3a46e238daf3939f3e508e06ecb41e3ebb512833b6b9b2fbc0f7d2751449c91ea74853c71ee6993558c83f69517cda69dce93a9c71f67403c538 SHA512 a5701e0da5138c8b8bce5427d40294ff3d63a421a2efe1b36ead9b6b98988545f704064f63e3fe5fd246455613bf0275f16ace8f9b2f7cc5e490930e3729d16b
|
||||
|
|
|
|||
25
dev-python/asysocks/asysocks-0.2.18.ebuild
Normal file
25
dev-python/asysocks/asysocks-0.2.18.ebuild
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Socks5 / Socks4 client and server library"
|
||||
HOMEPAGE="https://github.com/skelsec/asysocks"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/asn1crypto[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
>=dev-python/h11-0.14.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST minikerberos-0.4.4.gh.tar.gz 168498 BLAKE2B 514725c99b75dc668343cff72702d532b51f13dc673e3db35d486989076d29a5fa8154a3bd87609030a80a24e05d42631629fad5bb29f84e660587d12e4c5143 SHA512 3e7e5e464eaf2c0b94e11ead13a1d2fd56e45a36fb9592aaa5d6de4beeecb8960df523ab647b1e9ab0e8104cec557803bd3dbfa1ae1dbf3333f4ecbd4d6fa198
|
||||
DIST minikerberos-0.4.9.gh.tar.gz 182343 BLAKE2B e60e832cd6909c97e4b9f51475c9e1a335250db2152b926a06c0f2b8eaa773e14720e4f07c04e488d2526627d9e2cad658530ff12fabda103bfffd5ef5d8af4f SHA512 28c13a062e8ba2a4fe2f56729afa1fb6c7f097002b023537711b3524fa0dfcc0c4750fde0932cf17ea1959f4367a2aca9311adb69ade8fa239c1fece1033290b
|
||||
|
|
|
|||
66
dev-python/minikerberos/minikerberos-0.4.9.ebuild
Normal file
66
dev-python/minikerberos/minikerberos-0.4.9.ebuild
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Kerberos manipulation library in pure Python"
|
||||
HOMEPAGE="https://github.com/skelsec/minikerberos"
|
||||
SRC_URI="https://github.com/skelsec/minikerberos/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asn1crypto-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oscrypto-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/asysocks-0.2.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/unicrypto-0.0.12[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# ignore and deselect online test (async and must use an active kerberos server)
|
||||
EPYTEST_IGNORE=(
|
||||
'tests/test_conn_blocking.py'
|
||||
'tests/test_conn.py'
|
||||
'tests/test_security.py'
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
'tests/test_examples.py::test_spnroast_base'
|
||||
'tests/test_examples.py::test_spnroast_23'
|
||||
'tests/test_examples.py::test_spnroast_all'
|
||||
'tests/test_examples.py::test_spnroast_list'
|
||||
'tests/test_examples.py::test_spnroast_file'
|
||||
'tests/test_examples.py::test_spnroast_filedomain'
|
||||
'tests/test_examples.py::test_spnroast_listdomain'
|
||||
'tests/test_examples.py::test_gettgt'
|
||||
'tests/test_examples.py::test_gettgt_nopac'
|
||||
'tests/test_examples.py::test_gettgs'
|
||||
'tests/test_examples.py::test_getS4U2Self'
|
||||
'tests/test_examples.py::test_getS4U2Self_ccache'
|
||||
'tests/test_examples.py::test_getS4U2proxy'
|
||||
'tests/test_examples.py::test_getS4U2proxy_ccache'
|
||||
'tests/test_examples.py::test_getnt'
|
||||
'tests/test_examples.py::test_cve_2022_33679'
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r minikerberos/examples/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
DIST unicrypto-0.0.10.gh.tar.gz 105501 BLAKE2B 88171c7e30e2071f3bf8f591e767172abbd8b1e6ccffd071e599c2949d42c523e0d0b895b545311b1104e4018cf3f75071d5ce4c7ee799bf15b9def9cdc446de SHA512 fda2a0031e608dbba7721c5251e2b1663d492c6982640e472b7049893e567e7b088756f1be514ed08a2785603985852e711d7cec70cbb7833b79e5406f9ec59a
|
||||
DIST unicrypto-0.0.9.tar.gz 71690 BLAKE2B d001c699482ed98339648d7c9e5656b6706c6675b6425cef3ca7ff7d506aeb6e2350f2db8d15756653778835cb393feff35ffa301105e13cee9f9e90222d183a SHA512 aa02dce27b2094b03a3d5c32573f862b57143dd8183cad362624a59f9378ced7c6ddcbe72b176399ea9a6ed292f98f9c7ae5db3549df4af42fafe70257ea21de
|
||||
DIST unicrypto-0.0.12.tar.gz 73115 BLAKE2B b0b3dec4cb9555d6057e42738113b5c8f3ee1310caaf1adca345b312a61df784d9664801299babe15619239a85cdf2a505aa8635c6e96e3766e3f6ceb5788ba4 SHA512 9d34f6c27c2726e730f4477e88339683f2d381e425f84d0a8fa4d96a65309bbdede70bddfd8311f2df39e7d3c85484d4c6ba7e59110e025ffd70452f13b76823
|
||||
|
|
|
|||
12
dev-python/unicrypto/metadata.xml
Normal file
12
dev-python/unicrypto/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">skelsec/unicrypto</remote-id>
|
||||
<remote-id type="pypi">unicrypto</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -16,7 +16,6 @@ SRC_URI="https://github.com/skelsec/unicrypto/archive/refs/tags/${PV}.tar.gz ->
|
|||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
|
|||
29
dev-python/unicrypto/unicrypto-0.0.12.ebuild
Normal file
29
dev-python/unicrypto/unicrypto-0.0.12.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Unified interface for cryptographic libraries"
|
||||
HOMEPAGE="https://github.com/skelsec/unicrypto"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
#SRC_URI="https://github.com/skelsec/unicrypto/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
#distutils_enable_tests pytest
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
eapply_user
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Unified interface for cryptographic libraries"
|
||||
HOMEPAGE="https://github.com/skelsec/unicrypto"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
#src_prepare() {
|
||||
#https://github.com/skelsec/unicrypto/issues/2
|
||||
#force pycryptodome backend
|
||||
# sed -i -e "s|override_library = None|override_library = \'Crypto\'|" unicrypto/__init__.py || die
|
||||
#override_library = 'cryptography' for dev-python/cryptography
|
||||
#override_library = 'mbedtls' for net-libs/mbedtls
|
||||
# eapply_user
|
||||
#}
|
||||
Loading…
Reference in a new issue