rendaw / decpac Goto Github PK
View Code? Open in Web Editor NEWArch Linux declarative package management (main project: https://gitlab.com/rendaw/decpac)
License: MIT License
Arch Linux declarative package management (main project: https://gitlab.com/rendaw/decpac)
License: MIT License
Not actually an issue but i didn't see any mention of this. I had been thinking of building something similar because of Nix but this looks pretty good.
Install doesn't work via pypi:
% pip install decpac
Collecting decpac
Downloading https://files.pythonhosted.org/packages/e4/3a/e15c89aa726606f87253cee2ce48d56b9c6e41f43801c1e8ced20e6603fa/decpac-0.0.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-g46wtfv2/decpac/setup.py", line 15, in <module>
long_description=open('readme.md', 'r').read(),
FileNotFoundError: [Errno 2] No such file or directory: 'readme.md'
Original support thread: https://forum.artixlinux.org/index.php/topic,1586.0.html
pacman -Q has an exit status of 1 when no results are returned, and this causes decpac to crash here. There are several other places in the script where this might occur.
Can the code be made more resilient to this?
Requires ARCH dep python-pyalpm
Doing pkgbuilder.utils.info(['aur_package_name'])[0].depends
lists dependencies.
It looks like it can also do downloading, building and installation.
The rough workflow would be:
Packages marked as (ruby)
or (gem)
or something like that should be installed as Arch packages via gem2arch.
Packages marked (npm)
or (node)
or similar should be installed with npm2arch.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.