Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 1.1 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.1 KB

Debian Packaging for xwidgets

This is Debian packaging repository for the xwidgets

Precompiled Debian package for xwidgets can be installed from ppa:ppa-verse/xeus-cling.

Or you can build it yourself:

p=xwidgets b=debian # or another branch

# clone this repo
git clone -b ${b} https://salsa.debian.org/dimitry-ishenko/${p}.git
r=$(cd ${p} && git log -n1 --oneline --no-decorate `git describe --tags --abbrev=0` | cut -d/ -f2)
v=${r%-*}
v=${v#*:}

# download and unpack upstream tarball
f=${p}_${v}.orig.tar.gz
wget https://github.com/jupyter-xeus/xwidgets/archive/refs/tags/${v}.tar.gz -O ${f}

tar -C ${p} --strip-components=1 -xzf ${f}

# create source package
dpkg-source -b ${p}

# build .deb package locally...
sudo pbuilder build ${p}_${r}.dsc

# ...or generate .changes file and upload it to a PPA
# NB: change -sa to -sd when upgrading
(cd ${p} && dpkg-genchanges -S -sa -O../${p}_${r}_amd64.changes)

debsign ${p}_${r}_amd64.changes
dput ppa:... ${p}_${r}_amd64.changes

# share and enjoy