python-dyndnsc icon indicating copy to clipboard operation
python-dyndnsc copied to clipboard

create linux distribution packages

Open ThomasWaldmann opened this issue 10 years ago • 6 comments

as getting stuff into linux dists takes a while (esp. until it ends up in a stable release), we should go for this early.

ThomasWaldmann avatar Dec 20 '14 23:12 ThomasWaldmann

I personally use and administer debian/ubuntu systems, but did not build or submit packages yet.

But I need them, so I would volunteer except somebody more experienced can and would do it.

ThomasWaldmann avatar Dec 21 '14 00:12 ThomasWaldmann

Any ideas where to start? I would love to see automated building for this, such that we can avoid building on a personal machine.

infothrill avatar Dec 21 '14 13:12 infothrill

i just have tried to build a .deb, but ran into some issues:

a) it seems that the script "dyndnsc" needs to have another name than the package "dyndnsc", because they are copied into same parent directory.

b) i run ubuntu 14.04, but as ubuntu usually inherits packages from ubuntu, it would be better to get it into debian first. but i don't run a debian sid system. some packages we need (netifaces) are not new enough on stable debian/ubuntu.

c) on python2, there are even more dependency issues (ndg-httpsclient not available), but they recommend building application packages for python 3 anyway.

ThomasWaldmann avatar Dec 22 '14 23:12 ThomasWaldmann

I agree with trying for debian rather than yet another ubuntu ppa. I have not gathered experience building .debs and certainly not getting them included. So the current status from me is: try to put something working in place under the 'packaging/' directory and experiment by using vagrant for virtualization. What I just committed doesn't work yet. Feel free to hack and slice.

infothrill avatar Feb 11 '15 22:02 infothrill

Automated builds: https://build.opensuse.org/ sounds promising?

Sorry, zero experience packaging so can't help more.

cben avatar Feb 12 '15 21:02 cben

Building a python3 only debian package using stdeb works out of the box. However, the installed package will quickly fail because debian wheezy (7.x) packages an older version of the requests library (0.12.1).

infothrill avatar Mar 20 '15 15:03 infothrill