sys-libs/pam_wrapper: drop 1.1.4-r2, 1.1.4-r3

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-04-01 02:05:04 +01:00
parent c90a0c200b
commit 5cd8742956
4 changed files with 0 additions and 199 deletions

View File

@@ -1,2 +1 @@
DIST pam_wrapper-1.1.4.tar.gz 170882 BLAKE2B fa0a789f6fd6f809c7ef80e354e886b5f1f0b4212060dc0e388a44701e4a1f49635b8f47344156ad65cd273660e3b0a806480c37875a830e2f5d8e56c4ec0818 SHA512 3b68dc6d7815707d74d1340facd9c2de4dff3934402ac2c2632371b39c41a75744434744ed7308e157be03a03a941405638cadb6f34995de56fb1f5f45d37de2
DIST pam_wrapper-1.1.5.tar.gz 95037 BLAKE2B 78adeaac3994349460c2c9966e1145c3c6b78189cf1e6092cf0272bc82498c2182b114d718ce47b3403e32255d8ae5e65dee22e7bc261442323a661a4dbd1b38 SHA512 eee2c0683bd87c5416b52115105a9a2397cbec261e358ff20d9b272509f64ee5ea50a4adcb04f7791d451ca904ffd31c3bc07dc53555c3808f50f71634ab6323

View File

@@ -1,22 +0,0 @@
--- a/tests/pypamtest_test.py
+++ b/tests/pypamtest_test.py
@@ -15,19 +15,6 @@ class PyPamTestCase(unittest.TestCase):
self.assertSequenceEqual(test_result.errors, info_list)
class PyPamTestImport(unittest.TestCase):
- def setUp(self):
- " Make sure we load the in-tree module "
- if sys.hexversion >= 0x3000000:
- self.modpath = os.path.join(os.getcwd(), "../src/python/python3")
- else:
- self.modpath = os.path.join(os.getcwd(), "../src/python/python2")
- self.system_path = sys.path[:]
- sys.path = [ self.modpath ]
-
- def tearDown(self):
- " Restore the system path "
- sys.path = self.system_path
-
def testImport(self):
" Import the module "
try:

View File

@@ -1,88 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit cmake-multilib python-r1
DESCRIPTION="A tool to test PAM applications and PAM modules"
HOMEPAGE="https://cwrap.org/pam_wrapper.html"
SRC_URI="
https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
https://ftp.samba.org/pub/cwrap/${P}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Require newer PAM so we know where it's located, bug #825078
RDEPEND="
${PYTHON_DEPS}
>=sys-libs/pam-1.5.2-r1:0=[${MULTILIB_USEDEP}]
"
DEPEND="
${RDEPEND}
test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.4-tests-import.patch
)
multilib_src_configure() {
configure_for_python() {
local mycmakeargs=( -DUNIT_TESTING=OFF )
cmake_src_configure
}
if multilib_is_native_abi ; then
# Build the Pythons for each version (but only for the native ABI)
# bug #737468
python_foreach_impl configure_for_python
fi
# Do the regular build now
local mycmakeargs=(
-DUNIT_TESTING=$(usex test)
-DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
)
cmake_src_configure
}
multilib_src_compile() {
if multilib_is_native_abi ; then
python_foreach_impl cmake_src_compile
fi
# Compile the "proper" version without Python last
cmake_src_compile
}
multilib_src_test() {
cmake_src_test
# Fails b/c of sandbox?
#python_test() {
# local -x PYTHONPATH="${BUILD_DIR}/src/python/python3:${PYTHONPATH}"
# elog "${PYTHONPATH}"
# ${EPYTHON} "${S}"/tests/pypamtest_test.py || die "Tests failed with ${EPYTHON}"
#}
#if multilib_is_native_abi ; then
# python_foreach_impl python_test
#fi
}
multilib_src_install() {
if multilib_is_native_abi ; then
python_foreach_impl cmake_src_install
fi
# Install the "proper" version without Python last
cmake_src_install
}

View File

@@ -1,88 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit cmake-multilib python-r1
DESCRIPTION="A tool to test PAM applications and PAM modules"
HOMEPAGE="https://cwrap.org/pam_wrapper.html"
SRC_URI="
https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
https://ftp.samba.org/pub/cwrap/${P}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Require newer PAM so we know where it's located, bug #825078
RDEPEND="
${PYTHON_DEPS}
>=sys-libs/pam-1.5.3-r1:0=[${MULTILIB_USEDEP}]
"
DEPEND="
${RDEPEND}
test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.4-tests-import.patch
)
multilib_src_configure() {
configure_for_python() {
local mycmakeargs=( -DUNIT_TESTING=OFF )
cmake_src_configure
}
if multilib_is_native_abi ; then
# Build the Pythons for each version (but only for the native ABI)
# bug #737468
python_foreach_impl configure_for_python
fi
# Do the regular build now
local mycmakeargs=(
-DUNIT_TESTING=$(usex test)
-DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
)
cmake_src_configure
}
multilib_src_compile() {
if multilib_is_native_abi ; then
python_foreach_impl cmake_src_compile
fi
# Compile the "proper" version without Python last
cmake_src_compile
}
multilib_src_test() {
cmake_src_test
# Fails b/c of sandbox?
#python_test() {
# local -x PYTHONPATH="${BUILD_DIR}/src/python/python3:${PYTHONPATH}"
# elog "${PYTHONPATH}"
# ${EPYTHON} "${S}"/tests/pypamtest_test.py || die "Tests failed with ${EPYTHON}"
#}
#if multilib_is_native_abi ; then
# python_foreach_impl python_test
#fi
}
multilib_src_install() {
if multilib_is_native_abi ; then
python_foreach_impl cmake_src_install
fi
# Install the "proper" version without Python last
cmake_src_install
}