Mailinglist Archive: opensuse-packaging (76 mails)

< Previous Next >
Re: [opensuse-packaging] Python package tries to download dependencies during build
  • From: Thomas Schraitle <toms@xxxxxxx>
  • Date: Sat, 05 May 2018 12:12:00 +0200
  • Message-id: <3432490.7RuJSPOnLp@localhost>
Hi Adrian,

Am Freitag, 4. Mai 2018, 17:18:23 CEST schrieb John Paul Adrian Glaubitz:
[...]
Do you have a link to your specific OBS project or spec file? Otherwise
it's hard to tell. ;)

I'm currently checking it in to:
https://build.opensuse.org/project/show/home:glaubitz:branches:devel:langu
ages:python
but I currently have a slow connection to OBS. It should show up there in a
few minutes.

Thanks, that was helpful.

The most important issues I've found:

* First, the tarball doesn't contain any tests at all. So it's pretty
useless to run tox without tests. ;)
* As sshtunnel is installed as a executable script under /usr/bin, you
should take into account the different Python versions. As such, I've
added alternatives. See the files in /usr/bin/.

You can find all my changes in the following request:

https://build.opensuse.org/request/show/604491

It builds for all architectures except those that have blocked packages. Of
course, you can improve the spec file and introduce a variable, run spec-
cleaner etc. but that's up to you. :)

Hope this helps.

--
Gruß/Regards,
Thomas Schraitle

----------------------------------------------------------------------
SUSE LINUX GmbH (o<
Maxfeldstrasse 5 /\\ Documentation Specialist
90409 Nuernberg, Germany _\_v http://www.suse.com
http://lizards.opensuse.org/author/thomas-schraitle/
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton,
HRB 21284 (AG Nürnberg)


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >