re-add freezegun-1.2.1 (from main)
This commit is contained in:
parent
95c8a0c431
commit
ae03ee698d
|
@ -523,12 +523,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
|||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1895 Ebuilds in total, 1888 of them have in total 1900 (35 different) licenses assigned.
|
||||
There are 1896 Ebuilds in total, 1889 of them have in total 1901 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1143|
|
||||
|Apache-2.0|360|
|
||||
|Apache-2.0|361|
|
||||
|GPL-3|117|
|
||||
|BSD|104|
|
||||
|LGPL-3|29|
|
||||
|
@ -563,9 +563,9 @@ There are 1895 Ebuilds in total, 1888 of them have in total 1900 (35 different)
|
|||
|CC-BY-NC-SA-4.0|1|
|
||||
|CC0-1.0|1|
|
||||
|
||||
(Last counted: 20/09/2022)
|
||||
(Last counted: 21/09/2022)
|
||||
|
||||
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
|
||||
|
||||
A big thanks goes to Iris for reviewing this README.
|
||||
Last updated: 20/09/2022
|
||||
Last updated: 21/09/2022
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
AUX freezegun-1.1.0-py310.patch 1056 BLAKE2B f1ffc2ed1d03d014c5d2e7c5ac41f75c62763e325fcb6004ac835336a461df7edbedb55278b2583a4153057a018ab16f4618f85be7e394886e1faf6de97cc7c4 SHA512 cd23ff28e9b05674ae58b7d8086d16be14277ec932628731ef7ae6c6149a0ac2ce32f75f18d6ec6f6dca4770fa9c0d225e02f2b680a6f71f131f9bcbdec6ac8a
|
||||
DIST freezegun-1.2.1.tar.gz 29740 BLAKE2B 780b0573602df157b9b195c3fbd76c81c893a4558355bdf26661f8ec1fb4b6a265c0b684f1c812a6a52ca7beed4dd36b1cc0fb675acf3c7e10a8e264ad0a3b6d SHA512 5f8334a66dc33cbffa8f22d41e101d66c99a1ac4b7a0c24ee6da62b58dab2b0b340ade48b8dd0020d4fb4cb6e082071869a2757bbd05eff703f66f167050d4e1
|
||||
EBUILD freezegun-1.2.1.ebuild 616 BLAKE2B 172f74c03c6e3ab63f074060c7fb0284014f4f5dcf5e86e600514dd1f2ce4f4a694cbbad662688d5fab8681d31d012c5ad9df4fb147805caadb7c33cabe747b3 SHA512 d73755e205795efd9c3c85f2f4f840b0e9e242acbc4a35a6834375ac3a130ba4ef80bc67670e47b2998bf768f1ee3bcc62d89e1d48c01f94e8bc6df5bc37ed7b
|
||||
MISC metadata.xml 449 BLAKE2B a623c80c24abd4912ede97d1c8620a702e81bd3a1e48849de582f709ee91f3c5674227e976ca92e440f2de299b1e2594172dc37a0e8c125e84a6fffb98bd117c SHA512 5b6b4adb238508734730ab94c35f53be3f247fc0752968182b2bea8392f456e04f04bd1ee64c8b4ba5fee4cbc6a677d2cfac37c89f8c6af98b4a763f02ee4af3
|
|
@ -0,0 +1,30 @@
|
|||
From 57d024e4ce2516c55c715448296b9099db68343c Mon Sep 17 00:00:00 2001
|
||||
From: Karthikeyan Singaravelan <tir.karthi@gmail.com>
|
||||
Date: Fri, 7 May 2021 15:51:33 +0000
|
||||
Subject: [PATCH] Fix decorate_class for Python 3.10 where staticmethod is
|
||||
callable.
|
||||
|
||||
(edited by mgorny for more readable indent)
|
||||
---
|
||||
freezegun/api.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/freezegun/api.py b/freezegun/api.py
|
||||
index cab9ebe..eb3a931 100644
|
||||
--- a/freezegun/api.py
|
||||
+++ b/freezegun/api.py
|
||||
@@ -598,7 +598,10 @@ class _freeze_time(object):
|
||||
continue
|
||||
seen.add(attr)
|
||||
|
||||
- if not callable(attr_value) or inspect.isclass(attr_value):
|
||||
+ # staticmethods are callable from Python 3.10 . Hence skip them from decoration
|
||||
+ if (not callable(attr_value)
|
||||
+ or inspect.isclass(attr_value)
|
||||
+ or isinstance(attr_value, staticmethod)):
|
||||
continue
|
||||
|
||||
try:
|
||||
--
|
||||
2.31.1
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
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="amd64 arm arm64 x86"
|
||||
|
||||
RDEPEND=">dev-python/python-dateutil-2.7[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-1.1.0-py310.patch")
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">freezegun</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>spulec@gmail.com</email>
|
||||
<name>Steve Pulec</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue