Package Details: pyload-ng 0.5.0b3.dev87-3

Git Clone URL: https://aur.archlinux.org/pyload-ng.git (read-only, click to copy)
Package Base: pyload-ng
Description: The free and open-source Download Manager written in pure Python
Upstream URL: https://pyload.net/
Licenses: AGPL3
Submitter: micwoj92
Maintainer: matthewq337 (micwoj92)
Last Packager: micwoj92
Votes: 8
Popularity: 0.166858
First Submitted: 2021-12-14 00:56 (UTC)
Last Updated: 2024-11-03 11:52 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Funkin-Stoopid commented on 2023-05-01 16:19 (UTC)

Hello python-cachelib 0.10.2-1 breaks pyload-ng If we upgrade pyload-ng to 0.5.0b3.dev68, It fixes but a new dependency break it again. It needs python-flask 2.3.0 which is not available in repositories. So we have to downgrade to python-cachelib 0.9.0-1.

micwoj92 commented on 2023-03-06 22:11 (UTC) (edited on 2023-03-06 22:13 (UTC) by micwoj92)

Hello

how about creating a package using the develop branch of git?

Feel free to, but I have no plans to do this. Basically now (until first stable version will be released) this package is "git" package as every new pypi release is created on every commit, but on main branch. There used to be old pyload-git package but it was old python2 version and not updated. I submited deletion request for it and then uploaded this package shortly after.

I almost did a pull request for a bug already fixed in develop. I guess this program could benefit a lot from fast bug fixes.

If you have some commits/prs that you want me to add then feel free to post in comments, I can add these until new commits on main.

Also you should add provides/conflicts lines to your PKGBUILD.

Provides/conflicts on "pyload-ng" (itself) are pointless. I don't think I will add provides/conflicts on pyload. Do you know any program in AUR that has depends on pyload? In that case I could add it.

I modified your PKGBUILD to provide a pyload-ng-git-develop package as an example. But it's flawed (missing git as build requirement, not computing pkgver from git, and more?!).

Also name should be pyload-ng-develop-git. It is bad, because upstream doesn't add tags for this pyload-ng, so at best you could just use commit revisions (which I am not a big fan of personally) https://github.com/pyload/pyload/tags

Edit. you could also technically get pkgver from https://github.com/pyload/pyload/blob/main/VERSION and then append git rev or something, but also not ideal in my opinion.

b2ag commented on 2023-03-06 21:04 (UTC)

Hi,

how about creating a package using the develop branch of git? I almost did a pull request for a bug already fixed in develop. I guess this program could benefit a lot from fast bug fixes. Also you should add provides/conflicts lines to your PKGBUILD.

I modified your PKGBUILD to provide a pyload-ng-git-develop package as an example. But it's flawed (missing git as build requirement, not computing pkgver from git, and more?!).

diff --git a/PKGBUILD b/PKGBUILD
index 55e4cdc..4f06bd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,13 @@
 # Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
-pkgname='pyload-ng'
+pkgname='pyload-ng-git-develop'
 pkgver=0.5.0b3.dev53
 pkgrel=1
 pkgdesc="The free and open-source Download Manager written in pure Python"
 url="https://pyload.net/"
 license=('AGPL3')
 arch=('any')
+provides=('pyload' 'pyload-ng')
+conflicts=('pyload' 'pyload-ng')
 depends=('python-semver' 'python-pycurl' 'python-js2py' 'python-filetype' 'python-cryptography' 'python-bitmath'
          'python-flask-themes2' 'python-flask-session' 'python-flask-compress' 'python-flask-caching' 'python-flask-babel'
          'python-cheroot' 'python-setuptools' 'python-certifi')
@@ -14,21 +16,21 @@ optdepends=('caffeine: For AntiStandby plugin'
             'python-slixmpp: for XMPP plugin'
             'python-pillow: for some CAPTCHA stuff'
             'python-beaker: for some accounts') # <-- honestly I have no idea for which accounts but I saw there were some imports that needed beaker modules in code.
-source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-$pkgver.tar.gz")
-sha256sums=('6054a2c94ad4448505b9d907640a635d3daaba8b999c4071825eb3e61be1d99f')
+source=("git+https://github.com/pyload/pyload.git#branch=develop")
+sha256sums=('SKIP')

 prepare() {
-  cd "$srcdir/${pkgname}-${pkgver}"
+  cd "$srcdir/pyload"
   # Allow higher library versions
   sed -e 's/~=/>=/g' -i setup.cfg
 }

 build() {
-  cd "$srcdir/${pkgname}-${pkgver}"
+  cd "$srcdir/pyload"
   python setup.py build
 }

 package() {
-  cd "$srcdir/${pkgname}-${pkgver}/"
+  cd "$srcdir/pyload"
   python setup.py install --skip-build --root="$pkgdir/" --optimize=1
 }

Br, b2ag

micwoj92 commented on 2022-10-08 00:18 (UTC)

Whoops, mistake on my side, fixed.

void09 commented on 2022-10-07 22:10 (UTC)

I needed to install python-setuptools before I could run pyload. Maybe it's not just a make dependency ? I got an "ImportError: No module named pkg_resources" without it installed.

micwoj92 commented on 2022-08-14 23:13 (UTC)

Fixed.

equil commented on 2022-08-14 16:24 (UTC)

The Package was workin fine until my last System Update :( I am unable to start now getting this message: DistributionNotFound: The 'Flask-Caching~=1.9'

micwoj92 commented on 2022-06-16 22:58 (UTC)

Sorry, I don't think it's needed. I would definitely add this if this was buried somewhere deep in documentation, but it's in readme.

jose1711 commented on 2022-06-16 21:28 (UTC)

could you please add .install file that would display the default login credentials? (pyload:pyload).

micwoj92 commented on 2021-12-22 20:25 (UTC)

Opened pr on your repo.