diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-07 18:39:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-07 18:51:49 +0100 |
commit | 9f50927caf46203eeb18254ff88441980e4a6b47 (patch) | |
tree | 59ebda45782158bae1bba700eee94fa8406f308a /dev-python/arrow | |
parent | sys-kernel/gentoo-sources: Linux version bumps and genpatches (diff) | |
download | gentoo-9f50927caf46203eeb18254ff88441980e4a6b47.tar.gz gentoo-9f50927caf46203eeb18254ff88441980e4a6b47.tar.bz2 gentoo-9f50927caf46203eeb18254ff88441980e4a6b47.zip |
dev-python/arrow: Bump to 1.0.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.0.3.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 822eb9265399..6cf9e7466461 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -2,3 +2,4 @@ DIST arrow-0.17.0.tar.gz 97411 BLAKE2B d908f9e98b4046aa8afbde992e108106e0cb81d5d DIST arrow-1.0.0.tar.gz 101951 BLAKE2B b8949dc2274f44020bd70e1013b3b3053789319daae0c630e17d2bac66d614e958b2d34ed9b06a1a5502a21684de10e053d4f1e70bfaf9a630548135d72f364f SHA512 4e487a0c1c6f55361b8ec673082d61efec1b27a32b19e2e599a344407737e5eea47ee8e2173b2f089e69a5638f99022870bb3ac57f31c16d5b4efd2858933fa8 DIST arrow-1.0.1.tar.gz 102243 BLAKE2B bad601878bf692858db56967b456fa0c413faebcaaeee352ffe40933cfd915dca8dbbcc2ce4e4f37e03b393acdbfc94d49b8825664a9d1e246ae91a350e9cfcd SHA512 5500df4af6ac8c2858dc98a427a4b81d51d08a4bb44841ef03bbb3a57c9c9004a306e5d627a5202d5b7498dfb71c3602c1ec265666958a94b95861c901ecd79a DIST arrow-1.0.2.tar.gz 102330 BLAKE2B 2f7b737890aceceb265d2790d163c2d2325e78cc9045a95523b4e71d520f7d1fdb10efd18ccfc305bf10b27cf8f503a4e5bfc81897936b7c63600a3569ddd230 SHA512 a1ddfda75c84bd1e7708ba8368bbf672b1906bcd3a10cfb9ff867c72acd4da977089b4059b16de29c6112ce793e459f9eaa173f345bd25727c2dcbacbe235b05 +DIST arrow-1.0.3.tar.gz 102536 BLAKE2B 020b9b12a529f31c8054cfe98b99ee791cd1f2889422e4bb1b0bb6873ff4c1748951b63d20d2526af2bea3ff13b26d809b35eed36984d1063c35c334d76ee416 SHA512 f8da6574758ca1f319ed9d71e4fc6e44d3c3db0a6fe36c8868c3515ab789093660e3d57d6de60813cf2eb57c7a3a8bfe92facbb410a383528cb1fbc37d860b49 diff --git a/dev-python/arrow/arrow-1.0.3.ebuild b/dev-python/arrow/arrow-1.0.3.ebuild new file mode 100644 index 000000000000..81e5cb7ef66e --- /dev/null +++ b/dev-python/arrow/arrow-1.0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +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 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" + +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 +} |