mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
net-p2p/py-pulsar-client: Apache Pulsar Python client library
This commit is contained in:
parent
cd3a73cda9
commit
0da102b1c7
4 changed files with 49 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
|||
SUBDIR += py-ed2k-tools
|
||||
SUBDIR += py-libtorrent-rasterbar
|
||||
SUBDIR += py-nicotine-plus
|
||||
SUBDIR += py-pulsar-client
|
||||
SUBDIR += py-transmission-rpc
|
||||
SUBDIR += py-tremc
|
||||
SUBDIR += pyln-bolt7
|
||||
|
|
41
net-p2p/py-pulsar-client/Makefile
Normal file
41
net-p2p/py-pulsar-client/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
PORTNAME= pulsar-client
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.5.0
|
||||
CATEGORIES= net-p2p python # machine-learning
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Apache Pulsar Python client library
|
||||
WWW= https://pulsar.apache.org/
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= pybind11>0:devel/pybind11 \
|
||||
gmake:devel/gmake
|
||||
LIB_DEPENDS= libpulsar.so:net-p2p/pulsar-client-cpp
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastavro>=1.9.2:textproc/py-fastavro@${PY_FLAVOR}
|
||||
|
||||
USES= cmake:indirect python
|
||||
USE_PYTHON= flavors
|
||||
USE_PYTHON= distutils autoplist pytest
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= apache
|
||||
GH_PROJECT= pulsar-client-python
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
pre-build: # build lib_pulse.so using cmake/gmake
|
||||
@cd ${CONFIGURE_WRKSRC} && \
|
||||
${SETENVI} ${WRK_ENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_SOURCE_PATH} && \
|
||||
${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GMAKE}
|
||||
|
||||
post-install: # strip binary
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pulsar${PYTHON_EXT_SUFFIX}.so
|
||||
|
||||
# tests: many tests fail with Pulsar error: TimeOut, Connection refused because Pulsar needs to be running
|
||||
# tests: 107 failed, 52 passed, 1 warning in 2947.08s (0:49:07)
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-p2p/py-pulsar-client/distinfo
Normal file
3
net-p2p/py-pulsar-client/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1728006662
|
||||
SHA256 (apache-pulsar-client-python-v3.5.0_GH0.tar.gz) = 72126355be58eb53701f7a0e4652ea0a04386df449b6b34686f001bcbde04f65
|
||||
SIZE (apache-pulsar-client-python-v3.5.0_GH0.tar.gz) = 105327
|
4
net-p2p/py-pulsar-client/pkg-descr
Normal file
4
net-p2p/py-pulsar-client/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
py-pulsar-client is a Pulsar Python client library.
|
||||
|
||||
Pulsar Python clients support a variety of Pulsar features to enable building
|
||||
applications connecting to your Pulsar cluster.
|
Loading…
Add table
Reference in a new issue