From nobody Fri Nov 22 06:43:14 2024 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 4Xvlst5mQlz5dTPl; Fri, 22 Nov 2024 06:43:14 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xvlst4SZdz4L0V; Fri, 22 Nov 2024 06:43:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732257794; 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=IaxIX9qRb1oFsf9cDMVlewh9E5HaTauBxnuYnoeI7lI=; b=cwCsM/L0SAF7XS6Gd3gpuicEGlqvrDgT9hgkLwnC7yn2hkxylQIeZO1scaXFBPI4bYknyZ h7iCCTDFpZb/ST+twLFSeXiAEfxCQGc958I3/9XvWIWvnWWuuv0RCVfTmQpJURYM+2QU0K Tvf55YbVZpBZBUjY4PvB/JlkW89O40sqbnyJDxD5DSr7Iw5/DUFcIIvPFnTwaV2Aosmiv0 ndA/u7mGdNM40yO+Mv7H2QJTqQAgR8vunieQi3+P57or7WVYcCpA81nI9TYAgyJTuPWOLc H/F6UU+Jf4Pe67BWKyHnr31DvL9/aCninRNVfqQATkWvaCvxJ18gDMkeoPQfiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732257794; 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=IaxIX9qRb1oFsf9cDMVlewh9E5HaTauBxnuYnoeI7lI=; b=fH02WKStv4QRnbK/mqqrDZoU8e3L6H2VV+MAdjjuSZ73bfsLpy0TwQj4R59qEeag2zpqRA pEUaojMj/WgRsDs7l8NvaF5REgEOiDQtQm0Zh9e2ZE3oGNUuaMKIvvwaPaLVVnxR38tiBI jcZiGBpgqttXc1cENooYGaFFbA5Z2aDp1MEVaeKMWQGFXz8uwS2f8Wa81w47n1+9EmS+c+ dpeRjMhck+hrJzaN5teAr8wgE3JnBBEjBtQpdxauZd5T1jVfilrAee8JC//5ejR+OFuyCu B2gV8f9qTe9bQKX8vbyzUNfPx68tFa1FJGTIHwTj+SU7G09HwXTDrYvv3lEpTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732257794; a=rsa-sha256; cv=none; b=tqo0U0Z8CV3dBuyKswiYxJU82WK+mnDx8pVSblEHEgxu9hg7fzd7UqSglSaiKGBFjWuiap /z33ZANdcirKX+eLNM5qewDifcJUaJLni+CkB0EtPXTrSSxsrtu+wz+WKqyoz5Ej2sWMZf 4a0bzNSKsYzQX+M7V1JFuvpm+YbhM3Gs2kPnU+26GiXlhQsxcAuPiMPwvpYxe54BgW1y1P GRAZC2cQmUOsKggwTh3Dd+lbGp9sSysDQ31esvOFV4o9Dci6nMGP+6v+9DqJ7ytr2IMhAx 79yBfZY/wDQv429AtGxfLOVV/x0NIsjVOPsqiNIUZTxu7/hoDeHOxrRFGiuE4w== 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 4Xvlst43pNzDxq; Fri, 22 Nov 2024 06:43:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AM6hEpP045689; Fri, 22 Nov 2024 06:43:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AM6hEJO045686; Fri, 22 Nov 2024 06:43:14 GMT (envelope-from git) Date: Fri, 22 Nov 2024 06:43:14 GMT Message-Id: <202411220643.4AM6hEJO045686@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: 24298a939e92 - main - archivers/py-py7zr: 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 24298a939e924449c2ae88749a9c6a152b9badd9 Auto-Submitted: auto-generated The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=24298a939e924449c2ae88749a9c6a152b9badd9 commit 24298a939e924449c2ae88749a9c6a152b9badd9 Author: Matthew Wener AuthorDate: 2024-11-21 21:15:20 +0000 Commit: Dries Michiels CommitDate: 2024-11-22 06:43:02 +0000 archivers/py-py7zr: add new port Pure python 7-zip library. PR: 282838 --- archivers/Makefile | 1 + archivers/py-py7zr/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ archivers/py-py7zr/distinfo | 3 +++ archivers/py-py7zr/pkg-descr | 3 +++ 4 files changed, 51 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 72f206ed39ca..b30c5e9fa620 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -204,6 +204,7 @@ SUBDIR += py-lzstring SUBDIR += py-multivolumefile SUBDIR += py-patool + SUBDIR += py-py7zr SUBDIR += py-pybcj SUBDIR += py-pyminizip SUBDIR += py-pyppmd diff --git a/archivers/py-py7zr/Makefile b/archivers/py-py7zr/Makefile new file mode 100644 index 000000000000..7b55d2cded8b --- /dev/null +++ b/archivers/py-py7zr/Makefile @@ -0,0 +1,44 @@ +PORTNAME= py7zr +PORTVERSION= 0.22.0 +CATEGORIES= archivers python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@wener.org +COMMENT= Pure python 7-zip library +WWW= https://py7zr.readthedocs.io/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}brotlicffi>=0:archivers/py-brotlicffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}inflate64>=0:archivers/py-inflate64@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}multivolumefile>=0:archivers/py-multivolumefile@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pybcj>=0:archivers/py-pybcj@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodomex>=0:security/py-pycryptodomex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyppmd>=0:archivers/py-pyppmd@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyzstd>=0:archivers/py-pyzstd@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}texttable>=0:textproc/py-texttable@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-remotedata>=0:devel/py-pytest-remotedata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 pytest + +TEST_ENV= ${MAKE_ENV} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v + +.include diff --git a/archivers/py-py7zr/distinfo b/archivers/py-py7zr/distinfo new file mode 100644 index 000000000000..310db97ebf71 --- /dev/null +++ b/archivers/py-py7zr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (py7zr-0.22.0.tar.gz) = c6c7aea5913535184003b73938490f9a4d8418598e533f9ca991d3b8e45a139e +SIZE (py7zr-0.22.0.tar.gz) = 4992926 diff --git a/archivers/py-py7zr/pkg-descr b/archivers/py-py7zr/pkg-descr new file mode 100644 index 000000000000..43c9766990c8 --- /dev/null +++ b/archivers/py-py7zr/pkg-descr @@ -0,0 +1,3 @@ +py7zr is a library and utility to support 7zip archive +compression, decompression, encryption and decryption +written by Python programming language.