summaryrefslogtreecommitdiff
path: root/dev-python/freezegun
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-python/freezegun
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-python/freezegun')
-rw-r--r--dev-python/freezegun/Manifest8
-rw-r--r--dev-python/freezegun/freezegun-0.3.10.ebuild4
-rw-r--r--dev-python/freezegun/freezegun-0.3.11.ebuild4
-rw-r--r--dev-python/freezegun/freezegun-0.3.12-r1.ebuild4
-rw-r--r--dev-python/freezegun/freezegun-0.3.13.ebuild46
5 files changed, 57 insertions, 9 deletions
diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest
index 5f055f0347dc..a2703bd0f9c8 100644
--- a/dev-python/freezegun/Manifest
+++ b/dev-python/freezegun/Manifest
@@ -4,7 +4,9 @@ AUX freezegun-0.3.12-tests.patch 431 BLAKE2B 42719249d4498d44f2810436b11e53b4b58
DIST freezegun-0.3.10.tar.gz 20398 BLAKE2B 971f4f3de565878b8a1e4671160f41cc7c558f5c848f5c79dfc48e3f3e3cb71ff9c71090705167d4252edbfee040ef52a7eafd33073011c07337311a7e0ec366 SHA512 64364459dc72484e2124a20a0a84d2b88617efd0578fba687adb51635d578a1e36a00cb119998082610c608e7b6c3589bff5424e38845bad026e85449c8065a5
DIST freezegun-0.3.11.tar.gz 23382 BLAKE2B 759cc0355c8600fc46124dfb73b46a771de5cae4e66f5826c175295da96190920d7ff45b6457a061276c0c698bd448e294f29f3b89a0ed8fe76db58e1180b080 SHA512 e8b392176641d52f6ed795c9af5fbc0a62892aeedf32b42375b56ab44a9ad7a5ecd3bb81363ed0ae65204aff2ef894cd7f2e17f42be72f31d3409b2bffa59ab8
DIST freezegun-0.3.12.tar.gz 24346 BLAKE2B 09d7c662a82d7b7fa6ae56c09bff0d73e2b63fba2b492620cd8e68ee06a15129a7e901418d1881e65b440babcfe0d014ad3574ab8dd2c7eab8486b3d868273ac SHA512 f7d98ea84735b24380fa53e1e62622fe91be5a35cb75221ca4cb02418add9b0a4add9b2f691242be75acbc45d4745fef82ffe3c89890dcdffa4405940e527af4
-EBUILD freezegun-0.3.10.ebuild 953 BLAKE2B b57ac38fe16e8bf255e317f8bb5b6fa18d3546a5fa853c721548540fea27434d83d77da97feff77744eff53117aa21f3e5aa759596d8857b072d370fd8402c6d SHA512 f466ea45fc4d8880f327835483109c49da31b738f2d34aa281f7c0e44dfca44f7448c859a321d23463d13474848188bae53e36b2de42492f3c15d77252851966
-EBUILD freezegun-0.3.11.ebuild 908 BLAKE2B 7133c4b2ef60a147479ef362174cf49a43feadcb709b753eb3766685568bea95e258f3549a0fb3e2e7870547f991407d6620d7bc342db4832971a34778685f91 SHA512 fa7f70603226bda71b641daa8fb6bde0b06b446950065b4ff189b6d7d8ea5e877882bf57ce6b61b06e9fa85d5b74527ae5d773ec701b9eea429894a79943390b
-EBUILD freezegun-0.3.12-r1.ebuild 1306 BLAKE2B 6695516c7d81a5d1cf3e99408ef4bb80e9af7b7ea7e529c66f28399869fd31b05f94afb0bfbd81299465b491679dbc2ff96d9a7302c8eff82319d10d3bd6bb86 SHA512 294298ffedbb8ac583e8c8d3d0aa0e857155d4fc1490e6ed5c68cc11481a4086d8f50285762a2b74d4416e34c3ad96feb6ce5d78ae814767c4b187b59def6aec
+DIST freezegun-0.3.13.tar.gz 25419 BLAKE2B 8334f921609463bcb18779b61b234bb80406924578ccd43ca1f4a10c65eddf87f399fa7fb285453808988c6f74331345a373cbdcb29f3bd412f3a9e472fce43c SHA512 682f689c475ee574e7a466bfa102b96545cd8b7f095c4b5bdfda496ef667c712248db414d66c9f17fdb1a492c0deeb87a07d8b2a4128d7fdd771f89d5ea8277f
+EBUILD freezegun-0.3.10.ebuild 946 BLAKE2B 32d543940a7b23525a9bd96f216935b95755f9317b21e574fc16ad8a46b39e26bbd0ffb5a98ac3439fda5d9269012b8c393b4e03f751f13db7d75136c2ac8e5f SHA512 2734f2a4bbd8df2ef5cc8c92c405f1a4167ae1e4cd0212e19c39ca424fe337c7b32693d19751c58207c4a47682a915d94e47e9f564d4ce0e51bcb877eedc9bce
+EBUILD freezegun-0.3.11.ebuild 901 BLAKE2B 141e5fcd1587c0eb4efe509c542d472c84e9a0cd0eae618cc952a5d72382f1662babd712ee7bb1ff6c66323a3b9d825b0b1492fc8bc99d45bc1adeba6f10b3c7 SHA512 46992699d6de127a767e4f6ed08187b93b65debf9e878beffcf6f076b998a474120c238ba6935d8dd9595746e632e563c7c952a1810615fd1cdc12d0b9870a7a
+EBUILD freezegun-0.3.12-r1.ebuild 1301 BLAKE2B e2ec979db1167999dbc968c202658ee7a7d7a812c1570d3f213ea26c7b500156b03bf93d3629eea1d3598dc5b5d6164b82add882bb453bf3024f4fc4494eaeb7 SHA512 0a9b44480f6d8a1992148e261f351873422f204c5bf4514bf072b2ca3f20c401610559ac13c69dfd2ab21fac3ac96cdb4f391ed06016ec7b590dbfba3ab3a087
+EBUILD freezegun-0.3.13.ebuild 1126 BLAKE2B 40c8161324a4f52d7799043c3856b594e1049325a3b4d0694371fc027cf5ff75d96af515763b36f1872fac37a02c442356a7afe23451766258d0a2e9e745be81 SHA512 9bc7cca4f4cce9a8bde0389ca6ad72cca53283082dca05866ea26d0225f6b63f2109d1e9261b20cfb9922b6f5316daf11c0b6e389f227995b578982c14472244
MISC metadata.xml 392 BLAKE2B 574f859b6be3de78801f9214b561b366ddb87357be71a6891084da1f3de2e6481692d5da7ca6d5008d3ae963cc1e36ead4aae6115f0008d63d65a089cf70115f SHA512 b39f8a45d62f0c220fb915ad64c6a17e9f9619aa8c358694c3a3a83464eb5fcf50ed658430d9aabfb76e8310d4ab3baf059a8de78ebe46a59d6af187735489ed
diff --git a/dev-python/freezegun/freezegun-0.3.10.ebuild b/dev-python/freezegun/freezegun-0.3.10.ebuild
index a398a264edc3..399af5cfe6a8 100644
--- a/dev-python/freezegun/freezegun-0.3.10.ebuild
+++ b/dev-python/freezegun/freezegun-0.3.10.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
inherit distutils-r1
diff --git a/dev-python/freezegun/freezegun-0.3.11.ebuild b/dev-python/freezegun/freezegun-0.3.11.ebuild
index 8211ca08193a..7fbca36505a1 100644
--- a/dev-python/freezegun/freezegun-0.3.11.ebuild
+++ b/dev-python/freezegun/freezegun-0.3.11.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
inherit distutils-r1
diff --git a/dev-python/freezegun/freezegun-0.3.12-r1.ebuild b/dev-python/freezegun/freezegun-0.3.12-r1.ebuild
index bef9ce1ee62a..b615b8ebe7cf 100644
--- a/dev-python/freezegun/freezegun-0.3.12-r1.ebuild
+++ b/dev-python/freezegun/freezegun-0.3.12-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
inherit distutils-r1
diff --git a/dev-python/freezegun/freezegun-0.3.13.ebuild b/dev-python/freezegun/freezegun-0.3.13.ebuild
new file mode 100644
index 000000000000..c069ad36b75f
--- /dev/null
+++ b/dev-python/freezegun/freezegun-0.3.13.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Let your Python tests travel through time"
+HOMEPAGE="https://github.com/spulec/freezegun"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="
+ >dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ $(python_gen_impl_dep sqlite)
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -r \
+ -e 's:(python-dateutil)>=2.0:\1:' \
+ -e "s:'(python-dateutil)>=[0-9.]+,.+':'\1':" \
+ -i setup.py
+
+ distutils-r1_python_prepare_all
+}
+
+python_prepare() {
+ # optional and only works with python3
+ if ! python_is_python3; then
+ rm freezegun/_async*.py || die
+ fi
+}