diff --git a/alarm/python2-msgpack-pure/PKGBUILD b/alarm/python2-msgpack-pure/PKGBUILD new file mode 100644 index 000000000..8976d938b --- /dev/null +++ b/alarm/python2-msgpack-pure/PKGBUILD @@ -0,0 +1,21 @@ +#Contributor: Jason Plum + +pkgname=python2-msgpack-pure +pkgver=0.1.3 +pkgrel=1 +pkgdesc="Python module for MessagePack serialization/deserialization library" +arch=('i686' 'x86_64') +url="http://msgpack.org/" +license=('mit') +depends=('python2') +provides=('python2-msgpack') +conflicts=() + +source="http://pypi.python.org/packages/source/m/msgpack-pure/msgpack-pure-${pkgver}.tar.gz" + +md5sums="4fc0fbb334db82b2079141034ccd91ae" + +build() { + cd ${srcdir}/msgpack-pure-${pkgver} + python2 setup.py install --root=${pkgdir}/ --optimize=1 +} diff --git a/aur/salt/PKGBUILD b/aur/salt/PKGBUILD index 00dafd683..c04da0ff8 100644 --- a/aur/salt/PKGBUILD +++ b/aur/salt/PKGBUILD @@ -16,7 +16,7 @@ depends=('python2' 'pycrypto' 'python2-psutil' 'python2-jinja') -# 'python2-msgpack') + 'python2-msgpack-pure') backup=('etc/salt/master.template' 'etc/salt/minion.template') @@ -25,7 +25,6 @@ makedepends=() optdepends=() options=() conflicts=('salt-git') -install=salt.install source=("https://github.com/downloads/saltstack/salt/${pkgname}-${pkgver}.tar.gz" "salt-master" diff --git a/aur/salt/salt.install b/aur/salt/salt.install deleted file mode 100644 index 23903d8eb..000000000 --- a/aur/salt/salt.install +++ /dev/null @@ -1,12 +0,0 @@ -# there is a problem with python2-msgpack on ARM. -# msgpack_pure works but we'll need to just make sure it upgrades. -post_install() { - pip2 install msgpack_pure --upgrade -} - -post_upgrade() { - post_install -} - - -