mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Update to 3.03
PR: ports/99254 Submitted by: Neal Nelson <neal@nelson.name> (maintainer)
This commit is contained in:
parent
d74664f0e1
commit
1f8e489eb2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166095
@ -7,8 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= yaml
|
||||
PORTVERSION= 3.02
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.03
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://pyyaml.org/download/pyyaml/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (PyYAML-3.02.tar.gz) = 5bc328467bb287328402350ffa0b59c7
|
||||
SHA256 (PyYAML-3.02.tar.gz) = eb94f3d570b3cd748a6b926ea8c599980345fe2e07938f4a179766afa8e2197b
|
||||
SIZE (PyYAML-3.02.tar.gz) = 38764
|
||||
MD5 (PyYAML-3.03.tar.gz) = 6546195b4b7e99b24f8048b29487d8ee
|
||||
SHA256 (PyYAML-3.03.tar.gz) = 709fcc27d59e474d2f21c3b94c806ac8f5b8b2e5d692f9ff7ee714a55009b159
|
||||
SIZE (PyYAML-3.03.tar.gz) = 38830
|
||||
|
@ -1,12 +0,0 @@
|
||||
Index: lib/yaml/constructor.py
|
||||
===================================================================
|
||||
--- pyyaml/trunk/lib/yaml/constructor.py (revision 147)
|
||||
+++ pyyaml/trunk/lib/yaml/constructor.py (revision 168)
|
||||
@@ -232,5 +232,7 @@
|
||||
return sign*int(value)
|
||||
|
||||
- inf_value = 1e300000
|
||||
+ inf_value = 1e300
|
||||
+ while repr(inf_value) != repr(inf_value*inf_value):
|
||||
+ inf_value *= inf_value
|
||||
nan_value = inf_value/inf_value
|
@ -1,20 +0,0 @@
|
||||
Index: lib/yaml/representer.py
|
||||
===================================================================
|
||||
--- pyyaml/trunk/lib/yaml/representer.py (revision 152)
|
||||
+++ pyyaml/trunk/lib/yaml/representer.py (revision 168)
|
||||
@@ -193,7 +193,12 @@
|
||||
return self.represent_scalar(u'tag:yaml.org,2002:int', unicode(data))
|
||||
|
||||
- repr_pos_inf = repr(1e300000)
|
||||
- repr_neg_inf = repr(-1e300000)
|
||||
- repr_nan = repr(1e300000/1e300000)
|
||||
+ inf_value = 1e300
|
||||
+ while repr(inf_value) != repr(inf_value*inf_value):
|
||||
+ inf_value *= inf_value
|
||||
+ nan_value = inf_value/inf_value
|
||||
+
|
||||
+ repr_pos_inf = repr(inf_value)
|
||||
+ repr_neg_inf = repr(-inf_value)
|
||||
+ repr_nan = repr(inf_value/inf_value)
|
||||
|
||||
def represent_float(self, data):
|
Loading…
Reference in New Issue
Block a user