Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-ZopeSchema py-ZopeSchema: updated to 6.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38d783cc3512
branches:  trunk
changeset: 433890:38d783cc3512
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 08 13:24:35 2020 +0000

description:
py-ZopeSchema: updated to 6.0.0

6.0.0:
Require zope.interface 5.0.
Ensure the resolution orders of all fields are consistent and make sense. In particular, Bool fields now correctly implement IBool before IFromUnicode.
Add support for Python 3.8.
Drop support for Python 3.4.

5.0.1:
Fix: add Text.unicode_normalization = 'NFC' as default, because some are persisting schema fields. Setting that attribute only in __init__ breaks loading old objects.

5.0:
Set IDecimal attributes min, max and default as Decimal type instead of Number.
Enable unicode normalization for Text fields. The default is NFC normalization. Valid forms are ‘NFC’, ‘NFKC’, ‘NFD’, and ‘NFKD’. To disable normalization, set unicode_normalization to False or None 
when calling __init__ of the Text field.

diffstat:

 devel/py-ZopeSchema/Makefile |  11 +++++++----
 devel/py-ZopeSchema/distinfo |  10 +++++-----
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs (44 lines):

diff -r f04a00fe8536 -r 38d783cc3512 devel/py-ZopeSchema/Makefile
--- a/devel/py-ZopeSchema/Makefile      Mon Jun 08 13:18:38 2020 +0000
+++ b/devel/py-ZopeSchema/Makefile      Mon Jun 08 13:24:35 2020 +0000
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.3 2018/10/15 10:30:59 adam Exp $
+# $NetBSD: Makefile,v 1.4 2020/06/08 13:24:35 adam Exp $
 
-DISTNAME=      zope.schema-4.9.3
+DISTNAME=      zope.schema-6.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/zope.s/ZopeS/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zope.schema/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://docs.zope.org/zopetoolkit/
+HOMEPAGE=      https://github.com/zopefoundation/zope.schema
 COMMENT=       Zope Interface extension for defining data schemas
 LICENSE=       zpl-2.1
 
 DEPENDS+=      ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent
-DEPENDS+=      ${PYPKGPREFIX}-ZopeInterface>=3.6.0:../../devel/py-ZopeInterface
+DEPENDS+=      ${PYPKGPREFIX}-ZopeInterface>=5.0.0:../../devel/py-ZopeInterface
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeI18NMessageid-[0-9]*:../../devel/py-ZopeI18NMessageid
+TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeTestrunner-[0-9]*:../../devel/py-ZopeTestrunner
+TEST_DEPENDS+= ${PYPKGPREFIX}-zope.testing-[0-9]*:../../devel/py-zope.testing
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f04a00fe8536 -r 38d783cc3512 devel/py-ZopeSchema/distinfo
--- a/devel/py-ZopeSchema/distinfo      Mon Jun 08 13:18:38 2020 +0000
+++ b/devel/py-ZopeSchema/distinfo      Mon Jun 08 13:24:35 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/10/15 10:30:59 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/06/08 13:24:35 adam Exp $
 
-SHA1 (zope.schema-4.9.3.tar.gz) = eb79035003cb6aa262a1738eb771a338630822b0
-RMD160 (zope.schema-4.9.3.tar.gz) = 4433773bd7b3f1adb30cead0e8f4b03cec990d23
-SHA512 (zope.schema-4.9.3.tar.gz) = 63cdf431ba2aa79eb5771f99cf0a60932182edae00a63873f96cc02c70f826d23c72ecabd736d0f6439d63af900b4ee2c05246eabe0b1689b01bc15a09648504
-Size (zope.schema-4.9.3.tar.gz) = 98217 bytes
+SHA1 (zope.schema-6.0.0.tar.gz) = bda8e40da9afcf1931420a9d156741b77ad623b5
+RMD160 (zope.schema-6.0.0.tar.gz) = fef30d030fd9fa4172591b9d4e8559eb820d6e94
+SHA512 (zope.schema-6.0.0.tar.gz) = 3258e6b2bf97485b9496f19319ef5af9a1e908b6c2661c27f45cfd64057597cfd514acbe79d86ddda1b80e66be45a10680fc3d9e662513b360d5f047917735d8
+Size (zope.schema-6.0.0.tar.gz) = 110343 bytes


Home | Main Index | Thread Index | Old Index