mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
aur/salt & alarm/python2-msgpack-pure : proper handling of msgpack-pure as tracked package
This commit is contained in:
parent
e8075accc1
commit
7539afa994
3 changed files with 22 additions and 14 deletions
21
alarm/python2-msgpack-pure/PKGBUILD
Normal file
21
alarm/python2-msgpack-pure/PKGBUILD
Normal 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
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue