aur/salt & alarm/python2-msgpack-pure : proper handling of msgpack-pure as tracked package

This commit is contained in:
WarheadsSE 2012-06-21 18:59:40 -04:00
parent e8075accc1
commit 7539afa994
3 changed files with 22 additions and 14 deletions

View file

@ -0,0 +1,21 @@
#Contributor: Jason Plum <jplum@archlinuxarm.org>
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
}

View file

@ -16,7 +16,7 @@ depends=('python2'
'pycrypto' 'pycrypto'
'python2-psutil' 'python2-psutil'
'python2-jinja') 'python2-jinja')
# 'python2-msgpack') 'python2-msgpack-pure')
backup=('etc/salt/master.template' backup=('etc/salt/master.template'
'etc/salt/minion.template') 'etc/salt/minion.template')
@ -25,7 +25,6 @@ makedepends=()
optdepends=() optdepends=()
options=() options=()
conflicts=('salt-git') conflicts=('salt-git')
install=salt.install
source=("https://github.com/downloads/saltstack/salt/${pkgname}-${pkgver}.tar.gz" source=("https://github.com/downloads/saltstack/salt/${pkgname}-${pkgver}.tar.gz"
"salt-master" "salt-master"

View file

@ -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
}