diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-04 17:49:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-04 18:22:13 +0200 |
commit | 0787202369f63e7c5230592a8b596c307cf98724 (patch) | |
tree | bee2824342e3227cf801767eec2c0bf3026c515b /dev-python/arrow | |
parent | sci-mathematics/z3: Bump to 4.11.2 (diff) | |
download | gentoo-0787202369f63e7c5230592a8b596c307cf98724.tar.gz gentoo-0787202369f63e7c5230592a8b596c307cf98724.tar.bz2 gentoo-0787202369f63e7c5230592a8b596c307cf98724.zip |
dev-python/arrow: Bump to 1.2.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/arrow')
-rw-r--r-- | dev-python/arrow/Manifest | 1 | ||||
-rw-r--r-- | dev-python/arrow/arrow-1.2.3.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 00b1f1828774..49af92701742 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1 +1,2 @@ DIST arrow-1.2.2.tar.gz 123174 BLAKE2B b8b8d83ede0c61840ffcc75272a0275b6120cc142197c5f95f0fdb7d53981879b431f074db9606caa8d9817761cc4847a525bbc6449c05155410808960a1541e SHA512 f88afa9a0bc967e8731a7bf1712ecf3810f12ade9cc53a94a74efd3ece750f37bea7541a054eb9acd12b99b4a6d32687eab4eae20a6f49b2c2d6f1b499221542 +DIST arrow-1.2.3.tar.gz 127552 BLAKE2B 35f5b694d819d80913b5938e4af71f413fd3944636c1e89a79e868c03cb423f75692c1f0e8d85dba21e640591f8cd0404cdc6d77dd59956490d268fb4c9fdc7b SHA512 e90276f50bf8521570cc2cdbf011ff376e0d5bada0576bbfc76f6c63730c13f7eba1d978cc3a481e7c7356b0dce7c554f19cbf3ef03b280c5515be72d2c7d177 diff --git a/dev-python/arrow/arrow-1.2.3.ebuild b/dev-python/arrow/arrow-1.2.3.ebuild new file mode 100644 index 000000000000..edfe817caa50 --- /dev/null +++ b/dev-python/arrow/arrow-1.2.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Better dates and times for Python" +HOMEPAGE=" + https://github.com/arrow-py/arrow/ + https://pypi.org/project/arrow/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i tox.ini || die + distutils-r1_src_prepare +} |