diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /dev-python/freezegun | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'dev-python/freezegun')
-rw-r--r-- | dev-python/freezegun/Manifest | 2 | ||||
-rw-r--r-- | dev-python/freezegun/freezegun-0.3.15.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index 370183d2dd60..b1274cdf7317 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -5,8 +5,10 @@ DIST freezegun-0.3.10.tar.gz 20398 BLAKE2B 971f4f3de565878b8a1e4671160f41cc7c558 DIST freezegun-0.3.12.tar.gz 24346 BLAKE2B 09d7c662a82d7b7fa6ae56c09bff0d73e2b63fba2b492620cd8e68ee06a15129a7e901418d1881e65b440babcfe0d014ad3574ab8dd2c7eab8486b3d868273ac SHA512 f7d98ea84735b24380fa53e1e62622fe91be5a35cb75221ca4cb02418add9b0a4add9b2f691242be75acbc45d4745fef82ffe3c89890dcdffa4405940e527af4 DIST freezegun-0.3.13.tar.gz 25419 BLAKE2B 8334f921609463bcb18779b61b234bb80406924578ccd43ca1f4a10c65eddf87f399fa7fb285453808988c6f74331345a373cbdcb29f3bd412f3a9e472fce43c SHA512 682f689c475ee574e7a466bfa102b96545cd8b7f095c4b5bdfda496ef667c712248db414d66c9f17fdb1a492c0deeb87a07d8b2a4128d7fdd771f89d5ea8277f DIST freezegun-0.3.14.tar.gz 25327 BLAKE2B d96dd84e73e1cd0fdcb8846d97901260aeab80b8ee1d1cc35715073df9693238b8b4e8b8163c6b70daf828f0f7f9e13e202ff99f3325871faca3c4a4331d63cb SHA512 960e63206622bbbc378a64a62c9c849cda1380c63c148588a10347c1bc6414aebffbbbca6c53e734c8651824688c38b47aa71192d94edaac0422caebf4b1cb8c +DIST freezegun-0.3.15.tar.gz 25530 BLAKE2B 866736cfe556da50f8edba55b0b84c7365e6a1bf32d88e84dfcee6046474b30a9ea15522c3356c5ca30f9a8b79096ba17fdaab240f20e4ef1f91b25ec8262716 SHA512 9f3836f8c9f207d9bccbcaec3f1af977b26aa3699ad5f792d052e105a0de530c6dda1641480c9cd551627186bf0c65d92bf39a6f4a61f458f762d8aa999180ba EBUILD freezegun-0.3.10.ebuild 947 BLAKE2B b6aa03aff7b51c74dda8e97ff2252ca92f74e68e7f400bc9e66ff418fc1d6df34da3a6591b1c448be053e4684e4eeebba3487bef2b7dbeb7276075e49618dd7a SHA512 ade1225993ce5d898ce6ac3c9421904412cd7268ecd4de872320d1e9d3adfbd8c91a7cea564fc0026741a47dec3a11fcd55239cb44020b28d21fd67371a0ae5c EBUILD freezegun-0.3.12-r1.ebuild 1292 BLAKE2B cd79b9dc5b5469ed1d3177af3b5b3ee5acd6a67b337a1c64f5964f58fdc2da79b9f3e7824f9e116ef2fe6c59fffd0b29fcae34e5445de02669a0d3c10da11479 SHA512 b54d404c9f2263f0da56956fc5bc48c73eb39e4fff015a5db8cc9c9bd36481340d36995647eac0b90374196ad8e03547562aed8d3aa242d3ef1ff1b07a329693 EBUILD freezegun-0.3.13.ebuild 1126 BLAKE2B 40c8161324a4f52d7799043c3856b594e1049325a3b4d0694371fc027cf5ff75d96af515763b36f1872fac37a02c442356a7afe23451766258d0a2e9e745be81 SHA512 9bc7cca4f4cce9a8bde0389ca6ad72cca53283082dca05866ea26d0225f6b63f2109d1e9261b20cfb9922b6f5316daf11c0b6e389f227995b578982c14472244 EBUILD freezegun-0.3.14.ebuild 1126 BLAKE2B 40c8161324a4f52d7799043c3856b594e1049325a3b4d0694371fc027cf5ff75d96af515763b36f1872fac37a02c442356a7afe23451766258d0a2e9e745be81 SHA512 9bc7cca4f4cce9a8bde0389ca6ad72cca53283082dca05866ea26d0225f6b63f2109d1e9261b20cfb9922b6f5316daf11c0b6e389f227995b578982c14472244 +EBUILD freezegun-0.3.15.ebuild 1126 BLAKE2B 40c8161324a4f52d7799043c3856b594e1049325a3b4d0694371fc027cf5ff75d96af515763b36f1872fac37a02c442356a7afe23451766258d0a2e9e745be81 SHA512 9bc7cca4f4cce9a8bde0389ca6ad72cca53283082dca05866ea26d0225f6b63f2109d1e9261b20cfb9922b6f5316daf11c0b6e389f227995b578982c14472244 MISC metadata.xml 392 BLAKE2B 574f859b6be3de78801f9214b561b366ddb87357be71a6891084da1f3de2e6481692d5da7ca6d5008d3ae963cc1e36ead4aae6115f0008d63d65a089cf70115f SHA512 b39f8a45d62f0c220fb915ad64c6a17e9f9619aa8c358694c3a3a83464eb5fcf50ed658430d9aabfb76e8310d4ab3baf059a8de78ebe46a59d6af187735489ed diff --git a/dev-python/freezegun/freezegun-0.3.15.ebuild b/dev-python/freezegun/freezegun-0.3.15.ebuild new file mode 100644 index 000000000000..c069ad36b75f --- /dev/null +++ b/dev-python/freezegun/freezegun-0.3.15.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 +} |