diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/arrow | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/arrow')
-rw-r--r-- | dev-python/arrow/Manifest | 15 | ||||
-rw-r--r-- | dev-python/arrow/arrow-0.13.1.ebuild | 36 | ||||
-rw-r--r-- | dev-python/arrow/arrow-0.15.7.ebuild | 2 | ||||
-rw-r--r-- | dev-python/arrow/arrow-0.15.8.ebuild (renamed from dev-python/arrow/arrow-0.15.6.ebuild) | 4 | ||||
-rw-r--r-- | dev-python/arrow/arrow-0.16.0.ebuild (renamed from dev-python/arrow/arrow-0.15.5.ebuild) | 18 | ||||
-rw-r--r-- | dev-python/arrow/files/arrow-0.15.5-remove-dateparser.patch | 39 | ||||
-rw-r--r-- | dev-python/arrow/metadata.xml | 1 |
7 files changed, 19 insertions, 96 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 4c606867ac17..f2a92d4d2d6c 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1,10 +1,7 @@ -AUX arrow-0.15.5-remove-dateparser.patch 1250 BLAKE2B b9fc76fd97b74f11bb8a9511ff86a046f46dbf942187d64d7937f6b0392fb062eb33463754708fa4f6732a23b19fd61bf1e9dd4987c736e5ade20354e9c2b6ed SHA512 9bc8017bbef9768069c62e760120ce90d79d5ebcee470a4dc8a8fc88754c477779d3a6b0ffa07ca886c0d35b3afd5cafc57bc162d80abf601ba7116db4d10bc1 -DIST arrow-0.13.1.tar.gz 148509 BLAKE2B 7a47f8886cc2f50f6dda682daab37c599aad15c7e4a0c76b1324f9fe3a1b8168e3a2b29352bdc9c4daf0fa3b3843fa919d5256997c673bcb24ca033312242b60 SHA512 4933e02fe4ef7a632d55e5c6d2cbcefe6840467c809e0377be92f02d0dc10b5b2421cea2be7ddd5158236ec80f44848125253bfeef5a2ae635a3b9c5761fa105 -DIST arrow-0.15.5.tar.gz 82264 BLAKE2B 2091e16921a5f9f944de3f25ce853b50973d970d982b880fafa75ee37f98110dde05bfd02bb8ce27518ed17600e5bcfb8602c353d7e3af249aa4bfc4b642356d SHA512 cb147a1f2976e6cedddbf2d2d0d5ce69a4a609d4c0c3d68f96b317fc2af334552cb0c1a94aa5bb38e6d74ca7e1beab1ae8a325920a15efd79c35835c92df2409 -DIST arrow-0.15.6.tar.gz 83160 BLAKE2B 1a79e91a3185b8866653646f1a553d141b0c20b4712ab809add0362c76f7f9086a259db9827423074387017c439664e5c8bd663b719eadf725a4de608f370cc2 SHA512 c56316f8c535c6f14ccaab32e2559b45309170fd47e8728cdd8c0e2af9398264f90fbdd0ece82d14e3f959d24b186fac3e8bb52cf7a64fe0dcd4c247650c73b5 DIST arrow-0.15.7.tar.gz 89278 BLAKE2B 591fbd63aaeb644ab21f0499df7929cdafe181ad9065459677c84347395dcc694e39db47d596b4d3f920e32e3f1e03da1d9e85c8f197d545dd335e9055a65f47 SHA512 28cfc9edbf013ee03bb52c9794333d725a4fc967f0c8c6837931fc6994e08c367763deb193b8eae8b931cf849294bfce3470316c0a1b73340eb96ca1c9d8959c -EBUILD arrow-0.13.1.ebuild 732 BLAKE2B f41fddc75737387efa31433f3d923a028a74a938b8e5ec5414b9d298df8f6326a31c4af9d3ea313bc6c885e23862fc929b4b3f290b2771210e495075eea3c87b SHA512 79bd09eee7f07b0893b444200cda484a63e4b65053a07b76f9de117d32ef8937ec24614f10d1c115fc4f74d2a6dad768072c9fbdbd641f4a997f7c071a629f39 -EBUILD arrow-0.15.5.ebuild 706 BLAKE2B 04fe820f518415378b6af72e9b9514de3a00a1bc25f1c8f86ddb6afd98aed03fd8c6edc9ad8947ba9813cc0a18c3fc75ffe5e46c7449a24c93ecc37f100e88c3 SHA512 70e515edac5aed1d9b5a15c3c79a1ba831401daaa6e12d0624bd3ca82833ae805a475d5ea07e8b5c177ddd4fd07e330b3fded39a7776c4d76d192a5df5ce5f8f -EBUILD arrow-0.15.6.ebuild 698 BLAKE2B 4130f9faf46dcd064fc56f506a49bfe4392e4f76dce6fe01352461d703f4b402973edcd4eeb0a7c0449da24b46e6bef8ed0f994dadd099cde3d649a2c3b8bc62 SHA512 ba31024b9c81bf0e2cba8400f840668c492e37ed3e9c0bbeefb35842144f2dae176fcccf67f80642720ed12b4fb342c957f306fad7ff0b324c0207b2548e0c8b -EBUILD arrow-0.15.7.ebuild 695 BLAKE2B 3f2eba848502d058d2858188e71a227d7f82a512865c3e63a08f5efa3049a002bbd87b93c01880ab4f4253c77131be8368f3a272c6b3cfb399deb3c612212804 SHA512 44d62ab72071526f7fe6a95e0201f5b2d34fbfea7b23ae508417ea7cf32c535810d3910c9ef72638e670bffe834a76d59d4f985a340963baaa724a078583b1b8 -MISC metadata.xml 364 BLAKE2B c9cf1b8e27d0ae03d522628edffd052df05f37a857d671df00ec0f2868c598ba983b32b66a98c0f4ff814f8fb5fcad8482592852c38384c7eb99bb71f0ac8b32 SHA512 4288f06ad48ba051749472da3ff12ab53d50226c053764c9c175ac13a24b8817c731350ae153ef83ee02db04aa6ba7735cb30b8e35339badc0e46b6998773015 +DIST arrow-0.15.8.tar.gz 92220 BLAKE2B 8650d31b5b75c6222d86b5e13f253ae6baff66e91044a74235eda4589a47ebf680b31e2007fb13c83287402ffeaa446437aace9124637e6952ef139388aa51fa SHA512 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2 +DIST arrow-0.16.0.tar.gz 94403 BLAKE2B 9d2ad18732cce5bafdb628a2e9b825e6d1ebd94f7848391c0a0752a802a7e2e8a34afe0da7474df0265c4a83016530a1c070f4f1629c8fee8172812a53a3a7af SHA512 e48316bd31a86d640e50987010bd56c6859e972522e753c00d83730f1ce4764716eb9a22c4aa9aa0d64949f25acb7e1a3479ce0e1c62058fcb887a442f2247d6 +EBUILD arrow-0.15.7.ebuild 693 BLAKE2B 1a17920f4be6b1636a112c4836fd5df0d70752cf731cc5dd6336cacce74a0b7582b74464b153c4665651c9ac9c0c7edb486bcaa8a107e168052a065c54c00bb3 SHA512 737b3519042b7f72f6fb36a03f3cb1ca99940ed6bdc1daeb7b3b0823ad97a4fcc6cc0d5fd2851f9e4f26ff52b40d42b7a857ca8fdfdc47de87ee2005bfd5b0fa +EBUILD arrow-0.15.8.ebuild 695 BLAKE2B 3f2eba848502d058d2858188e71a227d7f82a512865c3e63a08f5efa3049a002bbd87b93c01880ab4f4253c77131be8368f3a272c6b3cfb399deb3c612212804 SHA512 44d62ab72071526f7fe6a95e0201f5b2d34fbfea7b23ae508417ea7cf32c535810d3910c9ef72638e670bffe834a76d59d4f985a340963baaa724a078583b1b8 +EBUILD arrow-0.16.0.ebuild 703 BLAKE2B 5974df6331c78efa84ef7dbe22555d20bc963a327446445688199003bd5c539e8e012839eaf24d0358d59ae8494012d46927231bd8ce4a29f9081c403242eb88 SHA512 52894163dbc1fbf14d6f489d1c5300154a57a8d7b243a6b79b4d5c0aa3622e051bc7081e8090e849fece78a9efe0cb7004ab0b4156d415ca116a12e0ed643573 +MISC metadata.xml 388 BLAKE2B 68ef136715f60b69973bcfa1957f23ddf81a8d1cb99d2edaf955562b78f6d92a6187b97f208366b320c0bf140d2ce0d9b62aa9a8d6631b9277f58dd60cfdf5bf SHA512 66f3d1a07042e4e935dcac1e5417893b9fd7b9e97b9f7e3670c85960dc2344e101715cfc11fd2776aeddad8b622c4e8fbe509ee5d93c5250183486a7dd53e16b diff --git a/dev-python/arrow/arrow-0.13.1.ebuild b/dev-python/arrow/arrow-0.13.1.ebuild deleted file mode 100644 index 32e2d4b9a904..000000000000 --- a/dev-python/arrow/arrow-0.13.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python{3_6,3_7} ) - -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" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}]" - -DEPEND=" - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/chai[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - ${RDEPEND} - )" - -python_prepare() { - sed -i -e "/with-coverage/d" setup.cfg || die -} - -python_test() { - nosetests -v || die -} diff --git a/dev-python/arrow/arrow-0.15.7.ebuild b/dev-python/arrow/arrow-0.15.7.ebuild index be803b27abc6..575b3b8a087f 100644 --- a/dev-python/arrow/arrow-0.15.7.ebuild +++ b/dev-python/arrow/arrow-0.15.7.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]" diff --git a/dev-python/arrow/arrow-0.15.6.ebuild b/dev-python/arrow/arrow-0.15.8.ebuild index 055eb05fe410..be803b27abc6 100644 --- a/dev-python/arrow/arrow-0.15.6.ebuild +++ b/dev-python/arrow/arrow-0.15.8.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -27,6 +27,6 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { - sed -i -e '/addopts/d' setup.cfg || die + sed -i -e '/addopts/d' tox.ini || die distutils-r1_src_prepare } diff --git a/dev-python/arrow/arrow-0.15.5.ebuild b/dev-python/arrow/arrow-0.16.0.ebuild index 4c301a3683a4..1056296f2129 100644 --- a/dev-python/arrow/arrow-0.15.5.ebuild +++ b/dev-python/arrow/arrow-0.16.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -12,21 +12,21 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}]" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" BDEPEND=" test? ( - dev-python/chai[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}] )" -distutils_enable_tests setup.py +distutils_enable_tests pytest -PATCHES=( - "${FILESDIR}"/arrow-0.15.5-remove-dateparser.patch -) +src_prepare() { + sed -i -e '/addopts/d' tox.ini || die + distutils-r1_src_prepare +} diff --git a/dev-python/arrow/files/arrow-0.15.5-remove-dateparser.patch b/dev-python/arrow/files/arrow-0.15.5-remove-dateparser.patch deleted file mode 100644 index ea3b7847964b..000000000000 --- a/dev-python/arrow/files/arrow-0.15.5-remove-dateparser.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 00b34547e99259eda92d7bd1ca406e74693d6861 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 19 Apr 2020 18:30:20 +0200 -Subject: [PATCH] Remove test requiring dateparser - ---- - tests/factory_tests.py | 9 --------- - 1 file changed, 9 deletions(-) - -diff --git a/tests/factory_tests.py b/tests/factory_tests.py -index abdd0d0..65fa1bb 100644 ---- a/tests/factory_tests.py -+++ b/tests/factory_tests.py -@@ -2,7 +2,6 @@ - import time - from datetime import date, datetime - --import dateparser - from chai import Chai - from dateutil import tz - -@@ -113,14 +112,6 @@ class GetTests(Chai): - - assertDtEqual(self.factory.get(tz.gettz("US/Pacific")), self.expected) - -- # regression test for issue #658 -- def test_one_arg_dateparser_datetime(self): -- expected = datetime(1990, 1, 1).replace(tzinfo=tz.tzutc()) -- # dateparser outputs: datetime.datetime(1990, 1, 1, 0, 0, tzinfo=<StaticTzInfo 'UTC\+00:00'>) -- parsed_date = dateparser.parse("1990-01-01T00:00:00+00:00") -- dt_output = self.factory.get(parsed_date)._datetime.replace(tzinfo=tz.tzutc()) -- self.assertEqual(dt_output, expected) -- - def test_kwarg_tzinfo(self): - - self.expected = ( --- -2.26.1 - diff --git a/dev-python/arrow/metadata.xml b/dev-python/arrow/metadata.xml index 2115d1102a30..731d99c54338 100644 --- a/dev-python/arrow/metadata.xml +++ b/dev-python/arrow/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="github">crsmithdev/arrow</remote-id> <remote-id type="pypi">arrow</remote-id> |