Package Details: pyload-ng 0.5.0b3.dev78-1

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: None
Last Packager: micwoj92
Votes: 6
Popularity: 0.34
First Submitted: 2021-12-14 00:56 (UTC)
Last Updated: 2024-01-21 22:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

JustinSB commented on 2023-07-21 19:50 (UTC)

importlib.metadata.PackageNotFoundError: No package metadata was found for pyload-ng pyload.service: Main process exited, code=exited, status=1/FAILURE

All latest updates installed, pyload-ng crashes on load. What do I need to do to fix it please? I tried reverting python-cachelib but it made no difference.

micwoj92 commented on 2023-05-16 22:43 (UTC) (edited on 2023-05-16 22:44 (UTC) by micwoj92)

This issue has been fixed now with python-flask-caching 2.0.2-3. There is now another one with python-flask-babel pkg_resources.DistributionNotFound: The 'pytz<2023.0,>=2022.7' distribution was not found and is required by Flask-Babel but it is fixed in latest version (3.1.0) so just need to wait for when it lands in repos.

micwoj92 commented on 2023-05-16 18:17 (UTC) (edited on 2023-05-16 18:17 (UTC) by micwoj92)

I didn't have time to look at this until now, this is because Arch ships uncompatible versions of cachelib, flask-caching https://bugs.archlinux.org/task/78533

micwoj92 commented on 2023-05-01 17:04 (UTC)

Hello, are you sure that it is cachelib? I can't see any breaking changes in that release in changelog https://cachelib.readthedocs.io/en/stable/changes

I hope that flask will be updated soon after python 3.11 lands in repos, until then I think I will withhold from updating this.

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.