diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-07 08:03:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-07 09:27:42 +0200 |
commit | 10018c494e6cc18d9feb0cccf6069c282fba674f (patch) | |
tree | 10ec3b7729db08ba9d509ac9da344bbe7ba93ccb /dev-python/arrow | |
parent | dev-python/django-otp: Bump to 1.0.1 (diff) | |
download | gentoo-10018c494e6cc18d9feb0cccf6069c282fba674f.tar.gz gentoo-10018c494e6cc18d9feb0cccf6069c282fba674f.tar.bz2 gentoo-10018c494e6cc18d9feb0cccf6069c282fba674f.zip |
dev-python/arrow: Bump to 0.17.0
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-0.17.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 7213c1eeb527..aa73c7e8653c 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1,2 +1,3 @@ DIST arrow-0.15.8.tar.gz 92220 BLAKE2B 8650d31b5b75c6222d86b5e13f253ae6baff66e91044a74235eda4589a47ebf680b31e2007fb13c83287402ffeaa446437aace9124637e6952ef139388aa51fa SHA512 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2 DIST arrow-0.16.0.tar.gz 94403 BLAKE2B 9d2ad18732cce5bafdb628a2e9b825e6d1ebd94f7848391c0a0752a802a7e2e8a34afe0da7474df0265c4a83016530a1c070f4f1629c8fee8172812a53a3a7af SHA512 e48316bd31a86d640e50987010bd56c6859e972522e753c00d83730f1ce4764716eb9a22c4aa9aa0d64949f25acb7e1a3479ce0e1c62058fcb887a442f2247d6 +DIST arrow-0.17.0.tar.gz 97411 BLAKE2B d908f9e98b4046aa8afbde992e108106e0cb81d5d37a556ace06585b7d354fa75338e5c4e4263ece0d8d043f29f3909e3c200b2c79c744a4bd13319764667998 SHA512 30ab01c66ef1dfb7fb35dc8609ca19039fa3e37638ff0df681d0ffc9dbc832e9d3a577d9a45fc70ff3e74aacb6198b37e61ada22854572c57c27d7ecbef09caa diff --git a/dev-python/arrow/arrow-0.17.0.ebuild b/dev-python/arrow/arrow-0.17.0.ebuild new file mode 100644 index 000000000000..1056296f2129 --- /dev/null +++ b/dev-python/arrow/arrow-0.17.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Better dates and times for Python" +HOMEPAGE="https://github.com/crsmithdev/arrow/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~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 -i -e '/addopts/d' tox.ini || die + distutils-r1_src_prepare +} |