-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnswatch: add package #4381
dnswatch: add package #4381
Conversation
packages/dnswatch/PKGBUILD
Outdated
makedepends=('git' 'python-setuptools' 'python-pip') | ||
source=("$pkgname::git+https://github.com/HalilDeniz/$pkgname.git") | ||
sha512sums=('SKIP') | ||
install="$pkgname.install" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the dependencies are very easy https://github.com/HalilDeniz/DNSWatch/blob/main/requirements.txt, why did you choose a standalone package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I gave priority to PKGBUILD Python Standalone template due to the usage of venv. If you think the other PKGBUILD Python template is better, I will change it. Let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rule is like that:
- few dependencies, all dependencies already packaged => python-PEP517, python-setuptools or generic-jointscript
- few dependencies, one or two are not packaged yet => same and you package the dependencies with python-lib-setuptools or python-lib-PEP517
- very large number of dependencies => python-standalone
- dependencies that change very often => python-standalone
- requiring outdated version of dependencies, not compatible with the packaged dependencies => python-standalone
It's simple: no venv unless necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed sir
Co-authored-by: Alexandre ZANNI <[email protected]>
thanks guys |
Close #4003