mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
50d1b70610
The clnrest plugin is already installed but it depends on a bunch of Python packages. Add an option to net-p2p/c-lightning to install and depend on those packages. Further, 3 of those packages were not in the FreeBSD ports. Add them: * net-p2p/pyln-bolt7 Lightning Network BOLT7 implementation * net-p2p/pyln-client Python client library for lightningd (net-p2p/c-lightning) * net-p2p/pyln-proto Lightning Network protocol implementation To enable the plugin, add clnrest-port= clnrest-protocol= clnrest-host= to /usr/local/etc/lightningd-bitcoin.conf, see https://docs.corelightning.org/docs/rest Differential Revision: https://reviews.freebsd.org/D43863
22 lines
554 B
Makefile
22 lines
554 B
Makefile
PORTNAME= pyln-proto
|
|
PORTVERSION= 23.11
|
|
CATEGORIES= net-p2p python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
|
|
|
MAINTAINER= vd@FreeBSD.org
|
|
COMMENT= Lightning Network protocol implementation
|
|
WWW= https://github.com/ElementsProject/lightning/tree/master/contrib/pyln-proto
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|