diff options
Diffstat (limited to 'dev-python/freezegun')
-rw-r--r-- | dev-python/freezegun/Manifest | 2 | ||||
-rw-r--r-- | dev-python/freezegun/freezegun-1.3.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index 8c8febaf6539..69b77f0351a7 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -1,4 +1,6 @@ AUX freezegun-1.1.0-py310.patch 1056 BLAKE2B f1ffc2ed1d03d014c5d2e7c5ac41f75c62763e325fcb6004ac835336a461df7edbedb55278b2583a4153057a018ab16f4618f85be7e394886e1faf6de97cc7c4 SHA512 cd23ff28e9b05674ae58b7d8086d16be14277ec932628731ef7ae6c6149a0ac2ce32f75f18d6ec6f6dca4770fa9c0d225e02f2b680a6f71f131f9bcbdec6ac8a DIST freezegun-1.2.2.tar.gz 30670 BLAKE2B 88941ccd9694c842e4999da47e1a8fbe9b82c1fa512467de174715e627c213167cf3c7f943b35d039ff118bae9d1bca4b64ceaa5683db818727cd9ad2533a827 SHA512 c6dc3da66a2d3063f819a104b6bc98eb3d4b772b8edb06bde130a6e355d96e1861e650c44eb691be892223150a652a528fda4237bd77b1bdcee1fcfad74f307c +DIST freezegun-1.3.0.tar.gz 31165 BLAKE2B 69341b4b7fe52e0aa2ad7c70e6a1b9e4bcb5cdac88ac48e85a968b2159260a9aee4196fc9622a153d1d5ebfee3b081f568b01a5cd59ff388e7bf5a6900bb45f6 SHA512 a0de4f2827696ea0bc1e5ff89aae9dfc36e013e03212bc7d8c3a93addb55e408fe03744fb0638d5ca0758322e2f3e0acb503fbdecfa14dd128d0399c9a60edf1 EBUILD freezegun-1.2.2.ebuild 833 BLAKE2B 2856aeefc1a88854ab6465e69b44be68ef0ba11488ebd66d5c84948a9ae15edb3c107b4c0513bdf6c594d14df5a0a36faeb3f5449829b34009fc30e19fab7ca4 SHA512 8c654d9d69a86286b79a6db246e0484aa9bc267c0607398ad6e4ee5adf52932c3170707aa3b1996b520bef17e7446992a65d2b12a26028a6d7c38417813a07bd +EBUILD freezegun-1.3.0.ebuild 762 BLAKE2B 330faec028e1be22e3d00d723192d0ae60b51301406188ce82ffda6e0a456fafb47af08d594f1f8e84c204b3b61107821807a0e7ad467776e198034886425fca SHA512 9715f5e7a04b3b46bc72960411a197d7c1872415a85ae181581aa7d6057482df8436af5cebeb6112320e1adcbdbb71bb7943f7e7ae8218a40eeb7cd126bb725b MISC metadata.xml 393 BLAKE2B b2cf7947fff6a03fba00b03503693e0ecb16b4934602ba66225f1d339db131975cea5f503b4b18fac54b38853905d21a1e56b5250674bc6d8cc0fe3e7d37403c SHA512 6bc2d99fc1d7c5c0a259424423f45fdd6bf23ae09c1f42bb5ab777fcefe4b1915cea96b1c767b7e048770b1c5ab9f2b0947fca4438838a4ee20f072f974c0a80 diff --git a/dev-python/freezegun/freezegun-1.3.0.ebuild b/dev-python/freezegun/freezegun-1.3.0.ebuild new file mode 100644 index 000000000000..52f4b81dc5b8 --- /dev/null +++ b/dev-python/freezegun/freezegun-1.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Let your Python tests travel through time" +HOMEPAGE=" + https://github.com/spulec/freezegun/ + https://pypi.org/project/freezegun/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +RDEPEND=" + >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |