pkgsrc/devel/py-ZopeSchema/Makefile
adam 5e848a8da5 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.
2020-06-08 13:24:35 +00:00

21 lines
911 B
Makefile

# $NetBSD: Makefile,v 1.4 2020/06/08 13:24:35 adam Exp $
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
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>=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"