You are not logged in.

#1 2015-12-19 23:40:05

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Can community packages have AUR optdepends?

Hi folks,

Can packages in [community] (or any official packages for that matter) list AUR packages in their $optdepends?

Background
   I've recently been involved in this thread, solving an issue which I believe could be avoided again by listing the required AUR package (freshly uploaded by me) as an optdepend...

optdepends=(... 'python-py3sensors-hg: lm_sensors support' ...)

Before I file a request against glances is this even allowed, or do I have to hope a friendly TU will pick up this simple package and promote it to [community] first?

Slithery.

Last edited by Slithery (2015-12-19 23:48:22)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#2 2015-12-19 23:41:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,469

Re: Can community packages have AUR optdepends?

There's not a consensus on this. Some packages will do it, others won't.

Offline

#3 2015-12-19 23:43:30

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: Can community packages have AUR optdepends?

Optdepends is a grey area. No "official" (including community/) should 'depend' on an AUR package, but as optdepends are, well, optional, there's no real rule against it.

EDIT: I type slow, snaked by Scimmia.

Last edited by WorMzy (2015-12-19 23:44:07)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-12-19 23:46:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Can community packages have AUR optdepends?

Wow, that was super quick smile

I was still finishing my post (I accidently hit Submit instead of Preview) and you folks had already answered.

I'll file a request and see what happens then.

Slithery.

Last edited by Slithery (2015-12-19 23:46:50)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2015-12-19 23:47:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,469

Re: Can community packages have AUR optdepends?

Make sure to do a search first of closed tickets, make sure it hasn't been requested before.

Offline

#6 2015-12-20 00:11:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Can community packages have AUR optdepends?

I am of the opinion that we should not optdepend on an AUR package in the main repors.

Offline

#7 2015-12-20 00:13:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,469

Re: Can community packages have AUR optdepends?

Of course, filing a coherent request is important, too.

Edit: And I warned you to search first...

Last edited by Scimmia (2015-12-20 00:16:02)

Offline

#8 2015-12-20 00:18:13

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Can community packages have AUR optdepends?

Sorry about the noise, I'm on my low-tech phone at the moment and my bug searches weren't showing any results.

Slithery.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2015-12-20 00:21:49

mpan
Member
Registered: 2012-08-01
Posts: 1,188
Website

Re: Can community packages have AUR optdepends?

Listing an AUR package in optdepends provide one advantage: the package may be installed with --asdeps and pacman will see a connection between the two. Management is more convenient this way.

However, it should be clearly stated that the package is AURish.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

Board footer

Powered by FluxBB