re-add python-dateutil-2.8.1-r3 from main
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
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
|
||||
DIST python-dateutil-2.8.1.tar.gz 331745 BLAKE2B 9785fe93976d9bbe21d6610133e37e558cdde4062a1a738ccbf2bf80aa062882ba59c60f2b9bfc44c53e0f8fc4b5ebdd5d12b6ba54a60706576360e453b2f160 SHA512 337000216e0f8ce32d6363768444144183ab9268f69082f20858f2b3322b1c449e53b2f2b5dcb3645be22294659ce7838f74ace2fd7a7c4f2adc6cf806a9fa2c
|
||||
EBUILD python-dateutil-2.8.0-r1.ebuild 1126 BLAKE2B d1eacc87e39016e6281ffe2ed6aab73663ea2a4abf06ceeabc21873dda97860d5d4e6de0d2920e030b0bae453a8e54506096238d23af02fa1d389b5e29cb9f99 SHA512 42a7307f4dc456390ced69aee73922da6c43c8353d812fe34add72c257751becabf851a2591ecee0002274ce9d37444a0aca52210188005ccbea4c3ab245ca1c
|
||||
EBUILD python-dateutil-2.8.1-r3.ebuild 1340 BLAKE2B 8f8e2e3d36045f209552b16a6df0e5648a7410865b0d7116e747bac5a59a13a9e72d9583a953b14569ded3442bc7a414005b77f2952368e2d98f10b3a4c3a373 SHA512 38476d0ba7a9d468ad98c98000e65304afe65495d4e90c5294425ff3634102268956b976937a935aec70aed31faec12164cc993c49330f4cd8f775643a917fc6
|
||||
MISC metadata.xml 603 BLAKE2B 1bf49feeeec3ffc2f767228a84b3f9edf53cf44d8a1df3fa8f85798c0d3ea8f448d6113d425baa6b4b342b88746133d2770b951488d602dbb175f5ff9a99ea36 SHA512 87f5ea8b8918e72b57b91d32ed103d88f93ad9fbbe0a8f3f8b8ea72627d82e5cac25246553a0cb6988af26c30841ca5a3ddccf7f957603283a1b4e455a7c6439
|
||||
|
||||
54
dev-python/python-dateutil/python-dateutil-2.8.1-r3.ebuild
Normal file
54
dev-python/python-dateutil/python-dateutil-2.8.1-r3.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extensions to the standard Python datetime module"
|
||||
HOMEPAGE="
|
||||
https://dateutil.readthedocs.io/
|
||||
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="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/six-1.5[${PYTHON_USEDEP}]
|
||||
sys-libs/timezone-data
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0001-zoneinfo-Get-timezone-data-from-system-tzdata-r1.patch"
|
||||
"${FILESDIR}/python-dateutil-2.8.1-no-pytest-cov.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't install zoneinfo tarball
|
||||
sed -i '/package_data=/d' setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
if [[ ${EPYTHON} == python3.7 ]]; then
|
||||
# these tests are flakey on 3.7
|
||||
rm dateutil/test/property/test_{parser,isoparse}_prop.py || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user