mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
minikerberos: add test and examples, drop old version
update metadata with pypi and github
This commit is contained in:
parent
34ed674811
commit
fa75348b5b
4 changed files with 47 additions and 44 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST minikerberos-0.4.2.tar.gz 127221 BLAKE2B 6a61ba6b5c24f17de4b2010293a5936c4893e6735179097e83868fc2f3b5067077459451e3ef6b8ce1453e9c73ea0e37dd21c4bd8b297afcc57193efbb38b731 SHA512 8e66a57c570df582dca49ff6d879b781d3c0bb0e7927e333f3ae1f57f04325fc83d43d496ce841fc20c5cc55ed50415cdcaaf97c052ca0fa9d20eb54d259e4ec
|
||||
DIST minikerberos-0.4.4.tar.gz 131352 BLAKE2B 631d582033c1c0fa781c3da41ba88829cf90b26152ace439b690dab48bd50964463754d2f4d16509ee3a3aaad502bcd10f6d231e0eb50fc103029e3d5d953fdf SHA512 96016196f899b3daf3aefa5a9a0c63435825e49b9fde7ff0028da3aa22ba9444e7ddd4947c6d52d6400983dc8f5b3ca04f47dcad38ce53c8e5b4d5eb2efb3a58
|
||||
DIST minikerberos-0.4.4.gh.tar.gz 168498 BLAKE2B 514725c99b75dc668343cff72702d532b51f13dc673e3db35d486989076d29a5fa8154a3bd87609030a80a24e05d42631629fad5bb29f84e660587d12e4c5143 SHA512 3e7e5e464eaf2c0b94e11ead13a1d2fd56e45a36fb9592aaa5d6de4beeecb8960df523ab647b1e9ab0e8104cec557803bd3dbfa1ae1dbf3333f4ecbd4d6fa198
|
||||
|
|
|
|||
|
|
@ -5,4 +5,8 @@
|
|||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">skelsec/minikerberos</remote-id>
|
||||
<remote-id type="pypi">minikerberos</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Kerberos manipulation library in pure Python"
|
||||
HOMEPAGE="https://github.com/skelsec/minikerberos"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asn1crypto-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oscrypto-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/asysocks-0.2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/unicrypto-0.0.10[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
eapply_user
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -6,28 +6,61 @@ EAPI=8
|
|||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
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=""
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asn1crypto-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oscrypto-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/asysocks-0.2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/oscrypto-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/unicrypto-0.0.10[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
eapply_user
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue