{ "info": { "author": "Mihai Ibanescu", "author_email": "Mihai.Ibanescu@sas.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: Microsoft :: Windows", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools", "Topic :: System :: Archiving :: Packaging" ], "description": "Pure Python implementation of rpmvercmp.\n\nThe RPM Package Manager (http://rpm.org) has a version comparision algorithm,\nimplemented in its C library, which performs the comparison in a certain way.\n\nIn certain circumstances, where the C library is not installable (for example,\non non-rpm based systems), or does not support the desired version of the\npython interpreter, the pure-python implementation may be useful.\n\nSource Code\n===========\nhttps://github.com/sassoftware/python-rpm-vercmp\n\nInstallation\n============\n $ pip install rpm_vercmp\n\nUsage\n=====\n\n import rpm_vercmp\n assert rpm_vercmp.vercmp(\"1.0\", \"1.0\") == 0\n assert rpm_vercmp.vercmp(\"1.0\", \"1.1\") == -1\n\nTesting\n=======\nThe testsuite uses rpm's test file in m4 format.\nThe file cat be fetched from:\nhttps://raw.githubusercontent.com/rpm-software-management/rpm/master/tests/rpmvercmp.at", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rpm-vercmp", "package_url": "https://pypi.org/project/rpm-vercmp/", "platform": "", "project_url": "https://pypi.org/project/rpm-vercmp/", "project_urls": null, "release_url": "https://pypi.org/project/rpm-vercmp/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Pure Python implementation of rpmvercmp", "version": "0.1.2" }, "last_serial": 4431786, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "32bb3d1ef91c518a8e9c3931ba7872f8", "sha256": "9cc611eabd40f712f91c61032d8a101e84dee44db8fc8024e35803a221460c5f" }, "downloads": -1, "filename": "rpm_vercmp-0.1.1.tar.gz", "has_sig": false, "md5_digest": "32bb3d1ef91c518a8e9c3931ba7872f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8834, "upload_time": "2018-10-30T14:24:49", "url": "https://files.pythonhosted.org/packages/62/27/cef239e50df62e2282296367b19d8d05ef967a9a1bc8accb1080d426509f/rpm_vercmp-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b46b1ca362d0ea5626a02bd2661b3d0b", "sha256": "73dd583f1ff7a798faff62d39659d8a3e5183099972b2fc028bfadd70a43eda8" }, "downloads": -1, "filename": "rpm_vercmp-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b46b1ca362d0ea5626a02bd2661b3d0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8852, "upload_time": "2018-10-30T14:29:10", "url": "https://files.pythonhosted.org/packages/03/85/322c80222742fd2ff810775e353265eb6b84cbc6ffa64c9ae5429853ed5c/rpm_vercmp-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b46b1ca362d0ea5626a02bd2661b3d0b", "sha256": "73dd583f1ff7a798faff62d39659d8a3e5183099972b2fc028bfadd70a43eda8" }, "downloads": -1, "filename": "rpm_vercmp-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b46b1ca362d0ea5626a02bd2661b3d0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8852, "upload_time": "2018-10-30T14:29:10", "url": "https://files.pythonhosted.org/packages/03/85/322c80222742fd2ff810775e353265eb6b84cbc6ffa64c9ae5429853ed5c/rpm_vercmp-0.1.2.tar.gz" } ] }