Date: Monday, May 4, 2020 @ 01:13:35 Author: lfleischer Revision: 624648
Split python2-pyxattr from python-pyxattr Added: python2-pyxattr/ python2-pyxattr/repos/ python2-pyxattr/trunk/ python2-pyxattr/trunk/PKGBUILD ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Added: python2-pyxattr/trunk/PKGBUILD =================================================================== --- python2-pyxattr/trunk/PKGBUILD (rev 0) +++ python2-pyxattr/trunk/PKGBUILD 2020-05-04 01:13:35 UTC (rev 624648) @@ -0,0 +1,37 @@ +# Maintainer: Lukas Fleischer <[email protected]> +# Contributor: Jon Bergli Heier <[email protected]> + +pkgname=python2-pyxattr +_pkgname=pyxattr +# Releases 0.7.1 and later are no longer compatible with Python 2. +# TODO: Remove this package as soon as bup is compatible with Python 3. +pkgver=0.7.0 +pkgrel=1 +pkgdesc='A python extension module that allows you to manipulate the extended attributes.' +arch=('x86_64') +url='https://pyxattr.k1024.org/' +license=('GPL') +makedepends=('python2' 'python2-setuptools') +depends=('python2') +provides=('pyxattr') +conflicts=('pyxattr') +replaces=('pyxattr') +source=("https://pyxattr.k1024.org/downloads/pyxattr-$pkgver.tar.gz"{,.asc}) +md5sums=('f3341e703489452afaf68b336be5d32c' + 'SKIP') +validpgpkeys=('CB94E3AA3B1755D61EBB19A5F66E3E419F84F4DE') # Iustin Pop <[email protected]> + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py test +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" +}
