Package Details: snapcraft 2.35-1

Git Clone URL: https://aur.archlinux.org/snapcraft.git (read-only)
Package Base: snapcraft
Description: Build Ubuntu snappy packages.
Upstream URL: http://snapcraft.io
Licenses: GPL
Submitter: ImNtReal
Maintainer: ImNtReal
Last Packager: ImNtReal
Votes: 4
Popularity: 0.331052
First Submitted: 2016-04-21 17:01
Last Updated: 2017-11-17 13:28

Latest Comments

apol commented on 2017-09-25 19:05

Building natively won't possibly work properly on arch. I suggest using LXD by default.

Please include this patch:
diff --git a/PKGBUILD b/PKGBUILD
index 255a4b3..bcb76c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,12 @@ pkgdesc="Build Ubuntu snappy packages."
arch=('any')
url="http://snapcraft.io"
license=('GPL')
-depends=('python-apt' 'python-requests-oauthlib' 'python-ssoclient' 'python-progressbar'
+depends=('lxd' 'python-pysha3' 'python-click' 'python-requests-unixsocket'
+ 'python-requests-oauthlib' 'python-ssoclient' 'python-progressbar'
'python-requests-toolbelt' 'python-petname' 'python-jsonschema' 'python-yaml'
'python-magic' 'python-docopt' 'python-tabulate' 'python-pymacaroons-pynacl'
'python-simplejson' 'python-libarchive-c' 'python-debian')
makedepends=('python-setuptools')
-optdepends=('lxd')
options=(!emptydirs)
source=("https://github.com/ubuntu-core/snapcraft/archive/${pkgver}.tar.gz")
sha256sums=('ea481c24cfcf2a6dae791f53bd13ced373db7902eab9484c4ce77b0134e08d1d')

NicoHood commented on 2017-07-23 21:12

python-progressbar(2) is now in [community]. Please test the new packages in [community] (still in testing):
https://www.archlinux.org/packages/community/any/python-utils/
https://www.archlinux.org/packages/community-testing/any/python-progressbar/

Everything should be compatible:
https://github.com/WoLpH/python-progressbar/issues/131#issuecomment-317281954

5chdn commented on 2017-04-25 11:51

The following packages are dependencies: extra/python-xdg community/python-libarchive-c aur/python-debian

Could you add them to the PKGBUILD? I wasnt able to run snapcraft without them.

dmp1ce commented on 2016-09-05 17:51

Is there any documentation on use Snapcraft on Arch? I have it installed but I cannot get my snap package to build. I keep getting the errors:

Could not find a required package in 'build-packages': "The cache has no package named 'name-of-my-required-package'"

dmp1ce commented on 2016-09-05 17:46

I tried installing snapcraft again on another computer using pacaur instead of yaourt. I had a better experience. Snapcraft installed with no problems. Although, I did need to manually install the following packages in order for snapcraft to build my snap.

python-tabulate
python-pymacaroons-pynacl
python-simplejson

dmp1ce commented on 2016-08-28 12:06

I was also missing the following python modules. These should probably be dependencies.

python-tabulate
python-pymacaroons-pynacl

python-pymacarrons-pynacl I also had difficulty installing. I had to install the python-pynacl separately.

Additionally, I think the snapcraft version is behind. 2.15 is out. https://github.com/snapcore/snapcraft/releases

dmp1ce commented on 2016-08-28 11:54

I had problems installing the dependencies python-apt and python-petname.

The python-apt maintainers need to update the package version because upstream changed versions.

The python-petname is a split package. When yaourt tries to install it, yaourt tries to install both python3 and python2 versions, which are in conflict. I had to manually download the PKGBUILD, build the PKGBUILD and specify the python3 version to install with pacman -U.

Ralf_Mardorf commented on 2016-07-11 19:40

Hi,

the latest release is 2.12.1. It was released a few hours ago. However, 2.11 was released on Jun 10 and 2.12 was released 2 weeks ago. The current Ubuntu LTS comes with 2.12 [1]. Perhaps the AUR PKGBUILD should be upgraded to 2.12.1. I already build 2.12 without issues [2], by just editing version and release and skipping the checksum. I didn't try to build 2.12.1.

[1]
$ sudo systemd-nspawn -q dpkg -l snapcraft snapcraft-examples snapd|grep ii
ii snapcraft 2.12 all easily craft snaps
ii snapcraft-examples 2.12 all examples and demos for snapcraft
ii snapd 2.0.10 amd64 Tool to interact with Ubuntu Core Snappy.

[2]
$ pacman -Q snapcraft snapd
snapcraft 2.12-1
snapd 2.0.10-1

Since it's the AUR, I don't flag the package out-of-date.

Regards,
Ralf

pierrechevalier commented on 2016-06-22 20:49

Also missing on my system:
python-jsonschema

sarum9in commented on 2016-06-19 12:34

Not to be full list of missing dependencies, but the following had to be installed on my system in order to make it work. Please check other dependencies and update the list accordingly.
python-yaml
python-magic
python-docopt

All comments