cleanup, rework ~arm & ~arm64 KEYWORDS, all untested, fixes #46

This commit is contained in:
2021-12-21 19:29:18 +01:00
committed by Andreas Billmeier
parent 052f01363e
commit fd4723101b
669 changed files with 1113 additions and 1785 deletions

View File

@@ -1,5 +1,4 @@
AUX 0001-zoneinfo-Get-timezone-data-from-system-tzdata.patch 3504 BLAKE2B b26810c285257c14eec697e7529c3a85c637619dc19979a48b16b0ce45780041e84946748b30b048de84f5b35bb320dd7f79a22a13f42954433ad7ec7f3286a4 SHA512 37ad4c6630b0055a57704b375e6fa869c87a16b0d5d6c79bf77dd5cdfd7aeac56ad696e5a8acc5028b34dec35b932fa76e9fa8b26095cd369508af3386d3f89c
DIST python-dateutil-2.8.0.tar.gz 327134 BLAKE2B 6525eee57aeaef3c588413210df7c1ad3627a380c6e44af78e9acc9abea523b29e8d9afec495f8d1e585d25d32ab82e6e28bf93dca148893d2e6a533e1f4ce47 SHA512 ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81
EBUILD python-dateutil-2.8.0-r1.ebuild 1125 BLAKE2B 5083320f964dd7573fa8a14d1640375598d6dcd6cc8d97ed6db15d2afee3d26eab4ebf4af0014a8d7a04be889d916370ba706b6053b46fe71ee2f873d993da97 SHA512 610603e8b94bbcd0f99f84102ede0d5f0f60f8050cd0bdc05083425b6cbc25077e5364e1d6ffaf93c178a45eb84e9813fde014d0ab93fa5df68180511f142f90
EBUILD python-dateutil-2.8.0.ebuild 1144 BLAKE2B 9567d6311be7a716a155a44db1e478893bafaa72587831375dd378e915d083091edfbbb4e1d42a2b2dfd7da5c895844bf99fdd2578ea2d35ded408a1b8631a54 SHA512 e3ce2000a4833c9f4e30f2020927430ec720d9f6a37faa7b1efcb4411e23b116a379d3a6cbec4ee8f09369e96a7f8570f3248d95d3f7a54adb0523b541a72e1c
EBUILD python-dateutil-2.8.0-r1.ebuild 1126 BLAKE2B d1eacc87e39016e6281ffe2ed6aab73663ea2a4abf06ceeabc21873dda97860d5d4e6de0d2920e030b0bae453a8e54506096238d23af02fa1d389b5e29cb9f99 SHA512 42a7307f4dc456390ced69aee73922da6c43c8353d812fe34add72c257751becabf851a2591ecee0002274ce9d37444a0aca52210188005ccbea4c3ab245ca1c
MISC metadata.xml 603 BLAKE2B 1bf49feeeec3ffc2f767228a84b3f9edf53cf44d8a1df3fa8f85798c0d3ea8f448d6113d425baa6b4b342b88746133d2770b951488d602dbb175f5ff9a99ea36 SHA512 87f5ea8b8918e72b57b91d32ed103d88f93ad9fbbe0a8f3f8b8ea72627d82e5cac25246553a0cb6988af26c30841ca5a3ddccf7f957603283a1b4e455a7c6439

View File

@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 x86 amd64-linux x86-linux"
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux x86-linux"
IUSE="test"
RDEPEND="

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="Extensions to the standard Python datetime module"
HOMEPAGE="
https://dateutil.readthedocs.org/
https://pypi.org/project/python-dateutil
https://github.com/dateutil/dateutil/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
sys-libs/timezone-data
"
DEPEND="${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
local PATCHES=(
"${FILESDIR}"/0001-zoneinfo-Get-timezone-data-from-system-tzdata.patch
)
# don't install zoneinfo tarball
sed -i '/package_data=/d' setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}