mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-python/xattr: drop 1.0.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST xattr-1.0.0.tar.gz 15880 BLAKE2B 4a02743379f9c80658690ee2fa2f204de17cb1f8667c23c43876f8dd88dee974b73d076dc25d46b374d32606190f26cd003b13ffb7ba5f9262e57e71d4228e9d SHA512 0939e341d960f63e181328ed39dd4ab1e8f34d87d25165d646463e793c7a135260f07b106067bbee803838a5eb003a213961137b45f0a340e81dbf659352dbce
|
|
||||||
DIST xattr-1.1.0.tar.gz 16634 BLAKE2B e920afbdc7c154e4558debb08f3b3230295854c799dcc3a28eaddb6d5a9a011bcab460c3d9a3f944cc43705796fb1fb5c57bb3b15653a128b91be17decc7b86c SHA512 b23eb96be5d6810ff2251418a2c2687d15cc98ceed422abe4a8bce01c77dda2969525f07feaf468bc43b60b6df6d573f15787b6221ed5816a772abd93ac47f8f
|
DIST xattr-1.1.0.tar.gz 16634 BLAKE2B e920afbdc7c154e4558debb08f3b3230295854c799dcc3a28eaddb6d5a9a011bcab460c3d9a3f944cc43705796fb1fb5c57bb3b15653a128b91be17decc7b86c SHA512 b23eb96be5d6810ff2251418a2c2687d15cc98ceed422abe4a8bce01c77dda2969525f07feaf468bc43b60b6df6d573f15787b6221ed5816a772abd93ac47f8f
|
||||||
|
|||||||
@@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
DISTUTILS_EXT=1
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Python wrapper for extended filesystem attributes"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pypi.org/project/xattr/
|
|
||||||
https://github.com/xattr/xattr
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/cffi-1.16.0[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
test? ( sys-apps/attr )
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
cd "${T}" || die
|
|
||||||
epytest "${S}"/tests
|
|
||||||
}
|
|
||||||
|
|
||||||
check_xattr() {
|
|
||||||
touch tt || die
|
|
||||||
|
|
||||||
setfattr -n "user.testAttr" -v "attribute value" tt || return 1
|
|
||||||
getfattr -n "user.testAttr" tt >/dev/null || return 1
|
|
||||||
|
|
||||||
rm -f tt
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if ! check_xattr; then
|
|
||||||
ewarn "Extended attributes not supported on your filesystem, skipping tests"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_src_test
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user