infothrill / python-dyndnsc

dynamic dns (dyndns) update client with support for multiple protocols
https://pypi.org/project/dyndnsc/
MIT License
38 stars 17 forks source link

create linux distribution packages #38

Open ThomasWaldmann opened 9 years ago

ThomasWaldmann commented 9 years ago

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 commented 9 years ago

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.

infothrill commented 9 years ago

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

ThomasWaldmann commented 9 years ago

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.

infothrill commented 9 years ago

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.

cben commented 9 years ago

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

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

infothrill commented 9 years ago

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).