1 |
1 |
# Copyright 2004-2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
6 |
PYTHON_COMPAT=( python3_{10..11} )
|
7 |
7 |
# NEED_BOOTSTRAP is for developers to quickly generate a tarball
|
8 |
8 |
# for publishing to the tree.
|
9 |
9 |
NEED_BOOTSTRAP="no"
|
10 |
|
inherit eapi8-dosym multibuild multilib python-any-r1 flag-o-matic toolchain-funcs multilib-minimal
|
|
10 |
inherit multibuild multilib python-any-r1 flag-o-matic toolchain-funcs multilib-minimal
|
11 |
11 |
|
12 |
12 |
DESCRIPTION="Extended crypt library for descrypt, md5crypt, bcrypt, and others"
|
13 |
13 |
HOMEPAGE="https://github.com/besser82/libxcrypt"
|
... | ... | |
20 |
20 |
|
21 |
21 |
LICENSE="LGPL-2.1+ public-domain BSD BSD-2"
|
22 |
22 |
SLOT="0/1"
|
23 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
23 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
24 |
24 |
IUSE="+compat split-usr static-libs +system test headers-only"
|
25 |
25 |
REQUIRED_USE="split-usr? ( system )"
|
26 |
26 |
RESTRICT="!test? ( test )"
|
... | ... | |
50 |
50 |
)
|
51 |
51 |
"
|
52 |
52 |
RDEPEND="${DEPEND}"
|
53 |
|
BDEPEND="dev-lang/perl
|
54 |
|
test? ( $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') )"
|
|
53 |
BDEPEND="
|
|
54 |
dev-lang/perl
|
|
55 |
test? ( $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') )
|
|
56 |
"
|
55 |
57 |
|
56 |
58 |
python_check_deps() {
|
57 |
59 |
python_has_version "dev-python/passlib[${PYTHON_USEDEP}]"
|
... | ... | |
304 |
306 |
local libdir_no_prefix=$(get_xclibdir)
|
305 |
307 |
libdir_no_prefix=${libdir_no_prefix#${EPREFIX}}
|
306 |
308 |
libdir_no_prefix=${libdir_no_prefix%/usr}
|
307 |
|
dosym8 -r "/$(get_libdir)/${lib_file_target}" "/usr/${libdir_no_prefix}/${lib_file_basename}"
|
|
309 |
dosym -r "/$(get_libdir)/${lib_file_target}" "/usr/${libdir_no_prefix}/${lib_file_basename}"
|
308 |
310 |
done
|
309 |
311 |
|
310 |
312 |
rm "${D}"$(get_xclibdir)/*$(get_libname) || die "Removing symlinks in incorrect location failed"
|