python-pyxattr 0.5.2 added from CCR

This commit is contained in:
Francesco 2014-01-26 16:28:39 +00:00
parent 0c174481d3
commit 19e0f55578

32
python-pyxattr/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
#
# Part of chakra.project.org
#
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=('python2-pyxattr' 'python3-pyxattr')
pkgbase=python-pyxattr
_pkgname=pyxattr
pkgver=0.5.2
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=('9ff2e4218badc201b689b6d254290001')
package_python2-pyxattr() {
depends=('python2')
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}"
}
package_python3-pyxattr() {
depends=('python3')
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}"
}