Diff libxcrypt-4.4.35 with a libxcrypt-4.4.36
/usr/portage/sys-libs/libxcrypt/libxcrypt-4.4.36.ebuild 2023-10-09 14:52:35.556368503 +0300 | ||
---|---|---|
13 | 13 |
HOMEPAGE="https://github.com/besser82/libxcrypt" |
14 | 14 |
if [[ ${NEED_BOOTSTRAP} == "yes" ]] ; then |
15 | 15 |
inherit autotools |
16 |
SRC_URI="https://github.com/besser82/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
16 |
SRC_URI="https://github.com/besser82/libxcrypt/releases/download/v${PV}/${P}.tar.xz" |
|
17 | 17 |
else |
18 | 18 |
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-autotools.tar.xz" |
19 | 19 |
fi |
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 )" |
... | ... | |
55 | 55 |
test? ( $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') ) |
56 | 56 |
" |
57 | 57 | |
58 |
PATCHES=( |
|
59 |
"${FILESDIR}/${P}-smartmatch.patch" |
|
60 |
) |
|
61 | ||
62 | 58 |
python_check_deps() { |
63 | 59 |
python_has_version "dev-python/passlib[${PYTHON_USEDEP}]" |
64 | 60 |
} |
... | ... | |
76 | 72 | |
77 | 73 |
pkg_setup() { |
78 | 74 |
MULTIBUILD_VARIANTS=( |
79 |
$(usex compat 'xcrypt_compat' '') |
|
75 |
$(usev compat 'xcrypt_compat') |
|
80 | 76 |
xcrypt_nocompat |
81 | 77 |
) |
82 | 78 | |
... | ... | |
158 | 154 |
get_xclibdir() { |
159 | 155 |
printf -- "%s/%s/%s/%s\n" \ |
160 | 156 |
"$(get_xcprefix)" \ |
161 |
"$(usex split-usr '' '/usr')" \ |
|
157 |
"$(usev !split-usr '/usr')" \ |
|
162 | 158 |
"$(get_libdir)" \ |
163 |
"$(usex system '' 'xcrypt')" |
|
159 |
"$(usev !system 'xcrypt')" |
|
164 | 160 |
} |
165 | 161 | |
166 | 162 |
get_xcincludedir() { |
167 | 163 |
printf -- "%s/usr/include/%s\n" \ |
168 | 164 |
"$(get_xcprefix)" \ |
169 |
"$(usex system '' 'xcrypt')" |
|
165 |
"$(usev !system 'xcrypt')" |
|
170 | 166 |
} |
171 | 167 | |
172 | 168 |
get_xcmandir() { |