[opensuse-buildservice] Fail to package eplist (Python)
Hello! While i am build eplist i show the following message : "unresolvable nothing provides python-requests, nothing provides >= 0.9.1, nothing provides python-BeautifulSoup, nothing provides >= 3.2.0" . As i know this dependency is provided by other repository ( *i am building) These dependencies are placed at the following repository: http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_... My question is how can i add this dependency on the spec file in order to be build correctly. Thanks!!! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 26 April 2012 06:05, Παναγιώτης Πιτέλος pitepana-at-gmail.com wrote:
While i am build eplist i show the following message : "unresolvable nothing provides python-requests, ... As i know this dependency is provided by other repository (*i am building)
...
My question is how can i add this dependency on the spec file in order to be build correctly.
If OBS complains that the dependency is unresolvable your spec file already contains the dependency. You need to tell OBS where to find it. This is not done in the spec file of the package, after all the same spec file might be used in different build environments. To add an extra source of packages edit the metaconfig of your OBS project (Advanced -- Meta in the Web UI). By default there is only one <path .../> per repository, but you can add another one. Something like that: <project name="home:linux_salonica"> <title>linux_salonica's Home Project</title> <description></description> <person userid="linux_salonica" role="maintainer"/> <person userid="linux_salonica" role="bugowner"/> <repository name="openSUSE_12.1"> <path project="devel:languages:python" repository="openSUSE_12.1"/> <path project="openSUSE:12.1" repository="standard"/> <arch>i586</arch> </repository> </project> (Just guessing the values, but it should give you the idea even if some value is not correct. I'm not sure whether the order can a make difference if different versions of the same package appear in both paths.) I'm not sure where this is documented. I remember struggling a long time when I had this issue the first time. Regards, Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gXuder@xxxxxxxxxxx (bot check: correct 1 obvious spelling error) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Στις 26/04/2012 12:17 μμ, ο/η Uwe Geuder έγραψε:
On 26 April 2012 06:05, Παναγιώτης Πιτέλος pitepana-at-gmail.com wrote:
While i am build eplist i show the following message : "unresolvable nothing provides python-requests, ... As i know this dependency is provided by other repository (*i am building)
...
My question is how can i add this dependency on the spec file in order to be build correctly. If OBS complains that the dependency is unresolvable your spec file already contains the dependency. You need to tell OBS where to find it. This is not done in the spec file of the package, after all the same spec file might be used in different build environments.
To add an extra source of packages edit the metaconfig of your OBS project (Advanced -- Meta in the Web UI). By default there is only one <path .../> per repository, but you can add another one.
Something like that:
<project name="home:linux_salonica"> <title>linux_salonica's Home Project</title> <description></description> <person userid="linux_salonica" role="maintainer"/> <person userid="linux_salonica" role="bugowner"/> <repository name="openSUSE_12.1"> <path project="devel:languages:python" repository="openSUSE_12.1"/> <path project="openSUSE:12.1" repository="standard"/> <arch>i586</arch> </repository> </project>
(Just guessing the values, but it should give you the idea even if some value is not correct. I'm not sure whether the order can a make difference if different versions of the same package appear in both paths.)
I'm not sure where this is documented. I remember struggling a long time when I had this issue the first time.
Regards,
Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gXuder@xxxxxxxxxxx (bot check: correct 1 obvious spelling error) Thanks for your help Not it works. Although while building eplist i show this error message:
{ WARNING: requests.packages.urllib3.connectionpool: Retrying (0 attempts remain) after connection broken by 'gaierror (-2,' Name or service not known ')': / api / animetitles.dat.gz ERROR: root: Error connecting to http://anidb.net/api/animetitles.dat.gz [+] Creating resource path [+] Path = / home / abuild / .eplist / resources [+] Updating the AniDb database file Traceback (most recent call last): File "setup.py", line 4, in <module> from eplist import __ author__ as author File "/ home/abuild/rpmbuild/BUILD/eplist-0.1.6/eplist/__init__.py", line 16, in <module> utils.init_resource_folder () File "/ home/abuild/rpmbuild/BUILD/eplist-0.1.6/eplist/utils.py", line 550, in init_resource_folder update_db () File "/ home/abuild/rpmbuild/BUILD/eplist-0.1.6/eplist/utils.py", line 583, in update_db _download () File "/ home/abuild/rpmbuild/BUILD/eplist-0.1.6/eplist/utils.py", line 579, in _download file_.write (url.content) AttributeError: 'NoneType' object has no attribute 'content' error: Bad exit status from / var/tmp/rpm-tmp.I5uRYN (% build) } thank you;-) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Uwe Geuder
-
Παναγιώτης Πιτέλος