diff options
author | Dani RodrÃguez | 2024-02-04 01:29:11 +0100 |
---|---|---|
committer | Dani RodrÃguez | 2024-02-04 01:29:11 +0100 |
commit | 61bbf77413feb15be0a33863c127c46be1baed52 (patch) | |
tree | 97aff07b5867e012180809f05269b47a57b75a6b | |
parent | b5ed48cbbb7ab4c73f76332792f4e2352ad90d66 (diff) | |
download | aur-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-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -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 @@ -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') |