FS#54568 - [trash-cli] using python 3 instead of python2
Attached to Project:
Community Packages
Opened by Niels Robin-Aubertin (nrobinaubertin) - Saturday, 24 June 2017, 12:44 GMT
Last edited by Pierre Neidhardt (Ambrevar) - Tuesday, 27 June 2017, 07:43 GMT
Opened by Niels Robin-Aubertin (nrobinaubertin) - Saturday, 24 June 2017, 12:44 GMT
Last edited by Pierre Neidhardt (Ambrevar) - Tuesday, 27 June 2017, 07:43 GMT
|
Details
Description:
trash-cli is working with python 2 and python 3. We should use python 3 as it is the default in archlinux. Additional info: * version 0.17.1.14 Proposed PKGBUILD: # Maintainer: Pierre Neidhardt <ambrevar@gmail.com> # Contributor: Eli Schwartz <eschwartz93@gmail.com> # Contributor: Renato Garcia <fgarcia.renato@gmail.com> pkgname=trash-cli pkgver=0.17.1.14 pkgrel=2 pkgdesc="Command line trashcan (recycle bin) interface" arch=("any") url="https://github.com/andreafrancia/$pkgname" license=("GPL") depends=("python") makedepends=("python-setuptools") source=("$pkgname-$pkgver.tar.gz::https://github.com/andreafrancia/$pkgname/archive/$pkgver.tar.gz") sha256sums=('8fdd20e5e9c55ea4e24677e602a06a94a93f1155f9970c55b25dede5e037b974') build() { cd "$srcdir/$pkgname-$pkgver" python setup.py build } package(){ cd "$srcdir/$pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 } |
This task depends upon