pi-apps icon indicating copy to clipboard operation
pi-apps copied to clipboard

Need a deb for nala

Open Botspot opened this issue 3 years ago • 4 comments

What is the name of the app?

Nala apt package manager

(Optional) Where is the app hosted?

Run these commands to get started:

git clone https://gitlab.com/volian/nala
cd nala
python3 ./setup.py build
sudo python3 ./setup.py install

About the app

I need somebody to make a debfile for this, so that it can be uninstalled.

Upload file

No response

Confirmations

  • [X] I have confirmed that this app is legal and not piracy.
  • [X] I have confirmed that this app has never been discussed in https://github.com/Botspot/pi-apps/issues and https://github.com/Botspot/pi-apps/pulls, and it is not in the Pi Apps app list.
  • [X] I have confirmed that this app can run on Raspberry Pi.

Botspot avatar Feb 12 '22 19:02 Botspot

fyi, the repo itself has all the info needed to make a proper deb

https://gitlab.com/volian/nala/-/tree/main/debian

also it might be worthwhile to contact the maintainers (who are very active on this new project) and just ask them to make a universal deb, its all python after all

theofficialgman avatar Feb 12 '22 21:02 theofficialgman

Some things I have found: https://stackoverflow.com/questions/13323107/how-to-make-a-deb-file-from-python https://wiki.debian.org/Python/LibraryStyleGuide?action=show&redirect=Python%2FPackaging https://askubuntu.com/questions/399552/how-to-create-a-deb-package-for-a-python3-script

everypizza1 avatar Feb 13 '22 14:02 everypizza1

Since there seems to be all the necessary files to create a deb (the software is already "debianized"), you should be able to create one with the following commands (not tested yet)

sudo apt install devscripts equivs -y
git clone https://gitlab.com/volian/nala && cd nala
sudo mk-build-deps -i debian/control
sudo rm -f ./nala-build-deps*.deb
dpkg-buildpackage -us -uc -nc

ryanfortner avatar Feb 13 '22 17:02 ryanfortner

see gitlab issue for necessary changes upstream: https://gitlab.com/volian/nala/-/issues/19

theofficialgman avatar Feb 13 '22 21:02 theofficialgman