diff --git a/cad/Makefile b/cad/Makefile index 9a21e6a96a0e..d912452c14d8 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -1,160 +1,161 @@ COMMENT = CAD tools SUBDIR += PrusaSlicer SUBDIR += abc SUBDIR += admesh SUBDIR += adms SUBDIR += alliance SUBDIR += antimony + SUBDIR += apio SUBDIR += appcsxcad SUBDIR += archimedes SUBDIR += astk-client SUBDIR += astk-serveur SUBDIR += atlc SUBDIR += brlcad SUBDIR += calculix SUBDIR += calculix-ccx SUBDIR += camotics SUBDIR += caneda SUBDIR += cascade SUBDIR += cascade-compiler SUBDIR += chipvault SUBDIR += csxcad SUBDIR += cura SUBDIR += cura-engine SUBDIR += cvc SUBDIR += digital SUBDIR += dinotrace SUBDIR += ecpprog SUBDIR += electric SUBDIR += electric-ng SUBDIR += fasm SUBDIR += fdm_materials SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freecad SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gds3d SUBDIR += gdscpp SUBDIR += gdsreader SUBDIR += gdstk SUBDIR += gdt SUBDIR += geda SUBDIR += gerbv SUBDIR += ghdl SUBDIR += gmsh SUBDIR += gnucap SUBDIR += gplcver SUBDIR += graywolf SUBDIR += gspiceui SUBDIR += gtkwave SUBDIR += horizon-eda SUBDIR += hs-verismith SUBDIR += ifcopenshell SUBDIR += impact SUBDIR += irsim SUBDIR += iverilog SUBDIR += k40-whisperer SUBDIR += kicad SUBDIR += kicad-devel SUBDIR += kicad-doc SUBDIR += kicad-library-footprints SUBDIR += kicad-library-footprints-devel SUBDIR += kicad-library-packages3d SUBDIR += kicad-library-packages3d-devel SUBDIR += kicad-library-symbols SUBDIR += kicad-library-symbols-devel SUBDIR += kicad-library-templates SUBDIR += kicad-library-templates-devel SUBDIR += klayout SUBDIR += ktechlab SUBDIR += ldraw SUBDIR += ldview SUBDIR += leocad SUBDIR += lepton-eda SUBDIR += libgdsii SUBDIR += libopencad SUBDIR += librecad SUBDIR += libredwg SUBDIR += librepcb SUBDIR += librnd SUBDIR += logisim SUBDIR += magic SUBDIR += meshdev SUBDIR += meshlab SUBDIR += netgen SUBDIR += netgen-lvs SUBDIR += ngspice_rework SUBDIR += nvc SUBDIR += opencascade SUBDIR += opencascade740 SUBDIR += openctm SUBDIR += openfpgaloader SUBDIR += openroad SUBDIR += openscad SUBDIR += openscad-devel SUBDIR += opentimer SUBDIR += openvsp SUBDIR += oregano SUBDIR += p5-GDS2 SUBDIR += p5-Verilog-Perl SUBDIR += padring SUBDIR += pcb SUBDIR += pcb-rnd SUBDIR += pdnmesh SUBDIR += py-amaranth SUBDIR += py-cocotb SUBDIR += py-edalize SUBDIR += py-ezdxf SUBDIR += py-gdspy SUBDIR += py-gdstk SUBDIR += py-gmsh SUBDIR += py-lcapy SUBDIR += py-phidl SUBDIR += py-pyfda SUBDIR += py-pygmsh SUBDIR += py-pymtl SUBDIR += py-pyvcd SUBDIR += py-vunit-hdl SUBDIR += python-gdsii SUBDIR += qcad SUBDIR += qcsxcad SUBDIR += qelectrotech SUBDIR += qflow SUBDIR += qmls SUBDIR += qrouter SUBDIR += qspeakers SUBDIR += qucs-s SUBDIR += qucsator SUBDIR += repsnapper SUBDIR += rubygem-gdsii SUBDIR += scotch SUBDIR += silice SUBDIR += solvespace SUBDIR += sp2sp SUBDIR += spice SUBDIR += stepcode SUBDIR += stm32flash SUBDIR += sumo SUBDIR += surelog SUBDIR += svlint SUBDIR += svls SUBDIR += sweethome3d SUBDIR += tkgate SUBDIR += tochnog SUBDIR += uhdm SUBDIR += uranium SUBDIR += verilator SUBDIR += verilog-mode.el SUBDIR += veroroute SUBDIR += veryl SUBDIR += xcircuit SUBDIR += xyce SUBDIR += yosys SUBDIR += yosys-ghdl-plugin SUBDIR += yosys-systemverilog SUBDIR += z88 SUBDIR += zcad .include 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 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.