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

Git Clone URL: https://aur.archlinux.org/dosage-git.git (read-only, click to copy)
Package Base: dosage-git
Description: A comic downloader and archiver.
Upstream URL: https://dosage.rocks
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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,28 +5,28 @@

 _pkgname=dosage
 pkgname=$_pkgname-git
-pkgver=2.18.dev7+g5fa65741a
+pkgver=3.0.r26.g1c99de91a
 pkgrel=1
 pkgdesc='A comic downloader and archiver.'
 arch=('any')
 url='https://dosage.rocks'
 license=('MIT')
 depends=('python' 'python-colorama' 'python-imagesize' 'python-lxml' 'python-requests')
-makedepends=('git' 'python-wheel')
+makedepends=('git' 'python-wheel' 'python-setuptools-scm')
 source=("git+https://github.com/webcomics/$_pkgname.git")
 md5sums=('SKIP')

 pkgver() {
   cd $srcdir/$_pkgname
-  python setup.py --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 setup.py install --root=$pkgdir/ --optimize=1
-  install -d $pkgdir/usr/share/doc/$_pkgname
-  install CHANGELOG.md $pkgdir/usr/share/doc/$_pkgname
-  install COPYING $pkgdir/usr/share/doc/$_pkgname
-  install README.md $pkgdir/usr/share/doc/$_pkgname
-  install doc/* $pkgdir/usr/share/doc/$_pkgname
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }

praetor.zero commented on 2022-06-12 20:45 (UTC)

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

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

The last commit before it was removed: https://raw.githubusercontent.com/webcomics/dosage/18b8a79ab7aa449d5664e586af6994ee4f882bd3/setup.py

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

Fails to build after removal of the setup.py 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.