VERSION = u"%d.%d.%d" % (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
MD5 = _createrepo_c.MD5
+SHA = _createrepo_c.SHA
SHA1 = _createrepo_c.SHA1
+SHA224 = _createrepo_c.SHA224
SHA256 = _createrepo_c.SHA256
+SHA384 = _createrepo_c.SHA384
+SHA512 = _createrepo_c.SHA512
AUTO_DETECT_COMPRESSION = _createrepo_c.AUTO_DETECT_COMPRESSION
UNKNOWN_COMPRESSION = _createrepo_c.UNKNOWN_COMPRESSION
/* Checksum types */
PyModule_AddIntConstant(m, "MD5", CR_CHECKSUM_MD5);
+ PyModule_AddIntConstant(m, "SHA", CR_CHECKSUM_SHA);
PyModule_AddIntConstant(m, "SHA1", CR_CHECKSUM_SHA1);
+ PyModule_AddIntConstant(m, "SHA224", CR_CHECKSUM_SHA224);
PyModule_AddIntConstant(m, "SHA256", CR_CHECKSUM_SHA256);
+ PyModule_AddIntConstant(m, "SHA384", CR_CHECKSUM_SHA384);
+ PyModule_AddIntConstant(m, "SHA512", CR_CHECKSUM_SHA512);
/* Compression types */
PyModule_AddIntConstant(m, "AUTO_DETECT_COMPRESSION", CR_CW_AUTO_DETECT_COMPRESSION);