Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian package for nexpy #49

Open
picca opened this issue Feb 13, 2015 · 10 comments
Open

Debian package for nexpy #49

picca opened this issue Feb 13, 2015 · 10 comments

Comments

@picca
Copy link

picca commented Feb 13, 2015

Hello,

it would be nice to considere providing a Debian package for nexpy.

Cheers

Frederic

@jasonbrudvik
Copy link

Yes please!

@jkotan
Copy link
Contributor

jkotan commented Apr 25, 2018

Hi,

Since I've not found any debian packages I've created them for our internal DESY use.

If someone would like to have it is enough to add

deb [arch=amd64,i386] http://repos.pni-hdri.de/apt/debian stretch main

into /etc/apt/sources.list.d/, e.g.

sudo su
wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -
cd /etc/apt/sources.list.d
wget http://repos.pni-hdri.de/stretch-pni-hdri.list

and

apt-get update
apt-get install nexpy

for python2 or

apt-get update
apt-get install nexpy3

for python3.

I've created the following stretch packages:

nexpy, nexpy3, python3-nexpy, python-nexpy, nexusformat, python-nexusformat, python3-nexusformat, ansi2html, python-ansi2html, python3-ansi2html

I would be happy if someone else could managing the debian packages.

@rayosborn
Copy link
Contributor

Thanks for the information. I don't have experience with Debian packages, but I know there are others in the NeXus community who do, so I'll ask if it is possible to maintain it and download it from the NeXus servers.

@jkotan
Copy link
Contributor

jkotan commented Jul 25, 2018

I've just created the above packages for ubuntu 18.04 (bionic) and put them into the HDRI repo. To install them, similarly like for jessie and stretch, one has to add the HDRI repo to the apt sources, i.e.:

sudo su
wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -
cd /etc/apt/sources.list.d

cat <<EOT >> bionic-pni-hdri.list
deb http://repos.pni-hdri.de/apt/debian bionic main
deb-src http://repos.pni-hdri.de/apt/debian bionic main
EOT

apt-get update 
apt-get install nexpy nexpy3

I've also upgraded the packages for stretch and jessie adding a patch with a workaround from #159. So, nexpy from these packages should not hang on close anymore.

@picca
Copy link
Author

picca commented Jul 25, 2018

Do you mind if I upload this package into Debian with your has maintainer ?

@jkotan
Copy link
Contributor

jkotan commented Jul 25, 2018

Hi Fred,

Great. If you can do it would be nice.

Best regards,
Jan

@picca
Copy link
Author

picca commented Jul 25, 2018

I can do this for most of the pni packages if you want.
I can not garantie to do this now but, if you are ok, I can start this process.
Or we agreed on a bunch of packages which can have an interest

@jkotan
Copy link
Contributor

jkotan commented Jul 25, 2018

Yes, It would be great.

@picca
Copy link
Author

picca commented Jul 25, 2018

Can we discuss about this on the debian-science mailing list ?, In order to do review of the packages ?
Is it possible to use salsa.debian.org, in order to maintain the Debian packages ?

@jkotan
Copy link
Contributor

jkotan commented Jul 25, 2018

I've just registered into debian-science@lists.debian.org and salsa.debian.org. Yes. We can discuss details on the mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants