View | Details | Raw Unified | Return to bug 282881
Collapse All | Expand All

(-)b/archivers/Makefile (+1 lines)
Lines 207-212 Link Here
207
    SUBDIR += py-python-rpm-packaging
207
    SUBDIR += py-python-rpm-packaging
208
    SUBDIR += py-python-snappy
208
    SUBDIR += py-python-snappy
209
    SUBDIR += py-pyunpack
209
    SUBDIR += py-pyunpack
210
    SUBDIR += py-pyzstd
210
    SUBDIR += py-rarfile
211
    SUBDIR += py-rarfile
211
    SUBDIR += py-rcssmin
212
    SUBDIR += py-rcssmin
212
    SUBDIR += py-rjsmin
213
    SUBDIR += py-rjsmin
(-)b/archivers/py-pyzstd/Makefile (+29 lines)
Added Link Here
1
PORTNAME=	pyzstd
2
PORTVERSION=	0.16.2
3
CATEGORIES=	archivers python
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	matthew@wener.org
8
COMMENT=	Python bindings to Zstandard (zstd) compression library
9
WWW=		https://github.com/Rogdham/pyzstd
10
11
LICENSE=	BSD3CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
BUILD_DEPENDS=	${PY_SETUPTOOLS} \
15
		${PYTHON_PKGNAMEPREFIX}wheel>=:devel/py-wheel@${PY_FLAVOR}
16
17
USES=		python
18
USE_PYTHON=	autoplist pep517 pytest
19
20
TEST_ENV=	${MAKE_ENV} \
21
		PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
22
23
post-install:
24
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyzstd/c/_zstd.cpython-311.so
25
26
do-test:
27
	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v
28
29
.include <bsd.port.mk>
(-)b/archivers/py-pyzstd/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1724809518
2
SHA256 (pyzstd-0.16.2.tar.gz) = 179c1a2ea1565abf09c5f2fd72f9ce7c54b2764cf7369e05c0bfd8f1f67f63d2
3
SIZE (pyzstd-0.16.2.tar.gz) = 789505
(-)b/archivers/py-pyzstd/files/patch-pyproject.toml (+10 lines)
Added Link Here
1
--- pyproject.toml.orig	2024-11-21 04:16:04 UTC
2
+++ pyproject.toml
3
@@ -1,6 +1,6 @@
4
 [build-system]
5
 # setuptools 64+ support --build-option
6
 # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows
7
-requires = ["setuptools>=64,<74"]
8
+requires = ["setuptools"]
9
 backend-path = ["build_script"]
10
 build-backend = "pyzstd_pep517"
(-)b/archivers/py-pyzstd/pkg-descr (+3 lines)
Added Link Here
1
Pyzstd module provides classes and functions for compressing
2
and decompressing data, using Facebook's Zstandard (or zstd
3
as short name) algorithm.

Return to bug 282881