Stefan Hagen <[email protected]> writes: > Hi Lewis, > > Lewis ingraham wrote: >> Also I for some reason cannot get the program to launch when it is built >> and installed. It comes up as "command not found" when I type in bpytop. >> >> Project I am currently trying to port properly: >> https://github.com/aristocratos/bpytop > > There is an easier way to get started with python ports. We have > portgen(1) which can give you a head start with perl, python, ruby > and go ports. > > Try "portgen bpytop". It will generate as much of a port it can in > /usr/ports/mystuff/pypi. Then examine what it did and fix it up. > > The port you're trying to create is not using the usual setup.py build > script. Instead it has a Makefile, which copies files around. Portgen > is not prepared for that and it needs fixing. > > I added NO_BUILD=Yes to the port system from trying to invoke setup.py. > Next I added a do-install: target with will be execute as "make install" > command. > > The (quickly) fixed port is attached. It works here. > > Best regards, > Stefan
Port looks fine and works, even thought it's a bit too "flashy" for my taste :) The distinfo wasn't right, it complained that "Size does not match for bpytop-1.0.67.tar.gz" and had to makesum again. pypi releases are mutable? % make makesum ===> Checking files for bpytop-1.0.67 >> Fetch https://pypi.io/packages/source/b/bpytop/bpytop-1.0.67.tar.gz bpytop-1.0.67.tar.gz 100% |*****************************| 77732 00:00 --- old +++ new @@ -1,2 +1,2 @@ -SHA256 (bpytop-1.0.67.tar.gz) = 4/Ame9QKWAFrWsge1kJPHI2VOzOlN1RrIt0aKwGwepc= -SIZE (bpytop-1.0.67.tar.gz) = 628491 +SHA256 (bpytop-1.0.67.tar.gz) = izOONif6bpkeg2vuYe84mI9qejo33AXHV6krpDePlbs= +SIZE (bpytop-1.0.67.tar.gz) = 77732
