aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-01-06 08:03:02 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-01-06 08:06:40 +0000
commit88ab25bebeb1debfd71c764e47722bc1575d88c9 (patch)
tree4e8fa727532dca5b34704fc6e2b98b19218580ec
parente7b86e162f70f498a64afcb4f926b019331c1d0c (diff)
downloadports-88ab25bebeb1debfd71c764e47722bc1575d88c9.tar.gz
ports-88ab25bebeb1debfd71c764e47722bc1575d88c9.zip
cad/apio: New port: Open source ecosystem for open FPGA boards
-rw-r--r--cad/Makefile1
-rw-r--r--cad/apio/Makefile28
-rw-r--r--cad/apio/distinfo3
-rw-r--r--cad/apio/files/patch-pyproject.toml22
-rw-r--r--cad/apio/pkg-descr3
5 files changed, 57 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index 9a21e6a96a0e..d912452c14d8 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -6,6 +6,7 @@
SUBDIR += adms
SUBDIR += alliance
SUBDIR += antimony
+ SUBDIR += apio
SUBDIR += appcsxcad
SUBDIR += archimedes
SUBDIR += astk-client
diff --git a/cad/apio/Makefile b/cad/apio/Makefile
new file mode 100644
index 000000000000..3161c8e72939
--- /dev/null
+++ b/cad/apio/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= apio
+DISTVERSION= 0.8.4
+CATEGORIES= cad python
+MASTER_SITES= PYPI
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Open source ecosystem for open FPGA boards
+WWW= https://github.com/FPGAwars/apio/wiki
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.1.3:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyserial>=3.5:comms/py-pyserial@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.2:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}semantic-version>=2.9.0:devel/py-semantic-version@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2:devel/py-flit-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0.35.0<1:devel/py-wheel@${PY_FLAVOR} \
+ ${PY_DEPENDS}
+RUN_DEPENDS= ${PY_DEPENDS}
+
+USES= python scons
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/cad/apio/distinfo b/cad/apio/distinfo
new file mode 100644
index 000000000000..d509c62ce0d3
--- /dev/null
+++ b/cad/apio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704526040
+SHA256 (apio-0.8.4.tar.gz) = baa8edbdf933ff098178418214b19dfce0cad233ecbe5fc73b896bb7434b5d8f
+SIZE (apio-0.8.4.tar.gz) = 1150556
diff --git a/cad/apio/files/patch-pyproject.toml b/cad/apio/files/patch-pyproject.toml
new file mode 100644
index 000000000000..dd1fcc192ab4
--- /dev/null
+++ b/cad/apio/files/patch-pyproject.toml
@@ -0,0 +1,22 @@
+--- pyproject.toml.orig 2024-01-06 07:32:13 UTC
++++ pyproject.toml
+@@ -16,13 +16,13 @@ requires = [
+ description-file = "README.md"
+ requires-python = ">=3.7"
+ requires = [
+- 'click==8.1.3',
+- 'semantic_version==2.9.0',
+- 'requests==2.28.2',
+- 'colorama==0.4.6',
+- 'pyserial==3.5',
++ 'click>=8.1.3',
++ 'semantic_version>=2.9.0',
++ 'requests>=2.28.2',
++ 'colorama>0',
++ 'pyserial>=3.5',
+ 'wheel>=0.35.0,<1',
+- 'scons==4.2.0'
++ 'scons>=4.2.0'
+ ]
+
+ [tool.flit.sdist]
diff --git a/cad/apio/pkg-descr b/cad/apio/pkg-descr
new file mode 100644
index 000000000000..f3a97ee1eb82
--- /dev/null
+++ b/cad/apio/pkg-descr
@@ -0,0 +1,3 @@
+Apio is a multiplatform toolbox with static pre-built packages to verify,
+synthesize, simulate and upload your verilog designs into the supported FPGA
+boards.