python-send2trash: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:03:26 +07:00
parent d26fccf967
commit 64ff0ffcab
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-send2trash'
pkgname=python-send2trash
version=1.5.0
revision=2
archs=noarch
wrksrc="send2trash-${version}"
build_style=python-module
pycompile_module="send2trash"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 library to natively send files to trash"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/hsoft/send2trash"
license="3-clause-BSD"
distfiles="https://github.com/hsoft/send2trash/archive/${version}.tar.gz"
checksum=7cebc0ffc8b6d6e553bce9c6bb915614610ba2dec17c2f0643b1b97251da2a41
post_install() {
vlicense LICENSE
}
python3-send2trash_package() {
archs=noarch
depends="python3"
pycompile_module="send2trash"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-send2trash

View file

@ -0,0 +1,18 @@
# Template file for 'python3-send2trash'
pkgname=python3-send2trash
version=1.5.0
revision=3
wrksrc="send2trash-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 library to natively send files to trash"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/hsoft/send2trash"
distfiles="https://github.com/hsoft/send2trash/archive/${version}.tar.gz"
checksum=7cebc0ffc8b6d6e553bce9c6bb915614610ba2dec17c2f0643b1b97251da2a41
post_install() {
vlicense LICENSE
}