aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-yaml
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-06-23 16:56:29 +0800
committerpav <pav@FreeBSD.org>2006-06-23 16:56:29 +0800
commitce942f6ee1a66675e9d7e29235c0793dd3209242 (patch)
treea9a0d9ad6afad0268f6ebddb846d3940409b8ac2 /devel/py-yaml
parent1718dabf2439413544e33dae475c7f19a262dc27 (diff)
downloadfreebsd-ports-gnome-ce942f6ee1a66675e9d7e29235c0793dd3209242.tar.gz
freebsd-ports-gnome-ce942f6ee1a66675e9d7e29235c0793dd3209242.tar.zst
freebsd-ports-gnome-ce942f6ee1a66675e9d7e29235c0793dd3209242.zip
- Update to 3.03
PR: ports/99254 Submitted by: Neal Nelson <neal@nelson.name> (maintainer)
Diffstat (limited to 'devel/py-yaml')
-rw-r--r--devel/py-yaml/Makefile3
-rw-r--r--devel/py-yaml/distinfo6
-rw-r--r--devel/py-yaml/files/patch-lib_yaml_constructor.py12
-rw-r--r--devel/py-yaml/files/patch-lib_yaml_representer.py20
4 files changed, 4 insertions, 37 deletions
diff --git a/devel/py-yaml/Makefile b/devel/py-yaml/Makefile
index 5e4048db29d6..3932e6b3324b 100644
--- a/devel/py-yaml/Makefile
+++ b/devel/py-yaml/Makefile
@@ -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}
diff --git a/devel/py-yaml/distinfo b/devel/py-yaml/distinfo
index 92be5a23c40e..fce548de3b68 100644
--- a/devel/py-yaml/distinfo
+++ b/devel/py-yaml/distinfo
@@ -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
diff --git a/devel/py-yaml/files/patch-lib_yaml_constructor.py b/devel/py-yaml/files/patch-lib_yaml_constructor.py
deleted file mode 100644
index 896ae5da0565..000000000000
--- a/devel/py-yaml/files/patch-lib_yaml_constructor.py
+++ /dev/null
@@ -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
diff --git a/devel/py-yaml/files/patch-lib_yaml_representer.py b/devel/py-yaml/files/patch-lib_yaml_representer.py
deleted file mode 100644
index 3a2ce8ff842b..000000000000
--- a/devel/py-yaml/files/patch-lib_yaml_representer.py
+++ /dev/null
@@ -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):