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

Commit

Permalink
Initial packaging of 3.6.1-2
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskuehl committed Jun 18, 2017
1 parent 77a8445 commit cda232b
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*.buildinfo
/*.changes
/*.deb
/*.dsc
/*.tar.xz
/python3.6-*
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SHELL := /bin/bash

VERSION := 3.6.1-2
WORKDIR := python3.6-$(shell cut -d- -f1 <<< '$(VERSION)')

.PHONY: builddeb
builddeb:
dget -x https://mirrors.ocf.berkeley.edu/debian/pool/main/p/python3.6/python3.6_$(VERSION).dsc
cd $(WORKDIR) \
&& DEBFULLNAME='Chris Kuehl' [email protected] \
dch --local ~deb9u --distribution stretch-backports 'Backported for stretch.' \
&& dpkg-buildpackage -us -uc -sa
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Python 3.6 Debian stretch backport
========

Unofficial Python 3.6 backports for Debian stretch.


## Usage

If you just want to grab pre-built Debian packages, you can find them in the
[Releases][releases] tab on GitHub. Download the ones you want, then run `sudo
dpkg -i *.deb` to install them.


## Building from source

To build from source, clone this repo and run `make builddeb` on a machine
running Debian stretch. It follows [roughly these backporting
instructions][how-to-backport] in order to build a proper backport of Python
3.6 on stretch.

Building from source is relatively fast and is recommended for anyone who has a
healthy distrust of pre-built binaries from a random internet stranger.


[how-to-backport]: https://www.ocf.berkeley.edu/docs/staff/procedures/backporting-packages/
[releases]: https://github.com/chriskuehl/python3.6-debian-stretch/releases

0 comments on commit cda232b

Please sign in to comment.