Skip to content

Instantly share code, notes, and snippets.

@aikchar
Created January 4, 2018 00:35
Show Gist options
  • Save aikchar/21e27f46598f0bb5986aa4e1a45348ff to your computer and use it in GitHub Desktop.
Save aikchar/21e27f46598f0bb5986aa4e1a45348ff to your computer and use it in GitHub Desktop.
WIP manifest for creating a Python 3.7 snap
name: python37 # you probably want to 'snapcraft register <name>'
version: '3.7' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
python37:
command: bin/python3.7
parts:
python37:
# See 'snapcraft plugins'
plugin: autotools
configflags:
# - --with-pydebug
# - --enable-optimizations
# - --enable-shared
- --with-system-expat
# - --with-system-ffi
source: https://github.com/python/cpython.git
source-tag: v3.7.0a3
stage-packages:
- blt-dev
- debhelper
- dh-autoreconf
- dh-strip-nondeterminism
- docutils-common
- libbluetooth-dev
- libbz2-dev
- libdb-dev
- libdb5.3-dev
- libexpat1-dev
- libffi-dev
- libfile-stripnondeterminism-perl
- libfontconfig1-dev
- libfreetype6-dev
- libgdbm-dev
- libice-dev
- libjs-jquery
- libjs-sphinxdoc
- libjs-underscore
- liblzma-dev
- libmpdec-dev
- libncurses5-dev
- libncursesw5-dev
- libpng-dev
- libpthread-stubs0-dev
- libreadline-dev
- libsm-dev
- libsqlite3-dev
- libssl-dev
- libtinfo-dev
- libx11-dev
- libxau-dev
- libxcb1-dev
- libxdmcp-dev
- libxext-dev
- libxft-dev
- libxrender-dev
- libxss-dev
- libxt-dev
- net-tools
- pkg-config
- po-debconf
- quilt
- sgml-base
- sharutils
- sphinx-common
- tcl-dev
- tcl8.6-dev
- tk-dev
- tk8.6-blt2.5
- tk8.6-dev
- x11proto-core-dev
- x11proto-input-dev
- x11proto-kb-dev
- x11proto-render-dev
- x11proto-scrnsaver-dev
- x11proto-xext-dev
- xml-core
- xorg-sgml-doctools
- xtrans-dev
- xvfb
- zlib1g-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment