Package Details: tuir 1.29.0-2

Git Clone URL: https://aur.archlinux.org/tuir.git (read-only, click to copy)
Package Base: tuir
Description: Browse Reddit from your terminal
Upstream URL: https://gitlab.com/ajak/tuir/
Licenses: MIT
Submitter: sappel24
Maintainer: twelveeighty
Last Packager: twelveeighty
Votes: 16
Popularity: 0.000000
First Submitted: 2019-09-06 11:57 (UTC)
Last Updated: 2021-01-03 19:39 (UTC)

Latest Comments

koonix commented on 2021-12-18 16:55 (UTC)

Hi

Since this PKGBUILD tracks a specific version and not the latest commit, downloading the tarball would be preferred to cloning it using git, because then it can be downloaded using a better download agent configured in makepkg.conf, and it's more reliable (In my country, it's outright impossible to get the repo using git, due to gitlab's restrictions for some countries).

Here are the required changes:

 license=('MIT')
 depends=('python-beautifulsoup4' 'python-decorator' 'python-kitchen' 'python-six' 'python-requests')
 makedepends=('git' 'python-setuptools')
-source=("git+https://gitlab.com/ajak/tuir.git#tag=v$pkgver")
-md5sums=('SKIP')
+source=("https://gitlab.com/ajak/tuir/-/archive/v$pkgver/tuir-v$pkgver.tar.gz")
+sha256sums=('cd3f494dcc543f5c813a99b06e53f52c261ae99af48caa6ee67546b5163a8fd3')

 build() {
-    cd "$pkgname"
+    cd "tuir-v$pkgver"
     python setup.py build
 }

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

twelveeighty commented on 2021-01-03 19:41 (UTC)

Package adopted. No real changes other than adhering to the Python packaging guidelines.

VannTen commented on 2020-12-25 20:29 (UTC)

Any reason to not use the standard PKGBUILD example presented in https://wiki.archlinux.org/index.php/Python_package_guidelines ? Building in package() seems like it would break some expectations (like the --repackage option in makepkg)

sappel24 commented on 2019-11-29 10:27 (UTC)

git added to latest package version

IncredibleLaser commented on 2019-11-28 16:07 (UTC)

Please add git as a makedepend, it's missing and won't build in a clean chroot.