Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python extension for comparing version strings.
- Loading branch information
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
PORTNAME= looseversion | ||
PORTVERSION= 1.1.2 | ||
CATEGORIES= devel python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= krion@FreeBSD.org | ||
COMMENT= Python extension for comparing version strings | ||
WWW= https://pypi.org/project/looseversion/ | ||
|
||
LICENSE= PSFL | ||
|
||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} | ||
|
||
USES= cpe python:3.7+ | ||
USE_PYTHON= autoplist concurrent pep517 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1682157623 | ||
SHA256 (looseversion-1.1.2.tar.gz) = 94d80bdbd0b6d57c11b886147ba1601f7d1531571621b81933b34537cbe469ad | ||
SIZE (looseversion-1.1.2.tar.gz) = 8393 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
A backwards/forwards-compatible fork of distutils.version.LooseVersion, for | ||
times when PEP-440 isn't what you need. | ||
|
||
The goal of this package is to be a drop-in replacement for the original | ||
LooseVersion. It implements an identical interface and comparison logic to | ||
LooseVersion. The only major change is that a looseversion.LooseVersion is | ||
comparable to a distutils.version.LooseVersion, which means tools should not | ||
need to worry whether all dependencies that use LooseVersion have migrated. |