summaryrefslogtreecommitdiff
path: root/dev-python/arrow
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-23 08:15:01 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-23 09:27:28 +0200
commit81eac1a222dbbaf8adff9a3c6660ee0b530c8e2c (patch)
tree2af752aafaf88527fcb91f14234b0d4e88cef0da /dev-python/arrow
parent2ed201bb050ea3ccd731d5b17e078144919164bf (diff)
downloadgentoo-81eac1a222dbbaf8adff9a3c6660ee0b530c8e2c.tar.gz
gentoo-81eac1a222dbbaf8adff9a3c6660ee0b530c8e2c.tar.bz2
gentoo-81eac1a222dbbaf8adff9a3c6660ee0b530c8e2c.zip
dev-python/arrow: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/arrow')
-rw-r--r--dev-python/arrow/Manifest1
-rw-r--r--dev-python/arrow/arrow-1.2.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest
index 191b95df792e..67bfc1997a3e 100644
--- a/dev-python/arrow/Manifest
+++ b/dev-python/arrow/Manifest
@@ -1 +1,2 @@
DIST arrow-1.1.1.tar.gz 113054 BLAKE2B 7f9d205aaba1c8ea4ad433baad03cf2392e5dcb819a95ef8de612f7d6f8cbb8500d224648c61a0f48403878e9b02fa8e90e3e3fb6411fa23eaf1f333205f7c1e SHA512 eaa6cde1083a0ed1204260ae9b9c850ca2dfcc53858e2391def28b2aaefe78671166bfdefa1c725adceb26fa8425885d3a0c3914782203e1c3be593dd9a00349
+DIST arrow-1.2.0.tar.gz 115903 BLAKE2B d9f58ef6ffeb164a8ab1b210902b76f9efb0b08fc5e2a50611f81f903f9d8d5078b88929ef93146cf139ff1b32b993b69f96b56869680bb020264bf0056e514b SHA512 038bf7d7afbe2a3b419eec88c254d5233a5050eef97e00ca5e90e21cbfc8a157252bee269db45f25e3016cb50848c194ef456cd9eb04bb4f01d0c3614f4c49fa
diff --git a/dev-python/arrow/arrow-1.2.0.ebuild b/dev-python/arrow/arrow-1.2.0.ebuild
new file mode 100644
index 000000000000..bfa6e84743c4
--- /dev/null
+++ b/dev-python/arrow/arrow-1.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Better dates and times for Python"
+HOMEPAGE="https://github.com/arrow-py/arrow/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ ' pypy3)"
+
+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 -i -e '/addopts/d' tox.ini || die
+ distutils-r1_src_prepare
+}