diff --git a/finance/py-chiapos/Makefile b/finance/py-chiapos/Makefile new file mode 100644 index 0000000..531c287 --- /dev/null +++ b/finance/py-chiapos/Makefile @@ -0,0 +1,21 @@ +PORTNAME= chiapos +DISTVERSION= 1.0.3 +CATEGORIES= finance python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= risner@stdio.com +COMMENT= Chia proof of space plotting, proving, and verifying (wraps C++) + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pybind11:devel/py-pybind11@${PY_FLAVOR} + +USES= python:3.6+ + +USE_PYTHON= autoplist concurrent distutils + +post-test: + ${WRKSRC}/build/temp.freebsd*/RunTests +.include diff --git a/finance/py-chiapos/distinfo b/finance/py-chiapos/distinfo new file mode 100644 index 0000000..99c1298 --- /dev/null +++ b/finance/py-chiapos/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622512112 +SHA256 (chiapos-1.0.3.tar.gz) = d987b481a3acbff1e0d77eb713af8d99ecec2bd11c2c465528a5078a433686bd +SIZE (chiapos-1.0.3.tar.gz) = 1291513 diff --git a/finance/py-chiapos/files/patch-setup.py b/finance/py-chiapos/files/patch-setup.py new file mode 100644 index 0000000..0184cc5 --- /dev/null +++ b/finance/py-chiapos/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2021-06-01 01:50:59 UTC ++++ setup.py +@@ -202,6 +202,7 @@ if platform.system() == "Windows": + else: + setup( + name="chiapos", ++ version="1.0.3", + author="Mariano Sorgente", + author_email="mariano@chia.net", + description="Chia proof of space plotting, proving, and verifying (wraps C++)", diff --git a/finance/py-chiapos/pkg-descr b/finance/py-chiapos/pkg-descr new file mode 100644 index 0000000..e1f07a9 --- /dev/null +++ b/finance/py-chiapos/pkg-descr @@ -0,0 +1,5 @@ +Chia's proof of space is written in C++. Includes a plotter, prover, and +verifier. It exclusively runs on 64 bit architectures. Read the Proof of +Space document to learn about what proof of space is and how it works. + +WWW: https://pypi.org/project/chiapos/