From nobody Wed Jun 07 12:11:26 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QbmR26Mnfz4bx5R; Wed, 7 Jun 2023 12:11:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QbmR25y8tz45cC; Wed, 7 Jun 2023 12:11:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686139886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+qGNDk1vCwFp3NBIKb3Vh7OJUThSgkFCes8KjOx23Yg=; b=tNtL4D+bKabXNOwSWQZy2VANKfdf+wEqAkoT/rKtYo2NmYc5LiGdSYKpqPP1II9L4EOtCW Fs0ZWSbUkgFP/vsBD9xRKyXM117v8gq8wlous320rlgbLHkVFDH1BQz4MOFXvFZacX9BFb xsCVogOhT9Xu7A523PQEO9k+vU91o0B98kb4nhshBDzklRG0d9N2nCxmUOAHHjDoiMwDjT 7s52tFJ8eqcVgPdoG/rNzQlZgOZ0BKjvJgAi26j7BK1nFNe2cAr50mrEXrj3lJk9UIMdks i9wQAp62NS/ahJ6r1MA7a38InaVWBwQjxbBV6H0PoxUQN8emgodCdjLu8kTdhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686139886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+qGNDk1vCwFp3NBIKb3Vh7OJUThSgkFCes8KjOx23Yg=; b=UFtnJqqY8/1s/t6bF6JyV+rlOlAwAJxSxslIe0D2MVrQU6NBXtIdNQjdLqQSCP5VrVNqo7 ivPd2AvuuCJebeliTRGl9wPEDyMNGD6vM7odd9ONKuE2/JXEUemiuwHsC0BAQm5UDBbZCb Np4lBSeAjraH+QcrrvZhhA1/bf1+e8vE+TBkyK28HF5chJCEo5xPF///DLtKrJ7wgCQ1QH LlrtimF0cf/vYhLDyCRKFE0s8yCZER3BrF517fGHEjmiN/dZ9afl2noBwu0gPkiS8r2OtV rM1tId3gC74rJ94Id+3M1YNCuKwzXfWF9WHV+ctDaZUc3QFf1e3rWRtit+C7eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686139886; a=rsa-sha256; cv=none; b=NVEe5tYIOm2/AAioXmR5CL+Eqs77R6IiwfTYfrlHWNVwzo/JdXjIN5zUT4ZHjvfOXFTWDv KE3zUgQ0eCepInC2ybPUDYC4Q40v98H+UI7cE/SJRY/W0+kjLLAwoduwAMLBZkUHZqTonN WMfIEcjeYA0NSvs373jK/5HhhntuuAnTDg1NLB9R/R9kR2qpJjv3gHDJmiLVHcb33UIxIh +/HCB6MMPzOdKbSiGRW4OldeARH82azruxbLUtBl0M0k9qYnbodPleacLzK7jstYCdgQc1 IgebMt2NeQuqtGneOqBPUrokKQFQxJRRTPWcUqk58/frhHnen/+GkCewB9+SNA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QbmR25332z1BLj; Wed, 7 Jun 2023 12:11:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 357CBQjb060822; Wed, 7 Jun 2023 12:11:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 357CBQWu060821; Wed, 7 Jun 2023 12:11:26 GMT (envelope-from git) Date: Wed, 7 Jun 2023 12:11:26 GMT Message-Id: <202306071211.357CBQWu060821@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kirill Ponomarev Subject: git: fe2e9dee1f4a - main - devel/py-looseversion: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: krion X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fe2e9dee1f4a8abcb2bbe7b2d141124310b0b6b7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by krion: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe2e9dee1f4a8abcb2bbe7b2d141124310b0b6b7 commit fe2e9dee1f4a8abcb2bbe7b2d141124310b0b6b7 Author: Kirill Ponomarev AuthorDate: 2023-06-07 12:10:23 +0000 Commit: Kirill Ponomarev CommitDate: 2023-06-07 12:10:23 +0000 devel/py-looseversion: add new port Python extension for comparing version strings. --- devel/Makefile | 1 + devel/py-looseversion/Makefile | 18 ++++++++++++++++++ devel/py-looseversion/distinfo | 3 +++ devel/py-looseversion/pkg-descr | 8 ++++++++ 4 files changed, 30 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e763a51839e0..c6fd4027e3db 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4903,6 +4903,7 @@ SUBDIR += py-loguru SUBDIR += py-logutils SUBDIR += py-logzero + SUBDIR += py-looseversion SUBDIR += py-louie SUBDIR += py-lru-dict SUBDIR += py-lsprotocol diff --git a/devel/py-looseversion/Makefile b/devel/py-looseversion/Makefile new file mode 100644 index 000000000000..a285be089160 --- /dev/null +++ b/devel/py-looseversion/Makefile @@ -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 diff --git a/devel/py-looseversion/distinfo b/devel/py-looseversion/distinfo new file mode 100644 index 000000000000..4320bf3d9c41 --- /dev/null +++ b/devel/py-looseversion/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682157623 +SHA256 (looseversion-1.1.2.tar.gz) = 94d80bdbd0b6d57c11b886147ba1601f7d1531571621b81933b34537cbe469ad +SIZE (looseversion-1.1.2.tar.gz) = 8393 diff --git a/devel/py-looseversion/pkg-descr b/devel/py-looseversion/pkg-descr new file mode 100644 index 000000000000..3b77cbeaeaf6 --- /dev/null +++ b/devel/py-looseversion/pkg-descr @@ -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.