summaryrefslogtreecommitdiff
path: root/dev-python/aniso8601
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/aniso8601
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/aniso8601')
-rw-r--r--dev-python/aniso8601/Manifest7
-rw-r--r--dev-python/aniso8601/aniso8601-4.0.1.ebuild26
-rw-r--r--dev-python/aniso8601/aniso8601-8.0.0.ebuild2
-rw-r--r--dev-python/aniso8601/files/aniso8601-4.0.1-mock.patch113
-rw-r--r--dev-python/aniso8601/metadata.xml1
5 files changed, 4 insertions, 145 deletions
diff --git a/dev-python/aniso8601/Manifest b/dev-python/aniso8601/Manifest
index 4c91b93c6825..39f6d6c9bbac 100644
--- a/dev-python/aniso8601/Manifest
+++ b/dev-python/aniso8601/Manifest
@@ -1,6 +1,3 @@
-AUX aniso8601-4.0.1-mock.patch 3115 BLAKE2B abc21dc08430c62ddc7019706343402e882de46bf72e6e8199248838736663ab38087d4aea005827852cbf1540352d6db4e8137691b7d09045de2bf643d7c7c4 SHA512 1ec5cca9c542c5d8f82bd560fe86f64b344cd98ff352851115e729f88c6b4347d19c748473c03ba4bd8dfe6709fac902133162dd34f3f45b4eeb8c6ddfc9eef3
-DIST aniso8601-4.0.1.tar.gz 109849 BLAKE2B 487bf340e181997219c2e39ed887161c3f5daa336cee79ce947b55a11c463b439086c3985fc93184de550f5e34e03f2d855ccb9a3072c0dc16ac21bf02a7e78f SHA512 5638ebf82a1a1aceee866eb17e8e4b5c8023961a9e31ce3e12123b89dba0ea0924e10a6aa458c838fcfdb72b94af4e81b3e9e8805cb534a1eccaf5a51f2026c9
DIST aniso8601-8.0.0.tar.gz 37007 BLAKE2B bb5f42928308fab7746cbea364c03db4813b1b25883495d0488eb755e14f465300662b07c4ccfd03328a0c0f07ed87056ccc13f2652648c4838b0433740fc3ab SHA512 1e6c43f77993e829833d819f7c2b9b1d31f30ca46e258faac0e0b3be864da07436ae34f05710309302477bb3eede5966c95ef3b124c9b353b306c2272dc4cb9d
-EBUILD aniso8601-4.0.1.ebuild 720 BLAKE2B 3fbd728c31c0a58b000ca0890dd634f0f1a21cb41823b16caa0721ef04262ebf5c8dcba9bcc86898340b2b5cac65afe4dffa43adbd3934384eda90c1be353c18 SHA512 39ea4077f428dfa5771ae4de971ac903d8ca9bbae546866b19807cc4071b43b639707c8417a6f17704c87584137d20f80bf4c37f3f5e89185159f364c016e532
-EBUILD aniso8601-8.0.0.ebuild 523 BLAKE2B 224a6912129e228160e14b86fc89bacd3269b324cc2af9bcfb5d770fcf5ff85daa374ea5d9df041aed4569c94bd81cb7777bc7ee3b6646149c7025a0e76a523c SHA512 5e371c96f4291fd546af54bb979141fb3bba918d98c3e3b8905bac74630bd49660b3e2cfe5b7b8d87e0537aca6e18aad82bd3c916b28b390d9421d82eda1ca6d
-MISC metadata.xml 385 BLAKE2B 665a2f5886166953707e75ee9f5bc225154157431ae9a9b6bb7cbcb8103150753a848ff184100c73177f40f6c5b11f1ccb4d0037504d67513810cd6dac8a1f34 SHA512 43b38fe6bef338dd41825197e7d3d0bfd3f040ce52073a6db93592f1b49bea4141a58ecc55e71b742c498a62000a2666c456b08d15bf25888858dce310e38121
+EBUILD aniso8601-8.0.0.ebuild 520 BLAKE2B c2ca8a08c88eee1b72124028a0c3d8fe2168b9f923c7922fcf246705f7a544a9d76f8cb3d33785ae269bb82662d423bcaabd53f8aeaf17c4e7667670e962f4b9 SHA512 c7e6be54f58aeca1f65cc3888672a9987b1c351d0264441c4dcb58f72154ae1d1df4f916e51c04c1d03f268655e48c6eca2bf4f7d9b0845f4f9974883897806a
+MISC metadata.xml 410 BLAKE2B a90d3f803fe5f99e83046d3cc1ebf5ec993c18e8aafdbddc2c8928a6b5e4b961e511a027366a59b4133fad65c425393513c1ab9960c32d8119c06da7ec113ee9 SHA512 2ea6cd3e1268d3e14817f2334e3946671161422cba8be852cb7b74ddbe60ceb89fdde07629d2d8be5677cb2820e05db7f67c335a95b74d42a3e23a91a7d8b603
diff --git a/dev-python/aniso8601/aniso8601-4.0.1.ebuild b/dev-python/aniso8601/aniso8601-4.0.1.ebuild
deleted file mode 100644
index c4edf99b8b64..000000000000
--- a/dev-python/aniso8601/aniso8601-4.0.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A library for parsing ISO 8601 strings"
-HOMEPAGE="https://bitbucket.org/nielsenb/aniso8601/ https://pypi.org/project/aniso8601/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=( "${FILESDIR}"/${P}-mock.patch )
-
-python_test() {
- "${PYTHON}" -m unittest discover ${PN}/tests -v || die "tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/aniso8601/aniso8601-8.0.0.ebuild b/dev-python/aniso8601/aniso8601-8.0.0.ebuild
index 118b9c5c1bc4..f05ce8ac852a 100644
--- a/dev-python/aniso8601/aniso8601-8.0.0.ebuild
+++ b/dev-python/aniso8601/aniso8601-8.0.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 arm64 x86"
RDEPEND=">=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}]"
diff --git a/dev-python/aniso8601/files/aniso8601-4.0.1-mock.patch b/dev-python/aniso8601/files/aniso8601-4.0.1-mock.patch
deleted file mode 100644
index 11cf4ca70cf6..000000000000
--- a/dev-python/aniso8601/files/aniso8601-4.0.1-mock.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-From 12c2e06a88832fa208c9c0361e5ce91436a5d5ac Mon Sep 17 00:00:00 2001
-From: Tim Harder <radhermit@gmail.com>
-Date: Thu, 27 Dec 2018 01:42:45 -0600
-Subject: [PATCH] Use mock from unittest for python3.
-
----
- aniso8601/tests/test_builder.py | 5 ++++-
- aniso8601/tests/test_date.py | 5 ++++-
- aniso8601/tests/test_duration.py | 5 ++++-
- aniso8601/tests/test_interval.py | 5 ++++-
- aniso8601/tests/test_time.py | 5 ++++-
- aniso8601/tests/test_timezone.py | 5 ++++-
- 6 files changed, 24 insertions(+), 6 deletions(-)
-
-diff --git a/aniso8601/tests/test_builder.py b/aniso8601/tests/test_builder.py
-index 453f781..aafc7fe 100644
---- a/aniso8601/tests/test_builder.py
-+++ b/aniso8601/tests/test_builder.py
-@@ -9,7 +9,10 @@
- import datetime
- import pickle
- import unittest
--import mock
-+try:
-+ from unittest import mock
-+except ImportError:
-+ import mock
- import aniso8601
- import dateutil.relativedelta
-
-diff --git a/aniso8601/tests/test_date.py b/aniso8601/tests/test_date.py
-index 2c60245..a991be1 100644
---- a/aniso8601/tests/test_date.py
-+++ b/aniso8601/tests/test_date.py
-@@ -7,7 +7,10 @@
- # of the BSD license. See the LICENSE file for details.
-
- import unittest
--import mock
-+try:
-+ from unittest import mock
-+except ImportError:
-+ import mock
- import aniso8601
-
- from aniso8601.exceptions import ISOFormatError
-diff --git a/aniso8601/tests/test_duration.py b/aniso8601/tests/test_duration.py
-index ed8383f..b835e1b 100644
---- a/aniso8601/tests/test_duration.py
-+++ b/aniso8601/tests/test_duration.py
-@@ -7,7 +7,10 @@
- # of the BSD license. See the LICENSE file for details.
-
- import unittest
--import mock
-+try:
-+ from unittest import mock
-+except ImportError:
-+ import mock
- import aniso8601
-
- from aniso8601.exceptions import ISOFormatError, NegativeDurationError
-diff --git a/aniso8601/tests/test_interval.py b/aniso8601/tests/test_interval.py
-index d05909d..d14045d 100644
---- a/aniso8601/tests/test_interval.py
-+++ b/aniso8601/tests/test_interval.py
-@@ -7,7 +7,10 @@
- # of the BSD license. See the LICENSE file for details.
-
- import unittest
--import mock
-+try:
-+ from unittest import mock
-+except ImportError:
-+ import mock
- import aniso8601
-
- from aniso8601.exceptions import ISOFormatError
-diff --git a/aniso8601/tests/test_time.py b/aniso8601/tests/test_time.py
-index 6cca13d..bade083 100644
---- a/aniso8601/tests/test_time.py
-+++ b/aniso8601/tests/test_time.py
-@@ -7,7 +7,10 @@
- # of the BSD license. See the LICENSE file for details.
-
- import unittest
--import mock
-+try:
-+ from unittest import mock
-+except ImportError:
-+ import mock
- import aniso8601
-
- from aniso8601.resolution import TimeResolution
-diff --git a/aniso8601/tests/test_timezone.py b/aniso8601/tests/test_timezone.py
-index 77903cb..1f43052 100644
---- a/aniso8601/tests/test_timezone.py
-+++ b/aniso8601/tests/test_timezone.py
-@@ -7,7 +7,10 @@
- # of the BSD license. See the LICENSE file for details.
-
- import unittest
--import mock
-+try:
-+ from unittest import mock
-+except ImportError:
-+ import mock
- import aniso8601
-
- from aniso8601.exceptions import ISOFormatError
---
-2.20.1
-
diff --git a/dev-python/aniso8601/metadata.xml b/dev-python/aniso8601/metadata.xml
index 3543616a84e9..6c7edb3b894b 100644
--- a/dev-python/aniso8601/metadata.xml
+++ b/dev-python/aniso8601/metadata.xml
@@ -5,6 +5,7 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="pypi">aniso8601</remote-id>
<remote-id type="bitbucket">nielsenb/aniso8601</remote-id>