summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Rodríguez2024-02-04 01:29:11 +0100
committerDani Rodríguez2024-02-04 01:29:11 +0100
commit61bbf77413feb15be0a33863c127c46be1baed52 (patch)
tree97aff07b5867e012180809f05269b47a57b75a6b
parentb5ed48cbbb7ab4c73f76332792f4e2352ad90d66 (diff)
downloadaur-61bbf77413feb15be0a33863c127c46be1baed52.tar.gz
build: python-setuptools is actually a dependency
python-setuptools was classified as a makedependency, which implies that it should be possible to remove python-setuptools after building the package and the software would still work. However, this is not the case since python-setuptools provides the pkg_resources package which is later imported by the /usr/bin/tootstream script, and cleaning makedependencies will render tootstream unable to open. This commit moves python-setuptools to the dependents section so that it survives cleaning orphan dependencies on a system if no other package depends on python-setuptools already.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b5e32c587eb1..0dc3e42e8336 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = tootstream-git
pkgdesc = Text interface for the Mastodon social network
pkgver = 0.4.0.r11.gf01781f
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/magicalraccoon/tootstream
arch = any
license = MIT
- makedepends = python-setuptools
makedepends = git
depends = python-mastodon
depends = python-humanize
@@ -13,6 +12,7 @@ pkgbase = tootstream-git
depends = python-colored
depends = python-emoji
depends = python-pytimeparse
+ depends = python-setuptools
provides = tootstream
conflicts = tootstream
source = git+https://github.com/magicalraccoon/tootstream
diff --git a/PKGBUILD b/PKGBUILD
index 1878fc18205b..adf35f844ce2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=tootstream
pkgname=tootstream-git
pkgver=0.4.0.r11.gf01781f
-pkgrel=1
+pkgrel=2
pkgdesc='Text interface for the Mastodon social network'
provides=(tootstream)
conflicts=(tootstream)
@@ -17,8 +17,9 @@ depends=(python-mastodon
python-click
python-colored
python-emoji
- python-pytimeparse)
-makedepends=(python-setuptools git)
+ python-pytimeparse
+ python-setuptools)
+makedepends=(git)
source=("git+https://github.com/magicalraccoon/tootstream")
sha512sums=('SKIP')