All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Andrus <marek.andrus@wp.pl>
To: openembedded-devel@lists.openembedded.org
Subject: selecting a range of package versions that my package depends on
Date: Tue, 09 Sep 2014 15:14:49 +0200	[thread overview]
Message-ID: <540EFD49.8070202@wp.pl> (raw)

Hi,

I used to work with portage and expected possibility to specify what 
particular version (or range of versions) of package my package depends 
on. I found sth like:
DEPENDS += "libgcrypt (>= 1.4.2)"
in gnutls.inc file. Unfortunately it doesn't work for me.
I found only one way to choose version of package: to add:
PREFERRED_VERSION_package = "versionstring"
to some global conf file like local.conf. In addition this method 
doesn't work with ranges (like >=1.15) or I don't know how...

I'm package maintainer so I don't want to add anything to files like 
local.conf, but I'd like to specify exact dependencies.

1. Is there any other way to choose what version of package should be 
chosen?
2. Is there any way to specify range of preferred versions?
3. Is there any way to specify what version (or range) my package 
depends on (not touching global conf files)?

Best Regards,
Marek


                 reply	other threads:[~2014-09-09 13:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=540EFD49.8070202@wp.pl \
    --to=marek.andrus@wp.pl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.