From nobody Thu Nov 21 20:19:36 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 4XvV2K3kqPz5dX85; Thu, 21 Nov 2024 20:19:37 +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 4XvV2K1NSfz4nXv; Thu, 21 Nov 2024 20:19:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732220377; 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=R1FvbJwYUFB2dE/teGhFgJOYWsbsFaK4iDu+yxkBDsg=; b=GRqJgrcPRA4R9NwfoxFo3Mno5KHyD4JbHzeAWCeMB+t+GWUF0NH6jryJVjLT9t5Hz5I2Jt y8d04r2VDE0Nh22CMnmjHNwK1JCgarPIE05XX2Ovwo+jE/GfrnI218SaSeiBE2ZO7q03Mj MzI3NBwWMP+iaw18BQFOS3KDYhKytUMbT6Z0D4CODueclbyKX6BBRiQkNuSHY2KGiINFyx RxiDM3RAb8vjf7P7OAeivp/7gD4h8ncp7yRXQmE9T9xn3R1P8G1BUY6EjeD2DNtQ/OjDEq gJqw/51PKn035uF/YodCOW8k+XLf1Zm4ba13vpMp2aTaK7+2FMwoCYvEMUsiXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732220377; 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=R1FvbJwYUFB2dE/teGhFgJOYWsbsFaK4iDu+yxkBDsg=; b=KFGsq2y9QI76uAbctt2Cudhq8DdEquJx8TB+yCodJkU1hc2Av4K0kU66izCccVpZS4FpK1 lWmdNWb2K8GlazaNuIznK5pTTmlRpbeBcyH7xgEirGqz03BzJecxCgYLpiq0yMoAE5z4yN FOoTHcX8RFbUsSNpXoR6+wSwic25E335sPbADO1VQVM0LClUz2XhndFudfYbBYVGpt8HQV l821D2KM0zvMrdBpxSOOW2GRQl1PITyNYQOz7XkOSZ1oywnz6x5hVdn3rccy6HTUETEd6O HUHxdWR5n8rIDgV9S1kB9DHDfQQ0EYD6FH6vzCWYZdErJ4DaqHsMc9U+2FU7Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732220377; a=rsa-sha256; cv=none; b=jk48gQ39gldH0nsb2x0EkvG14S1gh64rZ2YocMlwn7/+Iojwzwe0ni7WYQO1zsl4u3Gz3D JD+cH4JDO032pqcbjiDKworkANYC3JZ2LnS04SXKpahJZd2G2CZ3qCMC/stmB7+Majteh3 nMAwZr0NlSsGd3i0QFIGlmSQwxrplXRl3TGK/SKD5AdbNk/XdJ9qOjG2uDt1URf0Zre0Es 5w3Vijfpe9YkyIDoacymFnyMP5Tkz9sfK9v6w9wXk/JPgRwHKlYzpiu869jjyR8ZpukYP2 67Le3RqthE5hArupMUG7CPRe/Fwhqwdc9c8PRUfjFRIBON6NLzPkP5nwB3U2zQ== 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 4XvV2K0sLBzsbX; Thu, 21 Nov 2024 20:19:37 +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 4ALKJavS063773; Thu, 21 Nov 2024 20:19:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ALKJafi063770; Thu, 21 Nov 2024 20:19:36 GMT (envelope-from git) Date: Thu, 21 Nov 2024 20:19:36 GMT Message-Id: <202411212019.4ALKJafi063770@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: 113d03a2ff0f - main - archivers/py-pyppmd: 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: 113d03a2ff0f4215847e836f07e57900dad7cb86 Auto-Submitted: auto-generated The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=113d03a2ff0f4215847e836f07e57900dad7cb86 commit 113d03a2ff0f4215847e836f07e57900dad7cb86 Author: Matthew Wener AuthorDate: 2024-11-21 20:09:08 +0000 Commit: Dries Michiels CommitDate: 2024-11-21 20:11:30 +0000 archivers/py-pyppmd: add new port PPMd compression and decompression library. PR: 282837 --- archivers/Makefile | 1 + archivers/py-pyppmd/Makefile | 31 +++++++++++++++++++++++++++++++ archivers/py-pyppmd/distinfo | 3 +++ archivers/py-pyppmd/pkg-descr | 5 +++++ 4 files changed, 40 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 9dc3c5ed3c0f..91b502e82364 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -203,6 +203,7 @@ SUBDIR += py-lzstring SUBDIR += py-patool SUBDIR += py-pyminizip + SUBDIR += py-pyppmd SUBDIR += py-python-lhafile SUBDIR += py-python-lzo SUBDIR += py-python-rpm-packaging diff --git a/archivers/py-pyppmd/Makefile b/archivers/py-pyppmd/Makefile new file mode 100644 index 000000000000..8b0ec5c784c5 --- /dev/null +++ b/archivers/py-pyppmd/Makefile @@ -0,0 +1,31 @@ +PORTNAME= pyppmd +PORTVERSION= 1.1.0 +CATEGORIES= archivers python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@wener.org +COMMENT= PPMd compression/decompression library +WWW= https://pyppmd.readthedocs.io/en/latest/ + +LICENSE= LGPL21 +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} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${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-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 pytest + +TEST_ENV= ${MAKE_ENV} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v + +.include diff --git a/archivers/py-pyppmd/distinfo b/archivers/py-pyppmd/distinfo new file mode 100644 index 000000000000..8d9d33d98e24 --- /dev/null +++ b/archivers/py-pyppmd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (pyppmd-1.1.0.tar.gz) = 1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973 +SIZE (pyppmd-1.1.0.tar.gz) = 1348949 diff --git a/archivers/py-pyppmd/pkg-descr b/archivers/py-pyppmd/pkg-descr new file mode 100644 index 000000000000..cd35014a6741 --- /dev/null +++ b/archivers/py-pyppmd/pkg-descr @@ -0,0 +1,5 @@ +pyppmd module provides classes and functions for compressing +and decompressing text data, using PPM (Prediction by partial +matching) compression algorithm which has several variations +of implementations. PPMd is the implementation by Dmitry +Shkarin. PyPPMD use Igor Pavlov's range coder introduced in 7-zip.