Package Details: dosage-git 2.18.dev7+g5fa65741a-1

Git Clone URL: (read-only, click to copy)
Package Base: dosage-git
Description: A comic downloader and archiver.
Upstream URL:
Licenses: MIT
Submitter: ktamp
Maintainer: None
Last Packager: ktamp
Votes: 1
Popularity: 0.000000
First Submitted: 2017-05-14 15:31 (UTC)
Last Updated: 2020-02-19 20:52 (UTC)

Latest Comments

XDjackieXD commented on 2023-04-08 12:58 (UTC)

Like this it seems to build and work:

diff --git a/PKGBUILD b/PKGBUILD
index 0304cb2..91f9e84 100644
@@ -5,28 +5,28 @@

 pkgdesc='A comic downloader and archiver.'
 depends=('python' 'python-colorama' 'python-imagesize' 'python-lxml' 'python-requests')
-makedepends=('git' 'python-wheel')
+makedepends=('git' 'python-wheel' 'python-setuptools-scm')

 pkgver() {
   cd $srcdir/$_pkgname
-  python --version
+  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+build() {
+  cd $srcdir/$_pkgname
+  python -m build --wheel --no-isolation

 package() {
   cd $srcdir/$_pkgname
-  python install --root=$pkgdir/ --optimize=1
-  install -d $pkgdir/usr/share/doc/$_pkgname
-  install $pkgdir/usr/share/doc/$_pkgname
-  install COPYING $pkgdir/usr/share/doc/$_pkgname
-  install $pkgdir/usr/share/doc/$_pkgname
-  install doc/* $pkgdir/usr/share/doc/$_pkgname
+  python -m installer --destdir="$pkgdir" dist/*.whl
 } commented on 2022-06-12 20:45 (UTC)

I've hacked it a bit. If you add an additional source for from the last commit before it was removed and add in a line in package() copying to the source folder... it works. It complains about it a bit, but it builds, installs, and runs for me.

"SetuptoolsDeprecationWarning: install is deprecated. Use build and pip and other standards-based tools."

The last commit before it was removed:

redneckdrow commented on 2022-05-08 23:24 (UTC)

Fails to build after removal of the file. Has to do with switching build systems specified in PEP-517/518. I tried reading them, to glean what I should do to fix the problem, but this soars way over my head.

Should I just use pip instead? I hate having to manually run pip to update, but I will barring other options.