desktop/python-pyxattr/PKGBUILD
AlmAck 08a66c4024 python3 rebuild for 3.5
new pkg added to fullfill checkdepends
new order file python3.order
2016-03-16 22:36:13 +01:00

32 lines
894 B
Bash

# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgbase=python-pyxattr
pkgname=('python2-pyxattr' 'python3-pyxattr')
_pkgname=pyxattr
pkgver=0.5.5
pkgrel=1
pkgdesc='A python extension module that allows you to manipulate the extended attributes.'
arch=('x86_64')
url='http://pyxattr.k1024.org/'
license=('GPL')
makedepends=('python2' 'python3' 'python2-setuptools' 'python3-setuptools')
source=("http://pyxattr.k1024.org/downloads/pyxattr-$pkgver.tar.gz")
md5sums=('6470f61c83ddec84dcc4b358eba518a4')
package_python2-pyxattr() {
depends=('python2')
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}"
}
package_python3-pyxattr() {
depends=('python3')
replaces=('python-pyxattr')
conflicts=('python-pyxattr')
provides=('python-pyxattr')
cd "${srcdir}/${_pkgname}-${pkgver}"
python3 setup.py install --root="${pkgdir}"
}