Ticket #2098 (closed enhancement: fixed)
[with patch; with positive review] rudimentary debian package build support
| Reported by: | tabbott | Owned by: | tabbott |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.10.2 |
| Component: | debian-package | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Add spkg-build-debian, and hook it in to sage-spkg.
Attachments
Change History
comment:1 Changed 5 years ago by tabbott
sage-build-debian will probably eventually want to look something like this. I'm not applying it as a patch because it'll break the previous patchset:
DEBIAN_REPO would be set to point to a temporary Debian repository that is in the approx sources.list for SAGE, so that each package has its dependencies uploaded to the test repo when it comes time to build it for Debian.
#!/bin/sh -x echo "Starting Debian build"
| exit 0 # exit cleanly for packages we're using the Debian versions of |
mv dist/debian src/ sage-dasource src/
| exit 1 |
mkdir -p $SAGE_ROOT/deb DEBIAN_ARCH=$(echo lenny-amd64 | cut -f 2 -d-) reprepro -b $DEBIAN_REPO --ignore=wrongdistribution include *_${DEBIAN_ARCH}.changes mv *.dsc *.changes *.build *.deb *.tar.gz *.diff.gz /deb echo "Debian Build complete"
comment:3 Changed 5 years ago by mabshoff
- Summary changed from [with patch; needs review] rudimentary debian package build support to [with patch; with positive review] rudimentary debian package build support
Patches look good to me. I sat next to Tim as he wrote most of the code, so maybe somebody else wants to take another look. In the end we might need to generalize the code a little more for other packaging systems.
Cheers,
Michael
comment:4 Changed 5 years ago by mabshoff
- Status changed from new to closed
- Resolution set to fixed
Merged debian1.patch-debian5.patch in Sage 2.10.2.alpha0
Changed 5 years ago by mabshoff
-
attachment
Sage-2.10.2.alpha2-fix-rudimentatry-Debian-support.patch
added
This patch is needed to make the non-Debianized build work again
