Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Feature Request
Category Packages
Status Closed
Assigned To Pierre Neidhardt (Ambrevar)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Pierre Neidhardt (Ambrevar)
Tuesday, 27 June 2017, 07:43 GMT
Reason for closing:  Fixed

Loading...