diff options
Diffstat (limited to 'dev-python/arrow')
| -rw-r--r-- | dev-python/arrow/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/arrow/arrow-1.4.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 5c8e2401fd82..5ab63f65bc18 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1 +1,2 @@ DIST arrow-1.3.0.tar.gz 131960 BLAKE2B 892ed898ea09a00ca100eada18956994d3567836c30feec50e1d2d1bca6a603c3f9254def16cd55b46e68c1530f8bf7c0f55401b458cc5aadf0883ade0899e90 SHA512 f0725e75d1005e0177bb234b3d2523aaf9e882ec08b020f6b3737a3af27af3c8c031aee9dcba0332595845a09a0286d56662b77ddad8a6da928ba37201725239 +DIST arrow-1.4.0.tar.gz 152931 BLAKE2B 48321e9b2b5aa34ada8ffec37f8b7866b65b79457a24f259df0a44df1bb2c3385042e8a48e997780f53a8833f183870cf2eceb57d661e44f8f4d7fd421871840 SHA512 25163555797aa14eb97fc3fb9153c6a9238a9cde961c5205b8d232c2d0d24beff00cd7ab21a63b6563b6812a0649b0dcd11696e236615132c4bd7be595d82299 diff --git a/dev-python/arrow/arrow-1.4.0.ebuild b/dev-python/arrow/arrow-1.4.0.ebuild new file mode 100644 index 000000000000..7fc3506ced15 --- /dev/null +++ b/dev-python/arrow/arrow-1.4.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Better dates and times for Python" +HOMEPAGE=" + https://github.com/arrow-py/arrow/ + https://pypi.org/project/arrow/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' tox.ini || die + distutils-r1_src_prepare +} |
